homepage Welcome to WebmasterWorld Guest from 54.161.246.212
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Marketing and Biz Dev / General Search Engine Marketing Issues
Forum Library, Charter, Moderators: mademetop

General Search Engine Marketing Issues Forum

    
Will google pass juice from rel attribute?
lleemon

5+ Year Member



 
Msg#: 4296117 posted 1:09 pm on Apr 12, 2011 (gmt 0)

If we have a jQuery link like:

<a href="#" id="link1" rel="popup-page.html">Link text</a>

Will google see the rel url and pass juice to it?

 

yandr



 
Msg#: 4296117 posted 1:47 pm on Apr 12, 2011 (gmt 0)

This is really ugly. Why are you doing that?

lleemon

5+ Year Member



 
Msg#: 4296117 posted 3:22 pm on Apr 12, 2011 (gmt 0)

Looking for a jQuery lightbox that has a link in the lightbox.

That is how I am doing it today. Do you know of a better option?

phranque

WebmasterWorld Administrator phranque us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



 
Msg#: 4296117 posted 11:32 pm on Apr 12, 2011 (gmt 0)

the rel attribute is defined by conventional DTDs as being a Link type [w3.org] rather than a uri.

ergophobe

WebmasterWorld Administrator ergophobe us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4296117 posted 10:12 pm on Apr 14, 2011 (gmt 0)

<a href="popup-page.html" id="link1" onclick="window.open('popup.html');return false;">Link text</a>

Even better, use the DOM to hook into normal HTML so that it simply looks like

<a href="popup-page.html" class="lightbox">Link text</a>


I can't think of any reason for the <a href="#"> or <a href="javascript:blah blah blah"> syntax

phranque

WebmasterWorld Administrator phranque us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



 
Msg#: 4296117 posted 1:04 am on Apr 15, 2011 (gmt 0)

progressive enhancement:
it should work properly without javascript enabled.
then figure out how to make cool stuff happen with event handlers.
then make sure it is still usable without javascript.

ergophobe

WebmasterWorld Administrator ergophobe us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4296117 posted 10:08 pm on Apr 18, 2011 (gmt 0)

what phranque said - which is basically the theory behind the code I posted previously.

I was just forced to order 12 products from a site where every single link was javascript driven. Couldn't open in a new tab (thus no side-by-side comparison). Terrible. I would have abandoned if anywhere else had this stuff.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Marketing and Biz Dev / General Search Engine Marketing Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved