Welcome to WebmasterWorld Guest from 54.162.117.84

Forum Moderators: incrediBILL

Message Too Old, No Replies

iFrame help

IFrame variables

     
3:00 pm on Mar 17, 2011 (gmt 0)

New User

5+ Year Member

joined:Mar 17, 2011
posts: 2
votes: 0


On my parent page I have on the left side a navigation menu. When I choose one of the links I want to open a web page in the body iframe. The web page in the body iFrame needs to read the query string for a variable.

How does one do this?

Left navigation code:
<li><a HREF="dnmc.asp" target="framebody" pagevalue="A">A - General </a></li>

I need to read the pagevalue variable when the page dnmc.asp loads in the iframebody.

-Thanks
3:10 pm on Mar 17, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


Hello BrianD - welcome to the forums.

If I understand you correctly, you should be able to use a real query string:

<li><a HREF="dnmc.asp?pagevalue=A" target="framebody">A - General </a></li>

There are probably other approaches specific to ASP as well. We've got a forum dedicated to IIS and ASP.NET [webmasterworld.com] where you can ask for that kind of input, too.
3:16 pm on Mar 17, 2011 (gmt 0)

New User

5+ Year Member

joined:Mar 17, 2011
posts: 2
votes: 0


That did it! Major brain fart.... thank you.