Jump to content

[Guide/Share]Vote code From top to down(leftside/rightside)


Recommended Posts

Your ip=xx.xxx.xxx

Your server's vote link=http://l2.hopzone.net/vote.php?site=xxxxx

 

so when  you see xx.xxx.xxx delete it and add your ip and  when you see http://l2.hopzone.net/vote.php?site=xxxxx  delete it and add Your server's vote link

 

Vote code goes from top to down on leftside

 

Here is the code :

 

if (!document.layers)
document.write('<div id="divStayTopLeft" style="position:absolute">')

</script>
<layer id="divStayTopLeft">
<table border="1" width="75" cellspacing="0" cellpadding="0" >
  <tr>
  <td width="75%" bgcolor="#638abd">
    <embed
src="http://l2.hopzone.net/hopzone_status.swf?serveru1=xx.xxx.xxx&serveru2=xx.xxx.xxx&portu1=2106&portu2=7777"
width="113" height="22" align="left" quality="high"
pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash"
bgcolor="#638abd">
</embed>
  </td>
  <tr>
    <td width="75%" bgcolor="#739173">
      <p align=center><a href="http://l2.hopzone.net/vote.php?site=xxxxx"><img src="http://images.hopzone.net/lineage2/votebanners/lineage2-90x60-1.gif" alt="Vote us in HopZone.Net" width="90" height="60" border="0"></a><br><a href="http://l2.hopzone.net"><img src="http://images.hopzone.net/base/HopZone.gif" alt="HopZone.Net - Free Lineage2 Servers" border="0"></a></p>

    </td>
  </tr>
</table>
</layer>
<script type="text/javascript">
//Enter "frombottom" or "fromtop"
var verticalpos="fromtop"
if (!document.layers)
document.write('</div>')

function JSFX_FloatTopDiv()
{
var startX = 3,
startY = 150;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
function ml(id)
{
	var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
	if(d.layers)el.style=el;
	el.sP=function(x,y){this.style.left=x;this.style.top=y;};
	el.x = startX;
	if (verticalpos=="fromtop")
	el.y = startY;
	else{
	el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
	el.y -= startY;
	}
	return el;
}
window.stayTopLeft=function()
{
	if (verticalpos=="fromtop"){
	var pY = ns ? pageYOffset : document.body.scrollTop;
	ftlObj.y += (pY + startY - ftlObj.y)/8;
	}
	else{
	var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
	ftlObj.y += (pY - startY - ftlObj.y)/8;
	}

	ftlObj.sP(ftlObj.x, ftlObj.y);
	setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("divStayTopLeft");
stayTopLeft();
}
JSFX_FloatTopDiv();

</script>

 

 

Vote code goes from top to down on rightside

 

if (!document.layers)
document.write('<div id="divStayTopRight" style="position:absolute">')

</script>
<layer id="divStayTopRight">
<table border="1" width="75" cellspacing="0" cellpadding="0" >
  <tr>
  <td width="75%" bgcolor="#638abd">
    <embed
src="http://l2.hopzone.net/hopzone_status.swf?serveru1=xx.xxx.xxx=xx.xxx.xxx&portu1=2106&portu2=7777"
width="113" height="22" align="Right" quality="high"
pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash"
bgcolor="#638abd">
</embed>
  </td>
  <tr>
    <td width="75%" bgcolor="#739173">
      <p align=center><a href="http://l2.hopzone.net/vote.php?site=xxxxx"><img src="http://images.hopzone.net/lineage2/votebanners/lineage2-90x60-1.gif" alt="Vote us in HopZone.Net" width="90" height="60" border="0"></a><br><a href="http://l2.hopzone.net"><img src="http://images.hopzone.net/base/HopZone.gif" alt="HopZone.Net - Free Lineage2 Servers" border="0"></a></p>

    </td>
  </tr>
</table>
</layer>
<script type="text/javascript">
//Enter "frombottom" or "fromtop"
var verticalpos="fromtop"
if (!document.layers)
document.write('</div>')

function JSFX_FloatTopDiv()
{
var startX = 3,
startY = 150;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
function ml(id)
{
	var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
	if(d.layers)el.style=el;
	el.sP=function(x,y){this.style.Right=x;this.style.top=y;};
	el.x = startX;
	if (verticalpos=="fromtop")
	el.y = startY;
	else{
	el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
	el.y -= startY;
	}
	return el;
}
window.stayTopRight=function()
{
	if (verticalpos=="fromtop"){
	var pY = ns ? pageYOffset : document.body.scrollTop;
	ftlObj.y += (pY + startY - ftlObj.y)/8;
	}
	else{
	var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
	ftlObj.y += (pY - startY - ftlObj.y)/8;
	}

	ftlObj.sP(ftlObj.x, ftlObj.y);
	setTimeout("stayTopRight()", 10);
}
ftlObj = ml("divStayTopRight");
stayTopRight();
}
JSFX_FloatTopDiv();

</script>

 

credits to Crazyrabbit

 

 

 

Link to comment
Share on other sites

lol .... when we are register to the forum we have to put up an e-mail !

but for a 3 day's that i was holiday with my school  , my account was stolen !

so think before do something ! and don't go out of our subject !

give credits or i please one mod to give him -1 karma !

Link to comment
Share on other sites

that share is a Kind of an Autovoter ?

 

Or a Simple Floating Window (in javascript) ?

 

show me an example...and WHY i should Put MY IP ?

 

kinda strange lol.

 

EDIT : Something like THIS => http://www.imageshack.gr/view.php?file=0656g5jmmifg2dk7e2dz.jpg  ??????

Link to comment
Share on other sites

that share is a Kind of an Autovoter ?

 

Or a Simple Floating Window (in javascript) ?

 

show me an example...and WHY i should Put MY IP ?

 

kinda strange lol.

 

EDIT : Something like THIS => http://www.imageshack.gr/view.php?file=0656g5jmmifg2dk7e2dz.jpg   ??????

 

its not an autovoter ....its an icon that is on the left of the screen at your website ... check below

 

0bmrgay5yxpii6sh1ztd.jpg

http://imageshack.gr/view.php?file=0bmrgay5yxpii6sh1ztd.jpg

Link to comment
Share on other sites

  • 2 months later...
On 7/17/2008 at 7:15 PM, Mixed said:

It doesn't float around for me 😞 just stays in the top corner

 

what a lol !

 

Why you undig an Old Topic ? didnt see the lastest Reply ? from APRIL !

 

1st Warn for ya.

 

edit by noble:topic unlocked,link still works

Edited by Vision
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...