Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Mini-Release] Vote-Popup for website/CMS

Status
Not open for further replies.
Newbie Spellweaver
Joined
Oct 8, 2008
Messages
29
Reaction score
0
HTML code to create a bouncing popup:

Paste this in <head> section:

PHP:
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="Made by Kaminoikari">

<style type="text/css">
/*----------Text Styles----------*/
.ws6 {font-size: 8px;}
.ws7 {font-size: 9.3px;}
.ws8 {font-size: 11px;}
.ws9 {font-size: 12px;}
.ws10 {font-size: 13px;}
.ws11 {font-size: 15px;}
.ws12 {font-size: 16px;}
.ws14 {font-size: 19px;}
.ws16 {font-size: 21px;}
.ws18 {font-size: 24px;}
.ws20 {font-size: 27px;}
.ws22 {font-size: 29px;}
.ws24 {font-size: 32px;}
.ws26 {font-size: 35px;}
.ws28 {font-size: 37px;}
.ws36 {font-size: 48px;}
.ws48 {font-size: 64px;}
.ws72 {font-size: 96px;}
.wpmd {font-size: 13px;font-family: 'Arial';font-style: normal;font-weight: normal;}
/*----------Para Styles----------*/
DIV,UL,OL /* Left */
{
 margin-top: 0px;
 margin-bottom: 0px;
}
</style>
<script language="JavaScript1.2">

// Drop-in content box- By Dynamic Drive
// For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
// This credit MUST stay intact for use

var ie=document.all
var dom=document.getElementById
var ns4=document.layers
var calunits=document.layers? "" : "px"

var bouncelimit=32 //(must be divisible by 8)
var direction="up"

function initbox(){
if (!dom&&!ie&&!ns4)
return
crossobj=(dom)?document.getElementById("dropin").style : ie? document.all.dropin : document.dropin
scroll_top=(ie)? truebody().scrollTop : window.pageYOffset
crossobj.top=scroll_top-250+calunits
crossobj.visibility=(dom||ie)? "visible" : "show"
dropstart=setInterval("dropin()",50)
}

function dropin(){
scroll_top=(ie)? truebody().scrollTop : window.pageYOffset
if (parseInt(crossobj.top)<100+scroll_top)
crossobj.top=parseInt(crossobj.top)+40+calunits
else{
clearInterval(dropstart)
bouncestart=setInterval("bouncein()",50)
}
}

function bouncein(){
crossobj.top=parseInt(crossobj.top)-bouncelimit+calunits
if (bouncelimit<0)
bouncelimit+=8
bouncelimit=bouncelimit*-1
if (bouncelimit==0){
clearInterval(bouncestart)
}
}

function dismissbox(){
if (window.bouncestart) clearInterval(bouncestart)
crossobj.visibility="hidden"
}

function truebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}


function get_cookie(Name) {
var search = Name + "="
var returnvalue = ""
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset)
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function dropornot(){
if (get_cookie("droppedin")==""){
window.onload=initbox
document.cookie="droppedin=yes"
}
}
dropornot()
</script>

And this in <body> section:

PHP:
<<div id="dropin" style="position:absolute;visibility:hidden;left:200px;top:100px;width:500px;height:300px;background-color:#F5F5F5">

<div id="image1" style="position:absolute; overflow:hidden; left:0px; top:0px; width:500px; height:300px; z-index:0"><img src="http://img407.imageshack.us/img407/5218/paste10hr2.jpg" alt="" border=0 width=500 height=300></div>

<div id="image2" style="position:absolute; overflow:hidden; left:27px; top:91px; width:88px; height:51px; z-index:1"><a href="http://google.com"><img src="http://img136.imageshack.us/img136/2263/xtremetopnb9.jpg" alt="" border=0 width=88 height=51></a></div>

<div id="text1" style="position:absolute; overflow:hidden; left:96px; top:24px; width:112px; height:27px; z-index:2"><div class="wpmd">
<div><font class="ws14" face="Comic Sans MS">Vote Please</font></div>
</div></div>

<div id="image3" style="position:absolute; overflow:hidden; left:171px; top:56px; width:32px; height:54px; z-index:3"><img src="http://img136.imageshack.us/img136/4215/linedm8.jpg" alt="" border=0 width=32 height=54></div>

<div id="text2" style="position:absolute; overflow:hidden; left:7px; top:277px; width:92px; height:18px; z-index:4"><a href="#" onClick="dismissbox();return false">[Close Box] </a><div class="wpmd">
<div><font class="ws8" face="Comic Sans MS">Allready voted</font></div>
</div></a></div>
</div>

Now, search for and replace with your xtremetop100.com 'in link' (the link you get when you click the image from the code provided from the website)

Sorry that i don't have a prewiew, but my hosting site is down :(

It's kinda plain, but you can easy modify it by using this plain code:

Head:
PHP:
<script language="JavaScript1.2">

