Welcome to WebmasterWorld Guest from 54.211.101.8

Forum Moderators: open

Newbie javascript question

Need help with javascript

   

Ove

1:43 pm on Feb 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If i got this in the top of a page before <html>
<SCRIPT SRC="http://insight_/http://www.mysite.com//ins.js"></SCRIPT>

What does this do?

/Ove

1:53 pm on Feb 14, 2003 (gmt 0)

10+ Year Member



Should load in a javascript file to be used. Notice the difference between Javascript and Java. They are not the same! (It's like comparing Esperanto with English...)

Ove

1:55 pm on Feb 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ok its the same to me :-)

Could it be bad to have it? for the se's or does it matter at all

/Ove

2:01 pm on Feb 14, 2003 (gmt 0)

10+ Year Member



> Ok its the same to me :-)

Please don't say that. I had a boss who did. Made him look very clueless when he kept confusing the to. Pity I wasn;t contract, then I would have charged him as a Java developer, rather than as Javascript one.

> Could it be bad to have it? for the se's or does it matter at all

For searchengines, its actually better to import the source from a seperate file. This keeps your html files smaller (faster download) and removes obsuring javascript code from the html file. Javascript may confuse some spiders.

It also makes life easier for human developers.

Ove

2:11 pm on Feb 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ok iam sorry i installed some cd from Nielsen Nettrading some stat prog and i see i got that line for every site i visiting hehe you learn somthing every day neilsen is logging me :-)

/Ove

2:15 pm on Feb 14, 2003 (gmt 0)

10+ Year Member



No problem.... It can be confusing (I wasn't meaning to flame, just point out the difference before someone who isn't so nice does...)

Ove

2:18 pm on Feb 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yeah no problems

Thanks anyway i will read some books of it

/Ove

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month