Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javascript banner rotation

Status
Not open for further replies.

nsampson1

IS-IT--Management
Sep 8, 2000
26
GB
Hi

I need to compile a piece of code that sits on a 3rd party's web page and calls a random banner image with corresponding click-through url which rotates on every page load. The list of banners and clickthroughs is pulled from an sql database on our servers.

I'm using iframes to run a server-side script that queries the db and returns an <img src and <a href tag back to the user's browser populated with the randomly selected banner.

The problem is that older netscape users can't run iframes and I need a piece of javascript to place within the iframe tag that does the same thing as the iframe.

Any ideas??
 
you can get around that by using a div, it makes things a lot trickier though

look at dansteinman.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top