tags:

views:

23

answers:

1

Hi there. I've been tasked with making our help section open in a new window which isn't blocked by any of the major browsers' anti popup behaviour. My spec is 'to make it like the one on the salesforce website'. haha. (The salesforce site is login only i'm afraid so i can't even show you it.)

Anyway, before i tried to reverse engineer that site i thought i'd ask here, thinking that there may be a jquery plugin for this, for example, and that generally this problem would have been solved already by smarter people than me.

Any advice welcome - max

+2  A: 

Take a look at the jQuery UI dialog, it comes in many flavours and you can put whatever you want in it, if you absolutely have to you can even use it as an iframe pop-up.

The dialog works by showing and hiding a div which is positioned on top over all other elements, there is little chance a pop-up blocker will cause any problems, but it does require javascript to be turned on. If javascript was turned off you'd have to use a bit of graceful degradation to maintain it's usability.

ILMV
thanks ILMV but i want a totally seperate browser window (eg that can be dragged to one side of the main window), not a floating-in-the-browser dialog. cheers tho
Max Williams
So you want a pop-up that doesn't get killed by a pop-up blocker... sorry, but if that existed you think it wouldn't be used for spamvertising everywhere? If it we me I'd rethink not using a standard pop-up... even if you were requested to do so.
ILMV
yeah that's what i thought, ie if this was possible we'd all be getting them all the time. i'm trying to persuade my boss to go with jqueryui dialog. i actually think it's better anyway (after a bit of thought) as it stays visible while you interact with the page behind, so is great for tutorials etc.
Max Williams
Just as a followup i went down the jqueryui dialog route and it's worked out really well. thanks again for the pointer. max
Max Williams
No problem Max, used it for similar purposes and found it to be a very competent solution :-)
ILMV