Forum Moderators: open

Message Too Old, No Replies

Javascript News scrollers

Search engines care?

         

dauction

8:59 pm on Mar 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do search engine bots really care if you are using JS , and can they read the text inside a JS script?

Want to add a small simple news scroller.

isitreal

9:39 pm on Mar 18, 2004 (gmt 0)

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



No they don't care, you just can't count on them reading any of your js.

there's ways around that, you can put the text inside divs that are set to visibility:hidden; or display:none;, then use document.getElementById(scroll_div_id).style.visibility..

etc to show them, that technique has to be tested pretty thoroughy cross browser to make sure it works everywhere.

That will make the text physically present on the page for search engines, but not visible for viewers until it's called by the js script.