GlennMD
06-20-2003, 10:24 PM
:rolleyes: Looking for some java code that we can add to a framed page that will block linked web sites to the main frame from showing popup or pop under.
|
Click to See Complete Forum and Search --> : Popup Blocker GlennMD 06-20-2003, 10:24 PM :rolleyes: Looking for some java code that we can add to a framed page that will block linked web sites to the main frame from showing popup or pop under. AdamBrill 06-20-2003, 10:53 PM Well... here is the problem: If you make a popup blocker(which is possible), it won't start working until after the page loads, which is too late. It would stop any popups that come up after the page is loaded, but it won't stop the ones that go during the load... If you want the code to stop the ones after the page has loaded, let me know and I'll get it to you... GlennMD 06-23-2003, 02:38 PM I'd like to give it a try. The page loads then the popup follows Thanks, brendandonhue 06-23-2003, 07:26 PM I'm just wondering exactly what your using this for. If your using a free host and trying to stop the ads-don't bother. They will close your account. Also you said prevent linked pages. JavaScript can only do its thing within its own document-not with links to another page. Unless you are loading the other pages into a frame. AdamBrill 06-23-2003, 07:41 PM Here, try this. I have it set up in such a way that it will block the popup that would otherwise come. Take a look at it and see if it works for you... ;) webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |