Results 1 to 4 of 4
Thread: passing variables to frames
Sep 9, 2001, 13:42 #1
passing variables to frames
I have taken over R.C.A.T.T. and have already redesigned it once. However, this was by way of _lotsa_ manual editing.
My question though is this:
I need to pass a variable to a frame in a popup-window. The popup-window is called with the variables in the url:
I've tried double quotes, single quotes, brackets & can't seem to understand how it works.
I would greatly appreciate some help with this as it's frustrating me to no end.
Thanks in advance,
Sep 9, 2001, 14:58 #2
- Join Date
- May 2000
- Victoria, Australia
- 0 Post(s)
- 0 Thread(s)
Not sure whats different but works fine in ASP, only time I have had to do some extra work is when there is a frame within a frame, then I just have the frameset page rebuild the query string.
blah.asp?ID=1&blue=2&Cat=Dog etc etc..NET Code Monkey
Sep 9, 2001, 15:27 #3
I don't think I explained it clearly... [edited]
sorry if my initial post was confusing.
My problem is with defining the frame scr="src"
The popup window is ssf.php which is 2 frames. Problem is I need to pass the variables to one of the frames -ss.php - so I can use them do display & size the bitmap.
I want this: frame src="ss.php?ssurl='+ssurl+'&pic_sizex='+pic_sizex+'&pic_sizey='+pic_sizey"
however, because I'm mixing in variables in, it doesn't want to accept it...
thanks, and hopefully that's clearer,
Last edited by jared; Sep 9, 2001 at 18:05.signature
Sep 9, 2001, 22:58 #4
I wrapped the code in a <?php ?> so that it would get resolved.
frame src=<?php echo ("ss.php?ssurl=$ssurl&pic_sizex=$pic_sizex&pic_sizey=$pic_sizey"); ?>
thanks for playing "Spot the n00b."
more questions to follow...signature