[Webcalendar] Small calendars in iframe

Rob Janssen r.janssen a t uw.nl
Sun, 17 Apr 2005 20:10:36 +0200


Jeroen Westera schreef:

> Hi,
>
> I'm using webcalendar 2.8.8 (great calendar) on my website and added a 
> small calendar on the homepage in a IFRAME. This works fine but when a 
> user clicks on a date, week or month webcalender opens always a new 
> window.
> Is it possible to change it so the link opens in a frame that I want
>
> I'm using frames in this way:
>
> frmTop
> frmMain
>  In the frame frmMain ther is the IFRAME with the small calendar inside
>  I want to open the links in the frmMain instead of a new window
> frmBottom
>
> Where do I have to change the default frame name.
>
> I tried to add the target to the <iframe 
> src="http://mywebsite.nl/cgi-bin/wcal/webcal.pl?c=navigation_table&w=calendar&anonymous=1&width=130&height=120&n=2&v=3&ls=0&x=6232&bgcolor=%23FEFFDD" 
> target=frmMain></iframe> but that doesn't work.
>
> Is there a way to do it.
> If so, let me know
>
> Jeroen

I think you can use '<base target="frmMain">' in the head section of the 
webcal output.

Rob