insanity Banner


 
1 Skin | 4 Codes | 8 Premades

insanity :: roswell is that way ---> :: hopefully andriods never takeover :: vforums :: Content on Registration Page - View Topic
Topic Rating: *****
Printable View
Aki.
Lunatic
*****

[Avatar]

Posts: 123
Status: Offline
Gender: Male
Joined:  

pmmsnyahooaimgtalk

Reputation: 0%  

Content on Registration Page (2nd Feb 09 at 4:39pm UTC)
<script>
var cookies = "Edit Here";
if (location.href.indexOf("action/register") != -1){
document.write("<center>"+cookies+"</center>");
}
</script>
Just edit where it says Edit Here. And you should be set! ^_^.

If you wish to have an image replace 'Edit Here' with <img src='http://image' /> make sure you use a single quote and not a double quotation. Why? Because it is how this script is written, the JavaScript itself uses the double quotation and if using double quotation it breaks the code. So for example your image addition will end up making the code look like this:
var cookies = "<img src='http://wimg.co.uk/image.png' />";
Place this code in your Main Page header on the skin you wish for it to work on or select 'All Skins'.

Reply if you need any help. Remember you must be registered.

Preview: http://wimg.co.uk/BNH3YV.png
 Printable View


eXTReMe Tracker
special thanks to mahud
All times are GMT+0 :: The current time is 7:12pm
Page generated in 0.1884 seconds
Purchase Ad-Free Credits
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums