homepage Welcome to WebmasterWorld Guest from
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 / Cloaking
Forum Library, Charter, Moderator: open

Cloaking Forum

Javascript onclick links
overriding html <a href ="#none"...

 6:54 pm on Oct 12, 2005 (gmt 0)

I use anchor links with Javascript like -

<a href="#none" onclick="Javascript:displayImage('...')" target="_blank"><img ...><p>Larger Version.</a>

Sometimes without the text 'Larger Image' too.

Is this consider cloaking or bad practise?



 7:41 pm on Oct 13, 2005 (gmt 0)

I'm not sure what this accomplishes, but it's definitely not cloaking.


 8:58 pm on Oct 13, 2005 (gmt 0)


I'm just searching for possibilities as I lost 90-95% of Googles traffic since early June in the 'American Whisky' update. Not commercial, but I would like to know or at least have some idea why.

The anchor link does does two things:-

1. Scroll to the top of page in this case because there is no valid <a name="none"> anchor on the page, if there was a valid anchor name link in IE it would bring it to the top of page if it was off screen.

2. Load a pop-up window with the larger image, when you click on the image or the text 'larger image'. Just an option if you want a bigger picture without downloading it onto the page.


 3:31 am on Oct 14, 2005 (gmt 0)

By "American Whiskey" I'm guessing you mean the "Bourbon" update :)

I don't think the javascript would cause you problems with Google.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Marketing and Biz Dev / Cloaking
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