Banner rotate

Changing the banner when reloading the page.

copy this folder to "plugins" folder

go to admin-plugins and install the plugin.(admin.php?m=plug&a=details&pl=banner_rotate)

upload the banners to /plugins/banner_rotate/banners/

how to use:
goto: /admin.php?m=config&n=edit&o=plug&p=banner_rotate
add: NAME[,]IMAGE[,]URL if you add new banner ,insert [p] after URL (name is same alt in html)
add the tag to your skin: {HEADER_SHOW_BANNER1}

Example 1 one banner not rotate
siamdev all tobe development[,]siamdev.gif[,]http://www.siamdev.com

Example 2 banners
siamdev all tobe development[,]siamdev.gif[,]http://www.siamdev.com[p]ThPhone[,]thphone.gif[,]http://www.thphone.com

1. backa  2009-07-03 15:48
i still dont get it how to use it :s
2. backa  2009-07-03 16:07
ps. it doesnt work with sed-dark skin, cause header stuff is in css :/
3. pieter  2009-07-03 22:35
Delete it out of the CSS and add it directly in the header.tpl.
Everything works (with a little adaptation) :-D
4. 3axap  2009-07-09 18:42
Thx for plugin!

backa, transfer your header logo from css to header.tpl
Example:
you code in css:
div.Header-jpeg
{
position: absolute;
width: 300px;
height: 100px;
background-image: url('mysite.com/images/header_logo.jpg');
background-repeat: no-repeat;
background-position: center center;
}

To header.tpl
<img src="mysite.com/images/header_logo.jpg" style="position: absolute;width: 300px;height: 100px;background-repeat:no-repeat;background-position: center;" />


tnx for Killer :-)
Sadece kayıtlı kullanıcılar yeni yorum yapabilir.