Simple Machines Community Forum

Customizing SMF => Tips and Tricks => Thema gestartet von: gevv in Juni 12, 2012, 04:57:52 NACHMITTAGS

Titel: PM Alert
Beitrag von: gevv in Juni 12, 2012, 04:57:52 NACHMITTAGS
PM Alert using css add pm button image


1: add code theme  index.css

#button_pm  strong
{
    background: #ff0000 url(../images/blink.gif) no-repeat ;
}


2: add theme image folder "blink.gif"

before;



after;





Titel: Re: PM Alert
Beitrag von: Realinfo in August 18, 2012, 07:55:13 VORMITTAG
It works good.......... thanks I guess we can use it in many more ways............
Titel: Re: PM Alert
Beitrag von: Blackburn in August 19, 2012, 07:19:39 NACHMITTAGS
thank you ;)
Titel: Re: PM Alert
Beitrag von: vlajce992 in August 21, 2012, 08:01:12 NACHMITTAGS
This works for every theme?
Titel: Re: PM Alert
Beitrag von: XHIBIT911 in August 24, 2012, 12:10:54 VORMITTAG
No..i used the methos and the gid does not flash red and green on PortaMx
Titel: Re: PM Alert
Beitrag von: dominioboys in März 26, 2020, 08:57:56 NACHMITTAGS
work still in 2.0.17 thanks ;)
Titel: Re: PM Alert
Beitrag von: Antechinus in März 29, 2020, 03:35:59 VORMITTAG
You can do this without a gif these days.

https://www.simplemachines.org/community/index.php?topic=570510.msg4037743#msg4037743

That uses a gif, but only for fun. You can do flashing text and background without any images. IOW,  the colours work without the bananas. :)