Welcome to WebmasterWorld Guest from 54.160.131.144

Forum Moderators: incrediBILL

Message Too Old, No Replies

iFrame help

IFrame variables

     

BrianD

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.

-Thanks

tedster

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

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



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.

BrianD

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



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

Featured Threads

Hot Threads This Week

Hot Threads This Month