[thelist] Pop-up from an email

David Siedband technique at oceanicsky.com
Fri Dec 3 15:30:42 CST 2004


You could accomplish this by attaching a window.open() function to the 
onload event, and then passing a variable in the URL like this.

http://yourcalendarapp.com/viewCalendar.htm?cid=41&openPopUpEntry=3241

Then add some logic in your page to check for the openPopUpEntry 
variable and insert the javascript if it's present.

However, there are problems with this.  Many browsers and 3rd party-add 
ons block pop-up windows. An alternative to consider is to display this 
content in a div so that it appears window-like and selectively showing 
and hiding this div to create a window-like effect.

HTH
--
David
generation-xml.com




On Dec 3, 2004, at 7:40 AM, Maisha Walker wrote:

> Hello all,
>
> I have a web site where there's a calendar and each event on the 
> calendar
> opens up in a pop-up window when you click on the event.
>
> I'd like to send an email with a link to two of the events, but I'm 
> hoping
> instead of just linking to the calendar, I can have the calendar open, 
> and
> then, depending on which link was clicked in the email, have that 
> event's
> pop-up window open.
>
> Has anyone done this? Is it possible?
>
> Maisha



More information about the thelist mailing list