Sersway
11-03-2005, 01:42 PM
Can I get a html code that would prevent pop up on my website?
|
Click to See Complete Forum and Search --> : Can I get a html code that would prevent pop up on my website? Sersway 11-03-2005, 01:42 PM Can I get a html code that would prevent pop up on my website? Bullschmidt 11-03-2005, 02:21 PM Since it's your Web site, then perhaps don't even put any popups there in the first place... :) Sersway 11-03-2005, 02:22 PM Ah yeah? It's a free website btw So It's not my popups Bullschmidt 11-03-2005, 02:27 PM Sorry, don't know. But if you want to move to a low-priced Web host you may want to look into www.best-machine.com where currently for $4.50/mo total you can set up 5 domains (i.e. separate Web sites). Sersway 11-03-2005, 02:39 PM That's okay just thought I'd see if there was a way no hurt in trying. Thankies EvjlOreo 11-03-2005, 02:50 PM I'm trying to find the same solution. My site, because it's free, makes a popup after you click on something on the page. It's getting kinda annoying and no one knows how to stop it. I know there has to be something to add that could cancel the script. I even know what the script is, it's on the top of all my pages when I view the source. saulss 11-03-2005, 03:11 PM maybe if you paste this into your page <script> window.open=function(){} </script> please let me know if it worked :D EvjlOreo 11-03-2005, 10:00 PM It's wierd. I put it on 4 of my pages. And the popups came up on 2 of them? So it kind of worked but kinda didn't. Thank you for your help though. :D EDIT: Maby it would help if I gave you the code. This is what is on top of all my pages when you view the page source, and I can't delete it when i'm editing my pages.<script language="JavaScript" src="/root/hostultra.php"></script> I'm really bad at web design and scripting so again, any help is much appreciated! :D Sersway 11-03-2005, 11:04 PM I know you can get rid of a banner if your free website has one. Just put <nobanner> above EVERYTHING! <----Emphasis on everything but If I do find something about the popup thing I'll let you know. =D saulss 11-04-2005, 01:48 AM what the function i wrote does, is simply overiding the window.open() function. it is doing that as soon as the browser reads it, now i dont think i can help you with that, since it loads before you load any of your code. why dont you try another free service with no popups, like freewebs.com sorry i cant do much :( this thread should have been moved to javascript, since thats what we are trying to block :) EvjlOreo 11-04-2005, 02:33 PM Thank you for your help. I'll go post it in the javascript like you said. Thank you very much. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |