free-articles-zone.com

תפריט Free Articles

Free Articles Authors

Publishers Zone

מאמרים
Free Articles


Free Articles DB search

How to handle web surfers, who disabled JavaScript


Category: Internet and Online Businesses  >>  Web-Development

By Michael Kashirin   [ 26/08/2005 ]
 | [ viewed 640 times ] Article word count: 359  

Publishing Free Articles Zone articles is subject to our Publisher's Terms Of Service

 Add to Favorites
 Email to a friend
 Publish this Article
 Print this article
 Article direct link
 email Article Author
 Report this article
                                                                                         

There are hundreds of millions of Web surfers today. Each of them uses one of multiple web browsers available now. You as a Webmaster create cool web pages that are full of graphic and JavaScript and look very impressive in modern web browsers like Internet Explorer or FireFox. But ask yourself: "How my cool web page will look like, if the web surfer use Linx browser (text based) or just disabled JavaScript support?" You may think that number of Linx browser users is quite small today and you can ignore them, but search engines spiders does not support JavaScript as well. You cannot ignore search engines in the modern world.

There are some safe ways how to handle search engines spiders and web surfers, who does not support JavaScript, at your web page.

One of the approaches is provided by HTML. It is a NOSCRIPT tag. You can enclose in NOSCRIPT tags HTML code that will be displayed in browsers that do not support scripting. You can place navigation hyperlinks here, if you use JavaScript menu for this purpose. Instead of content, dynamically generated by JavaScript, you can place some static text between NOSCRIPT tags. NOSCRIPT content is invisible for web surfers, who use modern web browsers, but it will be very useful for Linx users and search engines spiders.

The second, more flexible approach, is using of JavaScript. Yes, you can use JavaScript to handle visitors, who does not support JavaScript. It is simple. You can place at the web page HTML elements with the content that should be visible for these who does not support scripting. Then place at the bottom of the page simple script code that sets ".style.display" property to "none" for such elements. Therefore, if your web page is viewed in the browser, which supports scripting, script code will be executed and all additional elements become invisible. If your web page is viewed in the browser, which does not support scripting, script code will be ignored.

So, using these simple approaches, you can handle all possible web browsers and provide search engines spiders with additional relevant content, which is very important as well.

About the author:
Michael Kashirin is a webmaster of http://www.try-2-find.com Meta Search Engine and http://www.look-4it.com Meta Search Engine.

Article Source: http://www.Free-Articles-Zone.com


Article tags: javascript, HTML, NOSCRIPT, web, browser, scripting
 

     Recent articles about Web-Development

     Most popular articles about Web-Development

     More articles by Michael Kashirin

Recent article RSS  |  Business | Finance | Computers and Technology | Arts and Entertainment | Internet and Online Businesses | Health and Fitness | Self improvement | Sports and Recreation | Education and Reference | Fashion | Automotive | Legal | Home and Family | Travel | Food and Drink | News and Society | Shopping and Product Reviews | Communications | Insurance | Real Estate | Home Improvement | Pets | Cancer |
© 2008 All Rights Reserved. Free Articles | online marketing
Israel Travel | Israel Spa