Username: Save?
Password:
Home Forum Links Search Login Register*
    News: Welcome to the TechnoWorldInc! Community!
Recent Updates
[May 13, 2025, 02:04:25 PM]

[May 13, 2025, 02:04:25 PM]

[May 13, 2025, 02:04:25 PM]

[May 13, 2025, 02:04:25 PM]

[April 12, 2025, 01:54:20 PM]

[April 12, 2025, 01:54:20 PM]

[April 12, 2025, 01:54:20 PM]

[April 12, 2025, 01:54:20 PM]

[March 12, 2025, 03:05:30 PM]

[March 12, 2025, 03:05:30 PM]

[March 12, 2025, 03:05:30 PM]

[March 12, 2025, 03:05:30 PM]

[January 03, 2025, 03:29:12 PM]
Subscriptions
Get Latest Tech Updates For Free!
Resources
   Travelikers
   Funistan
   PrettyGalz
   Techlap
   FreeThemes
   Videsta
   Glamistan
   BachatMela
   GlamGalz
   Techzug
   Vidsage
   Funzug
   WorldHostInc
   Funfani
   FilmyMama
   Uploaded.Tech
   Netens
   Funotic
   FreeJobsInc
   FilesPark
Participate in the fastest growing Technical Encyclopedia! This website is 100% Free. Please register or login using the login box above if you have already registered. You will need to be logged in to reply, make new topics and to access all the areas. Registration is free! Click Here To Register.
+ Techno World Inc - The Best Technical Encyclopedia Online! » Forum » THE TECHNO CLUB [ TECHNOWORLDINC.COM ] » Programming Zone » Javascript
  How to handle web surfers, who disabled JavaScript
Pages: [1]   Go Down
  Print  
Author Topic: How to handle web surfers, who disabled JavaScript  (Read 1034 times)
Daniel Franklin
TWI Hero
**********


Karma: 3
Offline Offline

Posts: 16647


View Profile Email
How to handle web surfers, who disabled JavaScript
« Posted: September 29, 2007, 10:24:29 AM »


 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.

Articles Source - Free Articles

Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Copyright © 2006-2023 TechnoWorldInc.com. All Rights Reserved. Privacy Policy | Disclaimer
Page created in 0.713 seconds with 25 queries.