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


Posts: 123
Status: Offline
Gender: Male


Reputation: 0%  

Content on Registration Page (2nd Feb 09 at 4:37pm UTC)
var cookies = "Edit Here";
if (location.href.indexOf("act=Reg") != -1){
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='' />";
Place this code in your board wrappers under 'Header & Body' place above:
<% BOARD %>
And below
Reply if you need any help. Remember you must be registered.

New Member


Posts: 7
Status: Offline


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 10:37pm
Page generated in 0.6196 seconds
Purchase Ad-Free Credits
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums