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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using variables in a frame source

Status
Not open for further replies.

cadocs

Technical User
Jun 16, 2005
35
US
I am trying to loan an ASP page in a hidden frame. The URL for the ASP page has a querystring attached to it, however the querystring has variables that i am getting from my javascript and so I can't reference the url reicetly in the "<frames src =" section becuase of the variable querystring.

Any ideas on how to reference a frame's URL with variables in it. I put my code below. Please note, the ASP page loads fine if the query variables are made static (i.e. written into the URL).

Any help would be apprecaited adn my code is below.

Geoff Soumakian




<script language="javascript">
var broswer_size_URL = " + myWidth + "&height=" + myHeight;



</script>

</head>

<frameset rows="100%,*,*">
<noframes><body><p>Your browser doesn't support frames</p></body></noframes>
<frame src="fibo.html"/>
<frame src="
<script type="text/javascript">
document.write('<frame src="' + broswer_size_URL + '"></frame>');
</script>



</frameset>

</html>
 
Yeah, but i have a full flash site and i think i have tried it and i don't think it works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top