JavaScript Links or onClick Links?
4 Comments Published by Rionald Soerjanto May 26th, 2010 in Technology, Website, Website DesignJavaScript links, or links with javascript in the href attribute, cause problems for visitors who either turn off or don’t have JavaScript support in their browsers. Not to be callous, but, in almost all cases, this percentage of your audience is small.
As a compromise, you can always use self-referential links that respond to onClick events. These links are easier for non-JavaScript browsers to handle, but then you have the problem of the browser jumping back to the top of the page. This inconveniences a larger cross-section of your audience than it helps.
If you really want to court the HTML purists, don’t use JavaScript on your site, period. However, if you want or need the extra functionality, JavaScript links work better than onClick links for the majority of your visitors.
4 Responses to “JavaScript Links or onClick Links?”
Leave a Reply
Search
Archives
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- January 2010
- December 2009
- August 2009
- May 2009
- March 2009
- January 2009
- August 2008
- July 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
Categories
- Blogging (1)
- Branding (5)
- Christian Values (1)
- Customer Relationship (5)
- Green Computing (1)
- Internet (4)
- Internet Sales (12)
- Internet Security (3)
- Miscellaneous (6)
- Motivation (8)
- News (16)
- Quotation (10)
- Sales (10)
- Social Media (12)
- Statistic Data (24)
- Technology (9)
- Uncategorized (2)
- Website (18)
- Website Design (23)
- Website Development Portfolio (17)
- Website Hosting (1)
- Website Metrics (4)
- Website Online Marketing (18)
- Website Search Engine Optimization (18)
that’s all cool & great post to read, thank you very much for sharing.
Thanks u r information
its very useful
great post my friend, very nice. congrats!
I’ve recently started a blog, the information you provide on this site has helped me tremendously. Thank you for all of your time & work.