Welcome Guest [Log In] [Register]
This board has been archived and is no longer accepting new questions. If you have a support question for your ZetaBoard, please visit us at the new support board. Registration is free and easy.


Visit the NEW ZetaBoards Support forum!

Username:   Password:
Add Reply
Add text to stats row links
Topic Started: Feb 25 2008, 12:47 PM (764 Views)
Tim
Member Avatar
Timmeh
[ *  *  *  * ]
It was a request from Gladstone, and I thought I may as well put it in here.
(Its a 2 line code, with 6 lines of correct syntax to make it acceptable.)
Just change variable called text on the 4th line.

Code:
 
<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
var text = "<a href='http://www.google.com'>Google</a> ·";
$("div#stats td.c_foot span").prepend(text);
});
//]]>
</script>


Posted Image
Edited by Tim, Mar 1 2008, 11:30 AM.
Offline Profile Quote Post Goto Top
 
gladstone
Member Avatar
Tomato.

I love you. =D
Offline Profile Quote Post Goto Top
 
Tim
Member Avatar
Timmeh
[ *  *  *  * ]
Code:
 
<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
var text = "<a href='http://www.google.com'>Google</a> ·";
$("div#stats td.c_foot span").prepend(text);
});
//]]>
</script>


Whoops, it added the links in other places too. Thats the fixed version.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · User Created Codes · Next Topic »
Add Reply