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.



  • Posts

    • Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore1 Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11
    • L2 ArenaWar: Low Rate PvP Server with Free Buffs & Autofarm [PVP]⚔️ [Free]🆓 Classic Interlude with  3x XP rates! Free starter pack(no grade) to kickstart your adventure! Autofarm for convenient grinding! Free buffs to keep you fighting fit! (2 job buffs) No experience loss on death! (Except with Karma) Clear Karma system to keep things fair! ⚖️ Active community of 800-1k players! Join our Discord to learn more! >> Discord <<     Server website: https://l2arenawar.com/en/    
    • This is dedication! 2 years working on a problem. Congratulations!
    • You indeed have to save player position over Enterworld to properly clean it up later (if you don't, even trying to delete packet content would eventually keep it up), that's what we do with debug packet (which is a reusable Map of ExServerPrimitive packets) on aCis.   It doesn't solve the FPS stuttering - more you draw/delete lines, more your client becomes laggy. It's like if client wasn't deleting drawn points/lines properly, but instead simply hide them and redrawn content above.   If you got a solution, I would happy to integrate it.   You should check aCis#Player _debug packet integration, it allows very big amount of lines/points to be drawn, it is also reusable.   https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java?ref_type=heads https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java?ref_type=heads  
    • we sell website templates, make websites to order. Great selection at very good prices. My contacts discord : advert1231 telegram : https://t.me/ggwpins  
  • Topics

×
×
  • Create New...