[Request] Donation page and a php vote popup menu

Shout-Out

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    *Alexz*'s Avatar Member
    Reputation
    105
    Join Date
    May 2007
    Posts
    521
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i found a voteing popup... it gives me an error for the 5th time

    [Request] Donation page and a php vote popup
  2. #17
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try debugging it, try showing us the source and the error..

  3. #18
    *Alexz*'s Avatar Member
    Reputation
    105
    Join Date
    May 2007
    Posts
    521
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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 -->
    Error-
    Parse error: syntax error, unexpected '<' in C:\xampp\htdocs\news.php on line 172

  4. #19
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My guess is that you forgot to close your php with ?> before you pasted that.
    If not, post your full source in pastebin.

  5. #20
    *Alexz*'s Avatar Member
    Reputation
    105
    Join Date
    May 2007
    Posts
    521
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    its there i tryed posting whole news.php file (where i had it) in here but just got an error from it

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Selling] Monster-wow 9 ACC with 100-150 donation and 250-500 Vote point
    By Lackmac in forum World of Warcraft Buy Sell Trade
    Replies: 0
    Last Post: 03-31-2015, 10:05 PM
  2. [Request] Privat server without donations gear and imba vote gear
    By SM411 in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 04-15-2010, 10:41 AM
  3. [REQUEST] Weapon Change, And Other
    By assmack in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 04-01-2007, 07:31 PM
  4. REQUEST!make boats and zeps go WAY high in the air!
    By nyttyn in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 01-09-2007, 03:45 AM
All times are GMT -5. The time now is 02:43 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