Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
links javascript instead of html
Name: mikag Date: May 11, 2006 at 04:43:26 Pacific OS: linux CPU/Ram: Pentium Product: AMD
Comment:
I would like to concentrate google's page rank in the index.php page of my site. That page has html links to the contact and about us pages. I don't want google rank going to those pages. I heard that spiders can't read javascripts and that would be perfect to 'hide' to the spider those outgoing links in the index.php while still being displayed to visitors in their Internet browsers. Which simple javascript widget can I use for the links? Thank you.
Name: mikag Date: May 12, 2006 at 06:19:38 Pacific
Reply:
Thanks, it works. My html 'a' css class has a hover version that changes the color of the 'Link' string. Can I simply do a <span class="a" onClick="...etc? How can I make the cursor change from an arrow to a finger when hovering over the 'Link' text as the usual a href tags do? Thanks again.
0
Response Number 3
Name: Michael J (by mjdamato) Date: May 12, 2006 at 09:40:55 Pacific
Reply:
I think you mena that you have applied style to the 'a' elements. That is not the same as a class and youcan not do that.
You can create a specail class for those DIVs and SPANs to give it the same functionality that you have for your regulary hyperlinks (changes on hover and changes mouse pointer - the latter is not well supported on all browsers.) But, an easier solution would just to use the onClink event in your regularyhyperlinks instead of using DIVs and SPANs like so (Changed <> to [] for forum purposes):
Summary: There is a video on VH1 that i would like to add to my buddyprofile and website. Problem is that it is a javascript:launchVideo. I dont know how to directly link it. Instead of having a link to the ...
Summary: I thought I answered the second part of your question in your last post. In your html pages where you want the menu to appear put [script language="javascrip" source="menu.js"][/script] Then in the me...
Summary: Hmm... i just tried it. Since i'm not home right now, the only browser i've got to test the "body instead of html" you mentionned is IE 5.5 and it does not work. I'll keep you posted. Thanks a lot. ...