Sam
09-12-2003, 05:46 PM
If you didn't get it from the title, I've got quite a sticky situation to deal with... I have a script (IE only now, but eventually cross browser) that writes an IFRAME to a DIV in the top right of a page (http://www.medford.k12.or.us/newpage.htm) when one clicks the icon. This part works fine... the IFRAME's source is a .pl file, which writes a calender with several other javascript effects. My goal is this... when one clicks a link generated by the .pl (the 3 or the 6 in the example) the IFRAME grows vertically. and list the events within said date.
my onclick for the <A>'s is this
I know that this works to change the background color of the IFRAME...
onclick=\"top.rightFrame.CALIF.document.body.style.background='$bg'\"
but these don't work to change the height of the IFRAME
onclick=\"top.rightFrame.CALIF.style.height=$newHeight\"
onclick=\"top.rightFrame.CALIF.height=$newHeight\"
onclick=\"CALIF.style.height=$newHeight\"
onclick=\"CALIF.height=$newHeight\"
any ideas for the correct syntax are greatly appreiciated
my onclick for the <A>'s is this
I know that this works to change the background color of the IFRAME...
onclick=\"top.rightFrame.CALIF.document.body.style.background='$bg'\"
but these don't work to change the height of the IFRAME
onclick=\"top.rightFrame.CALIF.style.height=$newHeight\"
onclick=\"top.rightFrame.CALIF.height=$newHeight\"
onclick=\"CALIF.style.height=$newHeight\"
onclick=\"CALIF.height=$newHeight\"
any ideas for the correct syntax are greatly appreiciated