Hi Guys,
I want to make a popup window that will open up automatically when someone
visits my site or one of the other pages.
Could someone kindly give me the script for that.
Redice![]()
Hi Guys,
I want to make a popup window that will open up automatically when someone
visits my site or one of the other pages.
Could someone kindly give me the script for that.
Redice![]()
HTML Code:<!-- On page load: --> <script type="text/javascript"> window.onload = function() { window.open("popup.htm"); } </script> <!-- On clicking a link: --> <a href="www.othersite.com" onclick="window.open('popup.htm');">Click Here Now!</a>
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
You do realise that this sort of pop-up is exactly what blockers are designed to prevent, don't you?Originally Posted by redice
If you need to present information to a user, a pop-up is no longer a reliable way to do that.
Mike
What would you suggest is the best way to present info?
Redice![]()
Actually, a blocker will (should?) not block a popup fired when the user clicks a link. This is standard behaviour, for usability reasons.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
But i want to get a message across.
Most users dont tend to click on links. Whats the best way to get every
user going to the site to see the content
Redice
Put it on the front page.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
LOL.
How are those floating banners made. The ones that scroll into the middle
of the page and stop? Iv seen a few that look pretty nice with pics and all
and have a close button.
Redice
It depends entirely upon the software and the user's preferences. Some blockers are all or nothing. Others allow more selective behaviour. Even then, it's up to the user to determine that behaviour.Originally Posted by Twey
Positioned elements (usually div elements) controlled through a script. DD probably has one or two.Originally Posted by redice
Mike
Bookmarks