homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

iFrame help
IFrame variables

Msg#: 4282996 posted 3:00 pm on Mar 17, 2011 (gmt 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.




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

Msg#: 4282996 posted 3:10 pm on Mar 17, 2011 (gmt 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.


Msg#: 4282996 posted 3:16 pm on Mar 17, 2011 (gmt 0)

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

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved