i cant close the pop up and i dont have anyother so.... a posible solution is... please help me
i cant close the pop up and i dont have anyother so.... a posible solution is... please help me
remember to +Rep people that helped you out Spartansp RepackV4 How to setup Spartansp Repack
Usefull guide 1 MMOwned Morpher SFGAMES WEBSITE
Damn I think you need to delete 4 lines...brb
WORKING CODE:
Code:<!-- Begin Voting Window Code --> <script language="JavaScript1.2"> var ns4 = document.layers; var ie4 = document.all; var ns6 = document.getElementById && !document.all; //drag drop function for NS 4//// ///////////////////////////////// var dragswitch = 0; var nsx; var nsy; var nstemp; function drag_dropns( name ) { if( !ns4 ) return; temp = eval( name ); temp.captureEvents( Event.MOUSEDOWN | Event.MOUSEUP ); temp.onmousedown = gons; temp.onmousemove = dragns; temp.onmouseup = stopns; } function gons( e ) { temp.captureEvents( Event.MOUSEMOVE ); nsx = e.x; nsy = e.y; } function dragns( e ) { if( dragswitch == 1 ) { temp.moveBy( e.x-nsx, e.y-nsy ); return false; } } function stopns() { temp.releaseEvents( Event.MOUSEMOVE ); } //drag drop function for ie4+ and NS6//// ///////////////////////////////// function drag_drop( e ) { if( ie4 && dragapproved ) { crossobj.style.left = tempx + event.clientX - offsetx; crossobj.style.top = tempy + event.clientY - offsety; return false; } else if( ns6 && dragapproved ) { crossobj.style.left = tempx + e.clientX - offsetx; crossobj.style.top = tempy + e.clientY - offsety; return false; } } function initializedrag( e ) { crossobj = ( ( ns6 ) ? document.getElementById( "showimage" ) : document.all.showimage ); var firedobj = ( ( ns6 ) ? e.target : event.srcElement ); var topelement = ( ( ns6 ) ? "HTML" : "BODY" ); while( ( firedobj.tagName != topelement ) && ( firedobj.id != "dragbar" ) ) { firedobj=ns6? firedobj.parentNode : firedobj.parentElement; } if( firedobj.id == "dragbar" ) { offsetx = ( ( ie4 ) ? event.clientX : e.clientX ); offsety = ( ( ie4 ) ? event.clientY : e.clientY ); tempx = parseInt( crossobj.style.left ); tempy = parseInt( crossobj.style.top ); dragapproved = true; document.onmousemove = drag_drop; } } document.onmousedown = initializedrag document.onmouseup = new Function( "dragapproved=false" ); ////drag drop functions end here////// function hidebox(){ if (ie4||ns6) crossobj.style.visibility="hidden" else if (ns4) document.dnwtop_100_showimage.visibility="hide" } </script> <style type="text/css"> #showimage { position:absolute; width:300px; background-color:#0000FF; padding:2px; } #showimage #dragbar { font-family:Trebuchet MS; color:#FFFFFF; font-size:10pt; text-align:left; font-weight:bold; width:280px; } #showimage #closebutton { font-family:Tahoma; font-weight:bold; height:12px; width:12px; background-color:#CCCCCC; font-size:8pt; border:2px solid; border-top-color:#EEE; border-right-color:#AAA; border-bottom-color:#AAA; border-left-color:#EEE; padding:0 3px 0 4px; color:#000; text-decoration:none; } #showimage #message { font-family:Trebuchet MS; color:#FFFFFF; font-size:10pt; font-weight:bold; padding:4px; background-color:#000000; } </style> <div id="showimage" style="left:500px;top:100px;"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td id="dragbar" style="cursor:hand" title="Drag to Move"> <ilayer width="100%" onSelectStart="return false"> <layer width="100%" onMouseover="dragswitch=1;if (ns4) drag_dropns(showimage)" onMouseout="dragswitch=0"> Vote for Marshlands </layer> </ilayer> </td> <td style="padding-right:1px;width:20px;" align="right"> <a id="closebutton" href="#" onClick="hidebox();return false">X</a> </td> </tr> <tr> <td id="message" width="100%" colspan="2" align="center"> <img src="incl/illidan2.jpg" border="0" alt=""> <br /> <font size="5">VOTE !!!!</font> <br /> Vote for us :) We can easily get past the 100s :P <br /> <br /> Would you like to vote for us? <br /> <a href="http://www.xtremetop100.com/in.php?site=1132226422" target="_blank" onClick="hidebox(true)"><img src="http://i184.photobucket.com/albums/x285/Kandyman3/yes.png" border="0"></a> <a href="#" onClick="hidebox();return false"><img src="http://i184.photobucket.com/albums/x285/Kandyman3/no.png" border="0"></a> </td> </tr> </table> </div> <!-- End Voting Window Code -->
ok trying it now ill let you know if that worked
remember to +Rep people that helped you out Spartansp RepackV4 How to setup Spartansp Repack
Usefull guide 1 MMOwned Morpher SFGAMES WEBSITE
ok it worked perfectly but the problem is i want the other one :P ill figure what i have to change![]()
remember to +Rep people that helped you out Spartansp RepackV4 How to setup Spartansp Repack
Usefull guide 1 MMOwned Morpher SFGAMES WEBSITE
awesome dude +rep
If you need me you have my skype, if you don't have my skype then you don't need me.
if i did something wrong in the script post here, so i can edit it, but i used these for my website and they worked fine, just couldnt use 2 on one page
Ok i dont have any problems with the Scripting but i just wonder where do i get my Voting site from Xtremetop 100?? O.o
oh u mean the link so people vote for u?
just go to xtremetop 100, and make an account there and fill out all the stuff for ur emu, and when they give u the little link with the picture, and the script to paste into a page or something, look through that script for a html address and that will be the link to ur voting page, or post the script here if u cant find it and i'll get it out for u, but it really isnt that hard to find and the script isnt that long
Thank you for this , it worked! now i don't have to use URL's any more+REP!
how do i use this? (using ascent webcms)
Please I need help. I put it on my website, and if I press ok and i vote it still remains on my website. I can't close it. HELP Plz
One more problem. On the vote window where you press ok or cancel aren't written ok or cancel. There is just a red X .
Nvm, everything is ok. One more question. How I can make it to appear in the centre of a page? Because it appear in the upper left corner. TY rep+
i dont have enough time to make a good explanation, but just look in script for some numbers, it says from left and from right or something, thx for rep BTW
something doesn't work for me . When I press accept it just brings me to XtremeTop100.com - Gaming top 100 list , tho i've written the required website there http://www.xtremetop100.com/in.php?site=1132233214 . try clicking , i bet it won't work