PDA

View Full Version : First Line is Javascript


oceansunshine
11-07-2003, 17:34/05:34PM
Hi Everyone,

I am looking at a usage tracker. The service requires that the first line of each page be

<script scr="blah.js></script>
<HTML>
<Head>

So this thing comes before everything. Please would you share your opinions about how this may affect Google's crawling, and crawling in general? Is it better to try Log Analysis software than to mess with pages and make Google & others' spiders unhappy?




[Moved from Google forum to here. Please, please, please try to find the most appropriate place for new threads. You can read this (http://www.ihelpyouservices.com/forums/showthread.php?s=&threadid=7575) for further clarification. - Jill]

ihelpyou
11-07-2003, 17:57/05:57PM
hey Ocean, that's the classic line all of those stats programs tell you. Put it at the Very bottom of the page code and all will be fine.

g1smd
11-07-2003, 18:04/06:04PM
This should be fine at the end of the page:

<script src="blah.js type="text/javascript"></script>
</body></html>



Don't forget to correct your typo of scr to be src instead.

oceansunshine
12-07-2003, 15:08/03:08PM
Thanks to both of you! U guys are GREAT!!

G1, please can you explain how in the

<script src="blah.js type="text/javascript"></script>
</body></html>

the

type="text/javascript"

part operates?

Thanks again,

Kelly