as the title says i need a html script for a popup and ill give +rep for the person that tells me![]()
thank you![]()

as the title says i need a html script for a popup and ill give +rep for the person that tells me![]()
thank you![]()
:rolleyes::eusa_clap:eusa_clap
:eusa_danc:eusa_danc:eusa_danc:eusa_danc:eusa_danc :eusa_danc:eusa_clap
If you want a popup where you click a button use this:
If you want a popup that automatically opens when you enter a page use this:HTML Code:<form> <input style="font-size:12px;color:#000000;font-family:verdana;" type=button value="Ok" onClick="alert('Your Message Here');"> </form>
(PUT THIS IN THE HEAD SECTION OF YOUR PAGE.HTML Code:<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'> <!-- var popupWindow=null; function popup(mypage,myname,w,h,pos,infocus){ if (pos == 'random') {LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;} else {LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;} settings='width='+ w + ',height='+ h + ',top=' + TopPosition + ',left=' + LeftPosition + ',scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';popupWindow=window.open('',myname,settings); if(infocus=='front'){popupWindow.focus();popupWindow.location=mypage;} if(infocus=='back'){popupWindow.blur();popupWindow.location=mypage;popupWindow.blur();} } // --> </script>
AND ADD THAT TO THE <BODY> TAG ON YOUR PAGE (CHANGE HIGHLIGHTED THINGS)HTML Code:<body onLoad="popup('http://POPUP URL HERE','Popup Name Here','200','100','center','front');">
It's not HTML, it's JS.
Impossible to do with HTML I think.
It still works on a .html page, so just use it anyway
Hi
and you want god for...
Hi
Code:<SCRIPT language="JavaScript">alert("TEXT") </SCRIPT>
I know, I am just saying you can still use it, and i wasnt typing towards you?
Last edited by Cixso; 15-12-2006 at 07:56 PM.
Hi
Want to hide these adverts? Register an account for free!