// Drop-in content box- By Dynamic Drive
// For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
// This credit MUST stay intact for use

var ie=document.all
var dom=document.getElementById
var ns4=document.layers
var calunits=document.layers? "" : "px"

var bouncelimit=32 //(must be divisible by 8)
var direction="up"

function initbox(){
if (!dom&&!ie&&!ns4)
return
crossobj=(dom)?document.getElementById("dropin").style : ie? document.all.dropin : document.dropin
scroll_top=(ie)? truebody().scrollTop : window.pageYOffset
crossobj.top=scroll_top-250+calunits
crossobj.visibility=(dom||ie)? "visible" : "show"
dropstart=setInterval("dropin()",50)
}

function dropin(){
scroll_top=(ie)? truebody().scrollTop : window.pageYOffset
if (parseInt(crossobj.top)<100+scroll_top)
crossobj.top=parseInt(crossobj.top)+40+calunits
else{
clearInterval(dropstart)
bouncestart=setInterval("bouncein()",50)
}
}

function bouncein(){
crossobj.top=parseInt(crossobj.top)-bouncelimit+calunits
if (bouncelimit<0)
bouncelimit+=8
bouncelimit=bouncelimit*-1
if (bouncelimit==0){
clearInterval(bouncestart)
}
}

function dismissbox(){
if (window.bouncestart) clearInterval(bouncestart)
crossobj.visibility="hidden"
}

function truebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}


function get_cookie(Name) {
var search = Name + "="
var returnvalue = ""
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset)
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function dropornot(){
if (get_cookie("droppedin")==""){
window.onload=initbox
document.cookie="droppedin=yes"
}
}
dropornot()
</script>

Body:
PHP:
<div id="dropin" style="position:absolute;visibility:hidden;left:200px;top:100px;width:500px;height:300px;background-color:#F5F5F5">

<div align="right"><a href="#" onClick="dismissbox();return false">[Close Box] </a></div>

SPECIFY YOUR CONTENT HERE. IT COULD BE TEXT, IMAGES, OR RICH HTML

</div>
 
Banned
Banned
Joined
Jun 8, 2007
Messages
165
Reaction score
8
Re: [Mini-Release] Vote-Popup!

There's POPUPs being released now? Good god, where has RaGEZONE gone to.
 
Banned
Banned
Joined
Sep 6, 2008
Messages
19
Reaction score
0
Re: [Mini-Release] Vote-Popup!

There's POPUPs being released now? Good god, where has RaGEZONE gone to.

Dude I agreed so Ducking badly.... RaGEZONE is a Ducking mess.. atleast the MapleStory section. I'm barely never around anymore and my account Weaxer got banned for no reason.

"stay away from my account you Ducking penis weasel"

As if I ever logged onto someone elses account o_O

I don't know.. most mods are retarded and this section is full of KIDS and noobs re-releasing, releasing useless stuff, setting up USELESS repacks just to be seen..

,,i,, This ''release''.
 
Elite Diviner
Joined
Aug 27, 2008
Messages
432
Reaction score
0
Re: [Mini-Release] Vote-Popup!

This has been released many a time before. Please search for other threads beforehand.
 
Mother effin' clouds
Loyal Member
Joined
Apr 13, 2008
Messages
1,534
Reaction score
448
lmaoooo another release with script taken from a script site.
gosh why dont just release a list of links to scripts site (i mean it literally) instead of tiny scripts one by one, if everyone do this, our whole maple section will be destroyed.
 
Elite Diviner
Joined
Aug 27, 2008
Messages
432
Reaction score
0
lmaoooo another release with script taken from a script site.
gosh why dont just release a list of links to scripts site (i mean it literally) instead of tiny scripts one by one, if everyone do this, our whole maple section will be destroyed.

Its already filled up with useless Re-releases and leeched scripts why not add another one into the mix...
At least you do get those god send releases that you thank the maplestory section for


Offtopic ; i quote you a lot :D
 
Mother effin' clouds
Loyal Member
Joined
Apr 13, 2008
Messages
1,534
Reaction score
448
i'm more or less fine with this since it didnt remove the copyright header neither was it leeched since no self-creditation was added, but at the same time, its just getting annoying. A new category should be formed in this case.
 
Newbie Spellweaver
Joined
Aug 9, 2008
Messages
55
Reaction score
2
OK You want things like this? Go to Dynamic Drive. Don't know what it is? I give nice help.
 
Joined
Oct 29, 2009
Messages
738
Reaction score
14
butsags cms already have vote pop-up only u need to enable it from your admin panel:glare:

But how to enable it?I have went to public/main.But i cant change the <script type=\'text/javascript\'>
var voteImage = new Asset.image(\''.$vbanner.'\');
var voteLinks = [\''.$vote.'\'];

I went to admin/main.Have nothing.
 
Status
Not open for further replies.
Back
Top