using a vbscript timer to change iframe source

  • dartcoach
  • Born
  • Born
  • No Avatar
  • Joined: May 06, 2008
  • Posts: 4
  • Status: Offline

Post May 6th, 2008, 11:04 am

I'm new to html and vbscript.

Here's my question:

I have a main page that has 3 IFrames. IFrame #1 handles the menu on the left. IFrame #2 changes when someone clicks a menu item.

IFrame #3. This is advertisements that I want to change which ad is showing based on a timer for the main page.

Looks like this:
________________
| | |
| | |
|____| |
| | |
|____|___________|

Everything works great except getting that iframe source to change.
Since I'm new, I'm extremely frustrated.

Any help would be appreciated. (Note: I'm using VBScript because I've coded in VB and it's easier for me.)

Regards,
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 6th, 2008, 11:04 am

  • dartcoach
  • Born
  • Born
  • No Avatar
  • Joined: May 06, 2008
  • Posts: 4
  • Status: Offline

Post May 6th, 2008, 12:20 pm

Oh, well. the little picture didn't come out.
Sorry.
  • radnor
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Mar 06, 2006
  • Posts: 40
  • Status: Offline

Post May 8th, 2008, 6:32 am

dartcoach wrote:
I'm new to html and vbscript.

Any help would be appreciated. (Note: I'm using VBScript because I've coded in VB and it's easier for me.)


Just a thought..... If I can I stay away from M$ products. Now to get the gears moving..... Will your VB script work on FF? (I dont think so... :wink: ) So anyone without IE will have a little problem.

.02
  • videoediting-direct
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Jul 28, 2008
  • Posts: 53
  • Loc: United Kingdom
  • Status: Offline

Post August 6th, 2008, 7:44 am

If your trying to change the contents on the iframe...then
iframename.scr = "full path" has to be specified.

if u have placed a div on top of the iframe then u need to hide and unhide based on ur requirement.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 109 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.