Jump to content

Recommended Posts

Posted

Oke,

here it is.

I downloaded this some time ago.

I had tried to find it again, but could not find it.

So this is the deal.

You need a folder, for instance bannerimages. In there you put your banners and the rotate.php.

You do not need to change anything in the file.

And add as many banners as you want.

I did put a few examples in it.

You upload that to your web.

Next you change or add something to your css file.

For instance in the part of the bannerimages.

#bannercontainer {
width: 920px;
height: 232px;
background: #000 url(../bannerimages/rotate.php) no-repeat 50% 0;
background-color: #000066;
z-index: 3;
background-position: right;
}

Instead of adding a link to an jpg, you add the link to the rotate.php file.

background: #000 url(../bannerimages/rotate.php) no-repeat 50% 0;

Upload the changed css, and start reloading your website.

Have fun.

Note, I have not written that code, nor do I change things.

I just uploaded some images to my site, where you can see what it does do.

Visit www.citylink-va.com and hit the reload button a few times.

Greetings,

RobB

bannerimages.zip

  • Like 1
Posted

Oke,

here it is.

I downloaded this some time ago.

I had tried to find it again, but could not find it.

So this is the deal.

You need a folder, for instance bannerimages. In there you put your banners and the rotate.php.

You do not need to change anything in the file.

And add as many banners as you want.

I did put a few examples in it.

You upload that to your web.

Next you change or add something to your css file.

For instance in the part of the bannerimages.

#bannercontainer {
width: 920px;
height: 232px;
background: #000 url(../bannerimages/rotate.php) no-repeat 50% 0;
background-color: #000066;
z-index: 3;
background-position: right;
}

Instead of adding a link to an jpg, you add the link to the rotate.php file.

background: #000 url(../bannerimages/rotate.php) no-repeat 50% 0;

Upload the changed css, and start reloading your website.

Have fun.

Note, I have not written that code, nor do I change things.

I just uploaded some images to my site, where you can see what it does do.

Visit www.citylink-va.com and hit the reload button a few times.

Greetings,

RobB

Thank you

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...