Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Better popups part 2


  • You cannot reply to this topic
No replies to this topic

#1 M@rcel

  • Community Member
  • 551 posts
  • Real Name:Marcel van Lieshout
  • Location:The Netherlands

Posted 28 April 2003, 21:07

As an addition to http://forums.oscommerce.com/viewtopic.php?t=40716:

To avoid customers ending up with loads of popups, one could change the body-tag of popup_image.php

from:
<body onload="resize();">
to:
<body onload="resize();" onBlur="self.close()" onClick="self.close()">

This way the popup is closed when it loses focus or when it's clicked on by the user.
Greetings from Marcel
|Current version|Documentation|Contributions|