Customizing SMF > SMF Coding Discussion

How do you make a pop up banner

(1/3) > >>

Homie:
Hi guys what i need help with is how do you add a POP UP Banner ON your SMF Forum when you enter it.

Thanks

Regards
Homie

Oldiesmann:
Just use the window.open function described here and use the "onload" attribute of the body tag, like so:


--- Code: ---<body onload="window.open('banner.htm','windowName','features');">
--- End code ---

Homie:
Thanks ill give it a try when i go home  :) tonight

B:
I hate popups... no offense. :) Just something to keep in mind...I know I shy away from sites that use popups.

B

Daniel D.:
Why don't you use Opera or Firefox/Mozilla ? They are even better than IE...

Navigation

[0] Message Index

[#] Next page

Go to full version