|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Custom Solutions Tutorial to create Pop-Up Ads (Tutorial to create Pop-Up Ads) |
Tutorial to create Pop-Up Ads |
<!-- TWO STEPS TO INSTALL POPUP WINDOW:
1. Paste the first into the HEAD of your HTML document <!-- STEP ONE: Copy this code into the HEAD of your HTML document --> <HEAD>
Code <SCRIPT LANGUAGE="JavaScript"> <!-- Idea by: DEEPTHEHACKER --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!!http://software-lint.ucoz.com/blog --> <!-- Begin function popUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=400,height=200');"); } // End --> </script> <!-- STEP TWO: Paste this onLoad event handler into the BODY tag -->
Code <BODY onLoad="javascript:popUp('[<<<<YOUR POP UP LINK>>>]')"> <!-- Script Size: 0.73 KB -->
THANK YOU ALL CREDIT TO DEEPTHEHACKER I Try to help. U can Try to give Rep ++ For my try :P
|
DEEPKG, Your topic should not be in this forum. You should put this under Hints and Tips Forum Section. Learn to use Proper Categorization of your topic.
Post edited by khen - Saturday, 2011-03-05, 5:00 AM
|
how to add with 2 link pop up?
i love ucoz, coz its very simple not like other
www.tech-comps.in | www.NoNames.at.ua watch free movies | ganool.nl watch free movies | bioskop21.info |
Quote (Natashko) I am not sure I understand you. Please rephrase the question. Quote (DEEPKG) Code <BODY onLoad="javascript:popUp('http://yoursite.com')"> <!-- Script Size: 0.73 KB --> how to add 2 link??? example :::: <BODY onLoad="javascript:popUp('http://yoursite1.com, http://yoursite2.com ')"> i love ucoz, coz its very simple not like other
www.tech-comps.in | www.NoNames.at.ua watch free movies | ganool.nl watch free movies | bioskop21.info |
Quote (Natashko) Quote (cyberworlds) how to add 2 link??? Like this: Code <body onLoad="popUp('URL1'); popUp('URL2');"> its working, thanks natashko i love ucoz, coz its very simple not like other
www.tech-comps.in | www.NoNames.at.ua watch free movies | ganool.nl watch free movies | bioskop21.info |
Regarding this script, please note that this may most likely become an annoying occurance to users. It may be possible to use Conditional Operators or Javascript to restrict how often or when they appear.
Kind regards,
Elliott. "The best uCoz" critic since 2007. Qualified website, branding, print & user interface designer. I'm on Behance and Twitter. Post edited by CodeResolution - Monday, 2012-12-17, 5:25 PM
|
does anybody help me...how to create a pop-up Log/register please ......and anybody know how to delete comment in File Catalog
I'm not so good in the case of websites, But i'm a Good Learner i can learn Very Fast...
Thanks for the help buddies and that is my site [ King Wains Alex ] |
Ok I made it work but it the pop uip blocker blocks the page
Is there a load page that pop blockers wont block it because its a registration page Post edited by carloscompu - Thursday, 2012-12-13, 8:01 PM
|
carloscompu, unfortunately not. That is not relative to the page coding but instead on the popup blocker. If it is programmed to prevent onLoad events relating to popups from executing then it will do so no matter the coding of the web page.
Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 13 years and counting. |
| |||
| |||