Quote:
Originally Posted by coder
I don't know if this can be done in asp or if I need to figure out a script to do this, but I have an iframe and I need to call the value of the parents querystring.
this is the connection I have, which doesn't call the parents url.
WHERE videoid = "&request.querystring("vid")&"
From what I've found this can only be done using javascript, I have very limited knowledge of javascript and people recommend using
alert(parent.location.search)//querystring
alert(parent.location.href)//full-path url including querystring
So how do I incorporate that with
WHERE videoid = "&request.querystring("vid")&"
to be able to pull the value of vid because the alerts only display the value in alert tags?
Thanks for any advice, i'm completely stumped on this.
|
You should be able to do that using .asp . I have used Inline frames and frames in the manner you describe. So.. if you wanted a value passed to it then:
<%strName=request.querystring("ItemName")%>
in inline frame
<iframe name="I1" src="
page.asp?Param=<%=strName%>">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>
or
<iframe name="I1" src="
page.asp?Param="&strName>
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>
To do the redirects
If the flash is a set length then
load the flash page into the iframe with the parametrs you need then in the flash page use a page refresh; set the time to the length of the flash; and for the refresh location pass the param/values as above for the second page. If the legth of the flash varies then.... pass it the time value in the parameters IMO, this should work.