PDA

View Full Version : Calendar Event as Popup


PennylessZ28
04-16-2003, 08:10 PM
I'm trying to make it so that when a user selects an event on the calendar a window with the event information pop's up.

Seems easy enough

I've changed calendar_publicevent to:
<li><a href="javascript:openpopup()"><smallfont color="#008800">$eventsubject</smallfont></a></li>

Then I inserted the following code into the headinclude.

<script>

function openpopup(){
var popurl="calendar.php?s=$session[sessionhash]&action=getinfo&eventid=$eventid"
winpops=window.open(popurl,"","width=400,height=338,")
}

</script>


So, that seemed about right at the time. Went clicked on an event, and wow, a popup window. But no event :(

Ok, so I think I have the right idea here, but I think I've boarded the wrong train. Anyone want to help me get on the right track.

PennylessZ28
04-17-2003, 04:15 AM
:( no ideas from anyone

PennylessZ28
04-23-2003, 05:44 PM
Dang I guess not :(