2 Replies - 465 Views - Last Post: 09 December 2008 - 03:40 PM

#1 rodstol  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 63
  • Joined: 03-April 08

When onload isn't an option

Post icon  Posted 09 December 2008 - 02:52 PM

This company I work for wants to create a web ad, and when the user clicks on it it takes you to their web page...nothing new, huh?
Well, the problem is the web page has an inset iframe and it needs to come up with a specific page in that iframe.

An onload javascript or flash isn't really an option for an offsite ad.

How else could you solve this?
Is This A Good Question/Topic? 0
  • +

Replies To: When onload isn't an option

#2 Martyr2  Icon User is offline

  • Programming Theoretician
  • member icon

Reputation: 4316
  • View blog
  • Posts: 12,096
  • Joined: 18-April 07

Re: When onload isn't an option

Posted 09 December 2008 - 03:02 PM

<iframe> comes with a src attribute that it uses to load the page when rendering the iframe. If you are talking about loading at a later date you could also use a javascript setTimeOut() to load the page after "x" milliseconds.

I am sure one of these two options would be something you could do. :)
Was This Post Helpful? 0
  • +
  • -

#3 rodstol  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 63
  • Joined: 03-April 08

Re: When onload isn't an option

Posted 09 December 2008 - 03:40 PM

Yeah, the way the page is set now, when you get to site, the "welcome" page comes up in that iframe.
I'm trying to figure out how to have it come up with this promo page in that iframe when a user clicks on a particular offsite banner.

I don't want it opening every time someone goes to the site, just when they are referred from a particular banner.

Is there a way to do this with out an onload?

This post has been edited by rodstol: 09 December 2008 - 04:32 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1