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
Links
Topic Started: Jul 8 2008, 07:44 PM (329 Views)
Thunder
Member Avatar
Thunder
[ *  *  * ]
In GenerationStudio's reputation code, he had:

Code:
 
// Don't edit below this line, thanks!
if (window.location.href.split(main_url)[1].split("/")[0] == "topic" || window.location.href.split(main_url)[1].split("/")[0] == "profile") {
document.write('<script src="http://generationstudio.net/codes/repsystem/rep.js"><\/script>')
}
//]]>


I looked at this part
Quote:
 
and wondered what the link lead to. I've seen links in lots of codes, but I don't know how you get them and all.

Main question: What are they, and what do they do?
Edited by Thunder, Jul 8 2008, 08:14 PM.
Offline Profile Quote Post Goto Top
 
Chris
Member Avatar
Member
[ *  *  *  * ]
Your browser will read this line:
Code:
 
<script src="http://generationstudio.net/codes/repsystem/rep.js"><\/script>


When it sees [src="http://generationstudio.net/codes/repsystem/rep.js"] it goes to that page ( http://generationstudio.net/codes/repsystem/rep.js ) and reads the content. That content is then executed as if it were normally in a script tag.
Offline Profile Quote Post Goto Top
 
Thunder
Member Avatar
Thunder
[ *  *  * ]
But why can't I get to that link?
Edited by Thunder, Jul 9 2008, 09:11 PM.
Offline Profile Quote Post Goto Top
 
RyuraGS
Member Avatar
Member
[ *  *  * ]
You should be able to.
Offline Profile Quote Post Goto Top
 
Chris
Member Avatar
Member
[ *  *  *  * ]
If your using an older version of IE you might not be able to see the contents.
Offline Profile Quote Post Goto Top
 
Thunder
Member Avatar
Thunder
[ *  *  * ]
What if I use FireFox?
Offline Profile Quote Post Goto Top
 
Chris
Member Avatar
Member
[ *  *  *  * ]
In Firefox you should be able to see the file fine. I think Version 1 couldn't do that; but 1.5 should.
Offline Profile Quote Post Goto Top
 
Thunder
Member Avatar
Thunder
[ *  *  * ]
Thank you!
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · jQuery Help · Next Topic »
Add Reply