Need help adding a rotating banner

gavin681's picture

They have: 184 posts

Joined: May 2001

Would anyone be able to help me out. I'm building a web site and would like to add rotating banners to the top of every page. The web site I'm building is a static site and will only be 7 pages.

I don't want to use Java script or to redesign my site in ASP.

Is there an alternative?

Thanks,

Gavin

detox's picture

They have: 571 posts

Joined: Feb 2001

the only way you are going to do this properly is with some scripting language.

They have: 488 posts

Joined: Feb 2000

You could do it with JavaScript. Below is a sample script for two rotating banners, just make some changes to the script if you need to add more banners.

<script LANGUAGE="JavaScript">
');
document.write('');
document.write('');
document.write('' + txt + '
');
document.write('');
// End -->
</script>

gavin681's picture

They have: 184 posts

Joined: May 2001

NSS,

Thanks. I guess the only way is to use Java Script.

Gavin

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.