insanity Banner


 
1 Skin | 4 Codes | 8 Premades

insanity :: roswell is that way ---> :: hopefully andriods never takeover :: invisionfree :: 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:37pm UTC)
<script>
var cookies = "Edit Here";
if (location.href.indexOf("act=Reg") != -1){
document.write("<center>"+cookies+"</center>");
}
</script>
Wow. Look how small that is! I don't get it with you people over at InvisionFree using MASSIVE codes to accomplish this? Use this one instead, runs faster, takes less space, stable, and doesn't have a penguin! Just edit the place that says 'edit here'.

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 board wrappers under 'Header & Body' place above:
<% BOARD %>
And below
<% BOARD HEADER %>
<% NAVIGATION %>
Reply if you need any help. Remember you must be registered.

Preview: http://wimg.co.uk/3gjHMx.png
Abra
New Member
*

[Avatar]

Posts: 7
Status: Offline
Joined:  

pm

Reputation: 0%  

Re: Content on Registration Page (23rd Sep 19 at 7:18am UTC)
Because it is how this script is written, the JavaScript itself uses the double quotation.
 Printable View


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