JohnBoy2005
Programmer
I've got a diary summary on my Intranet home page with 3 icons, 5 Day View, Month View and "Select A Date"
Each icon calls a hidden layer which display a calender. The same calender (layer) is called each time ("Layer1")
The layer contains an iframe which loads my default calender viewer page "calender.asp"
On selecting a date, I want my new window to display either a 5 day view, a Month view or the choosen date.
But I'm having real trouble passing variables from the img click to the calender layer then to the layout window.
Sample from the images:
onclick="showLayer('layer1','5');"
onclick="showLayer('layer1','M');"
onclick="showLayer('layer1','Q');"
Then:
sub showLayer(ObShow,f)
document.getElementById(ObShow).style.visibility="visible"
'dont know what to do here with f
end sub
How can I then transfer the value of "f" to the calender layer (calender.asp), then onto the calender view window.
Hope this makes sense.
Cheers
John
Each icon calls a hidden layer which display a calender. The same calender (layer) is called each time ("Layer1")
The layer contains an iframe which loads my default calender viewer page "calender.asp"
On selecting a date, I want my new window to display either a 5 day view, a Month view or the choosen date.
But I'm having real trouble passing variables from the img click to the calender layer then to the layout window.
Sample from the images:
onclick="showLayer('layer1','5');"
onclick="showLayer('layer1','M');"
onclick="showLayer('layer1','Q');"
Then:
sub showLayer(ObShow,f)
document.getElementById(ObShow).style.visibility="visible"
'dont know what to do here with f
end sub
How can I then transfer the value of "f" to the calender layer (calender.asp), then onto the calender view window.
Hope this makes sense.
Cheers
John