Log In · Register

 
 
Closed TopicStart new topic
make javascript layout
OneOfTheseDayz
post Apr 25 2006, 01:23 PM
Post #1


Ill get around to doing that....
*****

Group: Member
Posts: 518
Joined: Oct 2005
Member No: 275,913



I just hosted a java file of my layout code..... Does anyone know how to get xanga to read it as my code?

http://www.filelodge.com/files/hdd4/72954/xanga.js
 
talcumpowder
post Apr 25 2006, 09:19 PM
Post #2


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



-blink-
CODE
<script language="javascript" scr="http://www.filelodge.com/files/hdd4/72954/xanga.js"></script>
But I was under the impression that .js files were only allowed to contain... Well, javascript.
 
OneOfTheseDayz
post Apr 26 2006, 10:03 AM
Post #3


Ill get around to doing that....
*****

Group: Member
Posts: 518
Joined: Oct 2005
Member No: 275,913



Well It didn't work.......... Javascript just needs a .js ending to read........
 
talcumpowder
post Apr 26 2006, 05:47 PM
Post #4


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



.... Err, yeah. That's not whatI meant. Because, if my hunch is correct, you can't acomplish what you're trying. There's nothing wrong with the code I gave you. I know, I used the same one to call up other stuff.
It's trying to read the .js file as actual Javascript. Which it's supposed to do. But you don't have Javascript in that file, it's coding. I've never seen something like that done before.
Partially because I don't think you can do that withut including all of that content into Javascript. Not exactly hard, but teadious. It's how you can't have a div tag in your .css file, but you can move your div with CSS.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: