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!

[HTML][JS] Advanced Popup Guide!

Junior Spellweaver
Joined
Jul 6, 2008
Messages
173
Reaction score
2
Ok, this popup will allow you to put and html code in the popup!

Preview:
Cause i know many people have been looking for something like this for a vote popup ect.

Guide:
Ok start with getting the js file and image files


Place this in your head tags:
Code:
<script language="JavaScript" src="popup.js">
</script>

And then in your html file put this in the begining of the body:
Code:
<script>

window.onload=function(){
new popUp([COLOR="Lime"]200, 100,[/COLOR] [COLOR="Red"]LENGTH[/COLOR], [COLOR="Red"]HEIGHT[/COLOR], "Div", "[COLOR="Red"]HTML CODE HERE[/COLOR]", "white", 

"black", "bold 10pt sans-serif", "[COLOR="Red"]TITLE BAR TEXT[/COLOR]", "[COLOR="Red"]TITLE BAR COLOR[/COLOR]", "white", "#dddddd", "red", 

"black", true, true, true, true, false);
}

</script>

200, 100 is the position of the popup on the screen (middle, center)
And then your done!

Credits-
Me for guide
Brian Gosselin for the popup coding (js)

- Good Luck Virtue
 
Last edited:
Back
Top