How to add a vote popup to your emu website! menu

Shout-Out

User Tag List

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 45
  1. #16
    Spartansp's Avatar Member
    Reputation
    644
    Join Date
    Sep 2007
    Posts
    1,803
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i cant close the pop up and i dont have anyother so.... a posible solution is... please help me

    How to add a vote popup to your emu website!
  2. #17
    Le Froid's Avatar Contributor
    Reputation
    172
    Join Date
    Mar 2007
    Posts
    1,327
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by spartansp View Post
    i cant close the pop up and i dont have anyother so.... a posible solution is... please help me

    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">
    
       &nbsp;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>
       &nbsp;
       <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 -->

  3. #18
    Spartansp's Avatar Member
    Reputation
    644
    Join Date
    Sep 2007
    Posts
    1,803
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok trying it now ill let you know if that worked

  4. #19
    Spartansp's Avatar Member
    Reputation
    644
    Join Date
    Sep 2007
    Posts
    1,803
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok it worked perfectly but the problem is i want the other one :P ill figure what i have to change

  5. #20
    2dgreengiant's Avatar ★ Elder ★


    Reputation
    1192
    Join Date
    Feb 2007
    Posts
    7,129
    Thanks G/R
    1/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    awesome dude +rep
    If you need me you have my skype, if you don't have my skype then you don't need me.

  6. #21
    Kael'Thas's Avatar Banned
    Reputation
    24
    Join Date
    Dec 2007
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  7. #22
    Nubbadon's Avatar Member
    Reputation
    12
    Join Date
    Aug 2007
    Posts
    141
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  8. #23
    Kael'Thas's Avatar Banned
    Reputation
    24
    Join Date
    Dec 2007
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  9. #24
    BrantX's Avatar Contributor
    Reputation
    205
    Join Date
    Jul 2007
    Posts
    899
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for this , it worked! now i don't have to use URL's any more +REP!



  10. #25
    Ballwinkle's Avatar Contributor Authenticator enabled
    Reputation
    124
    Join Date
    Mar 2007
    Posts
    662
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    how do i use this? (using ascent webcms)

  11. #26
    Stimpakas's Avatar Member
    Reputation
    1
    Join Date
    Jan 2008
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  12. #27
    Stimpakas's Avatar Member
    Reputation
    1
    Join Date
    Jan 2008
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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 .

  13. #28
    Stimpakas's Avatar Member
    Reputation
    1
    Join Date
    Jan 2008
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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+

  14. #29
    Kael'Thas's Avatar Banned
    Reputation
    24
    Join Date
    Dec 2007
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  15. #30
    staskax's Avatar Member
    Reputation
    31
    Join Date
    Dec 2007
    Posts
    146
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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


Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. [Trinity] How to add a C++ Script to your core
    By jameyboor in forum WoW EMU Guides & Tutorials
    Replies: 1
    Last Post: 01-19-2013, 03:40 AM
  2. [Trinity] How to add a custom script to your TrinityCore
    By turtleswin in forum WoW EMU Guides & Tutorials
    Replies: 1
    Last Post: 12-20-2012, 02:08 AM
  3. [Tutorial] [Client/Server Patch Required] How to add CUSTOM .Playall Ids to your server!
    By Caros2013 in forum WoW EMU Guides & Tutorials
    Replies: 0
    Last Post: 10-13-2012, 04:53 PM
  4. How To Add A New Database To Your Server!
    By Linkin.Park. in forum WoW EMU Guides & Tutorials
    Replies: 2
    Last Post: 03-10-2008, 02:38 PM
  5. How Do you make an vote popup on your private server wbsite like that one wowscape ha
    By project anthrax in forum WoW EMU Guides & Tutorials
    Replies: 1
    Last Post: 01-28-2008, 12:41 AM
All times are GMT -5. The time now is 03:01 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search