Forum Moderators: open

Message Too Old, No Replies

can google see past a JS?

thinking of adding a JS

         

jlyons1234

3:57 am on Aug 12, 2003 (gmt 0)

10+ Year Member



hi

I have a standrard table with text links in it, Im thinking about replacing it with a nice menu interface, but its JS and will be towards the top of the page. Im sure google wont foolw my links in he JS right, but will google see past the JS, or just stop there?

thanks
jay

Sinner_G

6:50 am on Aug 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The bot will see the rest of your page, i.e. it will skip whatever is between the <script></script> tags.

jlyons1234

8:02 am on Aug 12, 2003 (gmt 0)

10+ Year Member



Hi,

can i simply put the links that were in the table im replacing, at the bottom of the page, and googe will follow these links just as they would the ones in the table at the top, and this would be a work around for losing those links to a JS menu?

jay

Sinner_G

8:08 am on Aug 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, you could do that or you could put your current table inside a <noscript></noscript> tag for all users who have JS disabled (including bots).

jlyons1234

8:25 am on Aug 12, 2003 (gmt 0)

10+ Year Member



Hi,

thank you. forgive me but my HTML is very poor. the simple JS line in the HTML to make the table is this..

<script menumaker src="cartoonbrows.js"></script>

so would that allready be concidered in the script /script to diable people with JS diable from getting an error? I suppose there not going to see it either way. and bots will now skip this JS table or follow the links?

thanks
jay

Jenstar

8:37 am on Aug 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Googlebot is seeing URLs used within javascript. <script></script> isn't the automatic ignore it once was. It will skip the javascript itself for indexing purposes, but it will recognize any URLs within the javascript.

Take a read through this thread [webmasterworld.com] and take a close look at msgs #10 and #25.

There was also another thread recently where someone confirmed that Googlebot did get the links that were within the javascript. It was posted within the last month or so, but I can't seem to find the thread. I can't recall if it was javascript right on the page, or if it was called externally.

<added>And here is another thread [webmasterworld.com] about Googlebot requesting external javascript files. Still looking for the one about Googlebot following the links...</added>

Sinner_G

8:50 am on Aug 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Seems I stand corrected. Still, I would use the <noscript> tag, as not all bots will read the URLs in JS and not every user has JS enabled. These will not see your menu. As for the bots, let's wait for the result of Jenstar's research, as it would be external JS.

Jenstar

8:59 am on Aug 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Still can't find it. Hopefully someone else flagged it or can remember the subject title.

You can use relative links, and Googlebot supposedly won't recognize them as being indexable URLs. ie. use /directory/page.html rather than [domain.com...] People seem to think it is recognizing the full URL within the script, and using it that way, but not partial/relative URLs.

jlyons1234

9:07 am on Aug 12, 2003 (gmt 0)

10+ Year Member



hi,

thanks for th read guys! so basically Im fine using this code?

<script menumaker src="cartoonbrows.js"></script>

thanks
jay

Jenstar

9:09 am on Aug 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You should be fine using a javascript - just don't put any super secret URLs that you don't want Googlebot knowing about ;)

Dave_Hawley

9:17 am on Aug 12, 2003 (gmt 0)



A basis HTML site map page can help Google a lot.

Dave

g1smd

10:24 pm on Aug 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



>> <script menumaker src="cartoonbrows.js"></script> <<

Not quite.

<script src="cartoonbrows.js" type="text/javascript" language="javascript"></script>

"Language" isn't required by modern browsers, but I leave it in anyway.

markdidj

12:06 am on Aug 13, 2003 (gmt 0)

10+ Year Member



I use a noscript iFrame menu system, but my pages are ranked really low or not indexed at all. Could this noscript-iFrame be a problem?

My pages have validated HTML and CSS. I use sounds alot, but they are all run by javascript, which, apparently, is not read. Some pages have no sound, and are very clean HTML apart from the noscript iFrame.

My header layout is
<h1>
<h2>
<h3>
text
<h3>
text
<h3>
Is there a problem here?

My site now works in all browsers, but some JS functions don't work in Opera, mainly sound.

The only thing that I can see that could be having a negative effect on my PR is the noscript-iFrame menu. Does anyone else use a similar system and if they do how are they ranked?

jlyons1234

12:27 am on Aug 13, 2003 (gmt 0)

10+ Year Member



G1smd,

Thanks for the correction on my code :P
I use the code you gave me and it works fine,

thanks alot!
Jay