Welcome to WebmasterWorld Guest from

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)

5+ Year Member

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.



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

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

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)

5+ Year Member

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)

5+ Year Member

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

Featured Threads

Hot Threads This Week

Hot Threads This Month