homepage Welcome to WebmasterWorld Guest from 54.211.47.170
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Newbie javascript question
Need help with javascript
Ove




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

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

 

Josk




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

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




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

Ok its the same to me :-)

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

/Ove

Josk




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

> 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




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

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

Josk




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

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




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

Yeah no problems

Thanks anyway i will read some books of it

/Ove

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved