Welcome to WebmasterWorld Guest from 54.196.77.14

Forum Moderators: open

Message Too Old, No Replies

Script to call a changeable url within an iFrame?

     
5:57 pm on Apr 9, 2008 (gmt 0)

New User

5+ Year Member

joined:Apr 9, 2008
posts:1
votes: 0


I'm a coding newb with very little experience so be gentle. :)

I need to call a page that contains a left nav and header that contains an area to pull in an iframe url. The iframe url needs to change without changing the orginal page based on the call.

In effect I need a static page who's content in the iframe can change based on a url.

Is there a script already written to accomplish this?

Thanks in advance for any help you can give.

Michael

7:03 pm on Apr 9, 2008 (gmt 0)

Moderator from CA 

WebmasterWorld Administrator httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 29, 2003
posts:4059
votes: 0


welcome to WebMasterWorld, scurvy!

the iframe:
<iframe id="youriframe" src="initial_page.html" ></iframe>

the nav link:
<a href="javascript:void(0);" onclick="document.getElementById('youriframe').src='some_other_page.html'">click me</a>

3:05 pm on Apr 11, 2008 (gmt 0)

New User

5+ Year Member

joined:Dec 15, 2007
posts:38
votes: 0



Is script used in the MSN headliner story, or gmail advertising scroll?

I am looking for this...

3:07 pm on Apr 11, 2008 (gmt 0)

New User

5+ Year Member

joined:Dec 15, 2007
posts:38
votes: 0


Really, I need the script that allows me to toggle through stories...like gmail advertising..