PDA

View Full Version : Non-JavaScript way to create a JavaScript Effect?


bacterozoid
10-17-2002, 12:00 AM
Loading a .js file from an outside source, I've used it, overused it, and all sorts of stuff, but is their a way other than


<script language="Javascript" src="http://www.x.com/x.js"></script>


to accomplish this?

Thanks!

beetle
10-17-2002, 12:08 AM
No. And....why?

bacterozoid
10-17-2002, 12:21 AM
Lol, was just kinda curious. So much is possible, ya never know if you can do something like that. It's also a nice way around initially using JavaScript, which some sites don't you use, lol. Evil me, eh?

whammy
10-17-2002, 12:32 AM
You could have a server-side language include it using a different file extension, which writes the javascript - but the end effect will be the same... so no use doing that (unless you need to change something in the javascript dynamically server-side first)...

bacterozoid
10-17-2002, 12:45 AM
Yup, well I don't do any SSI, lol. I've never had my own server or wanted to pay to have it hosted. Heh, well thanks fer the help!

whammy
10-17-2002, 12:46 AM
If you're on a Windows system you can install IIS or PWS if you want to try out some ASP. ;)

bacterozoid
10-17-2002, 12:48 AM
Yeah, lol, I am not too into ASP, but it is nifty. I wouldn't be able to do a whole lot, and would prefer to wait till I had my own computer to install anything that has to do with it, I wouldn't be able to put it to good use.

zoobie
10-17-2002, 03:25 AM
Sure there is...

<script type="text/javascript" src="http://www.x.com/x.js"></script>

Heh heh :D

bacterozoid
10-17-2002, 03:27 AM
Lol, you think that's funny, don't you? Well...alright, it is, lol. Intelligent donkey. :P