JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 21st, 2002, 12:32 AM
Benahimvp's Avatar
Benahimvp Benahimvp is offline
The Basketball Star
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2001
Location: H-Town
Posts: 550 Benahimvp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
Send a message via AIM to Benahimvp Send a message via Yahoo to Benahimvp
If JavaScript is disabled

I know there have been many posts covering this topic, but I'm still not quite sure how to do what I want to do. Basically, all I want to do is if the person visits my home page and doesn't have JavaScript enabled, then a message will appear on the screen that says that they need to enable it in order to view my site. I'm having problems because I don't know where the <noscript> stuff shows up on the page. I guess I'll wait for help first before trying to go into the details of how I want it to look. Thanks!
__________________
-Ben Ilegbodu
(Around the Bend Web Designs)

Reply With Quote
  #2  
Old January 21st, 2002, 02:49 AM
Keiichi Keiichi is offline
aHVoPw==
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2001
Posts: 1,058 Keiichi User rank is Lance Corporal (50 - 100 Reputation Level)Keiichi User rank is Lance Corporal (50 - 100 Reputation Level)Keiichi User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 15 h 42 m 24 sec
Reputation Power: 14
the <noscript> tags only work for browsers with doesn't support JS or have it enabled, so just pretty much use your (java enabled) browser and remove the javascript section and the opening and closing <noscript> tags and the text will be there.
__________________
Visit my new IIS Tutorial Series!

Reply With Quote
  #3  
Old January 21st, 2002, 09:22 AM
Benahimvp's Avatar
Benahimvp Benahimvp is offline
The Basketball Star
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2001
Location: H-Town
Posts: 550 Benahimvp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
Send a message via AIM to Benahimvp Send a message via Yahoo to Benahimvp
Okay. And if I wanted it to be in place of some stuff that uses JavaScript, I'd put the <noscript> around the warning and <script> around the JavaScript stuff, right? Because the JavaScript stuff has some regular pictures, so those would show up and I don't want them to.

Reply With Quote
  #4  
Old January 21st, 2002, 03:16 PM
Keiichi Keiichi is offline
aHVoPw==
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2001
Posts: 1,058 Keiichi User rank is Lance Corporal (50 - 100 Reputation Level)Keiichi User rank is Lance Corporal (50 - 100 Reputation Level)Keiichi User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 15 h 42 m 24 sec
Reputation Power: 14
there's no point in puttin noscript tags around the script tags...


PHP Code:
for JS disabled browser

this
:
<
script language=Javascript>
<!--
//blah blah blah
//-->
</script>
<noscript>
You can see me!
</noscript>

is same as:
You can see me! 

Reply With Quote
  #5  
Old January 21st, 2002, 07:23 PM
Benahimvp's Avatar
Benahimvp Benahimvp is offline
The Basketball Star
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2001
Location: H-Town
Posts: 550 Benahimvp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
Send a message via AIM to Benahimvp Send a message via Yahoo to Benahimvp
You misunderstood what I said, but alright.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > If JavaScript is disabled

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap