Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pointing frame sources dynamically

Status
Not open for further replies.

brunbrun

Programmer
Sep 20, 2001
1
US
I have a home page, index.asp, that uses 2 frames in 2 rows, 1 being 100% high, the other invisible. In the visible one I load default.aspx which has an inline frame that loads an html page. I would like to be able to create links that could control which html page gets loaded in the inline frame on load depending on a querystring, or something.

I tried replacing the src tag with an onload that called a javascript function to read a querystring and in the function do a document.all.framename.src=page.htm.

This worked on PCs within our firewall but did not work on Macs inside the firewall and did not work on anything outside the firewall. By did not work I mean it loaded a blank page, when viewing source the code read <HTML></HTML>.

Thanks for any help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top