PDA

View Full Version : popup window from home page onunload


usertr
03-23-2008, 11:31 PM
I need to implement a popup window that kicks off when my vBa home page is closed. I'm thinking I could put the javascript somewhere in the headinclude template.

I'd have to add an onunload to the opening body tag. The opening body tag seems to show up somewhere between the end of the headinclude template the and the beginning of the header template. I'm not sure where to go to add that event handler to the body tag.

Is this a vBulletin question rather than a vBadvanced question?

Brian
03-24-2008, 09:01 AM
If you're just trying to add that to your CMPS pages then you would need to edit your 'adv_portal' template and add the code in there.