Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
there is this nice java script for bookmarking a site:
var txt = "Bookmark this site"; var url = "http://www.mydomain.com"; var who = "My Domain";
var ver = navigator.appName;
and i was reading brett's successful site in 12 months and there is this point where he says it would be better not to use java script because SE spiders don't like it.
my question: how really bad is the above bookmark-java script for spiders?
[ edited by: HuhuFruFru at 6:08 pm (utc) on Feb. 27, 2003]
how do i do this? jatar_k
put your code in a file with a js extension and then put this on the page.
[ edited by: jatar_k at 6:14 pm (utc) on Feb. 27, 2003] Birdman
Hmmm... Is my method wrong? It works on my browsers. g1smd
You'll need the
type attribute to keep the W3C HTML validator [ validator.w3.org] happy, and the language attribute for really old browsers. HuhuFruFru
aahhh coool, very nice, thank you!
and when i do it external, then there is no problem with the spiders, right?
You get a similar advantage for CSS by using external files for that, too.
very nice g1smd, thank you :)