Popup Windows w/- Javascript - possible fix - maybe!?!
Hello everyone,
I've been using Dreamweaver to generate all of my html pages now for awhile ... and just recently many of my clients have been calling with the same problem -- "popup windows"
Quite a few of my clients have javascript pop windows for extra information, remote windows and just other assorted stuff, and for the most part, they have worked fine up until recently.
Now, (I guess because of unwanted ads) a percentage of people are now using "popup blockers" to stop those annoying ads. However, they also interfere with the pop windows actually built for the site.
I have here a sample of the window pop script I currently use; a very small amount of code: I hope this snippet may be of use to someone, somewhere as it appears to have solved this issue for me.
<!-- href popup
<a href="yourpage.htm" style="cursor:help" onClick="window.open(this.href, 'popupwindow', 'width=400,height=300,scrollbars,resizable'); return false;">Page Link Here</a>
OK so here's the rub! If someone has blocking turned on then some javascript popup windows don't work! This script will open a popup window, bypassing the "popup blockers"?!? (I have only tested this on major browsers - so I'm sure what others may find......
or... there so many blockers; its almost an impossible task - if so!..... does anyone have an idea of how to open these little windows without the hassle?
OH! I added the cursor style in case you may want to "dress" up the link on mouseover. Also you can rename the 'popwindow' to whatever, if you wish.
Hello everyone,
I've been using Dreamweaver to generate all of my html pages now for awhile ... and just recently many of my clients have been calling with the same problem -- "popup windows"
Quite a few of my clients have javascript pop windows for extra information, remote windows and just other assorted stuff, and for the most part, they have worked fine up until recently.
Now, (I guess because of unwanted ads) a percentage of people are now using "popup blockers" to stop those annoying ads. However, they also interfere with the pop windows actually built for the site.
I have here a sample of the window pop script I currently use; a very small amount of code: I hope this snippet may be of use to someone, somewhere as it appears to have solved this issue for me.
<!-- href popup
<a href="yourpage.htm" style="cursor:help" onClick="window.open(this.href, 'popupwindow', 'width=400,height=300,scrollbars,resizable'); return false;">Page Link Here</a>
OK so here's the rub! If someone has blocking turned on then some javascript popup windows don't work! This script will open a popup window, bypassing the "popup blockers"?!? (I have only tested this on major browsers - so I'm sure what others may find......
or... there so many blockers; its almost an impossible task - if so!..... does anyone have an idea of how to open these little windows without the hassle?
OH! I added the cursor style in case you may want to "dress" up the link on mouseover. Also you can rename the 'popwindow' to whatever, if you wish.