Lively discussions on the graphic arts and publishing — in print or on the web

Go Back   Desktop Publishing Forum > General Discussions > Web Site Building & Maintenance

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 08-25-2005, 06:38 AM   #1
John Woram
Join Date: Aug 2005
Posts: 28
Default body onblur() alternative?

I've been using <body onblur="self.focus()"> when I open a small pop-up window, to prevent that window from disappearing if the user accidentally clicks outside its boundaries. This is against strict XHTML standards, but it does work in IE and FF on a PC, but not in Mac/Safari.
So, does anyone know of a standards-compliant way to force a pop-up window to retain focus until the user closes it?

John Woram
John Woram is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there an alternative to InDesign? Michael Rowley Print Design 35 08-31-2005 10:49 AM

All times are GMT -8. The time now is 02:30 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Contents copyright 2004–2019 Desktop Publishing Forum and its members.