Javascript, discussed before?

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
User avatar
DarsVaeda
Registered User
Posts: 87
Joined: Thu Feb 03, 2005 11:15 pm
Location: Germany
Contact:

Javascript, discussed before?

Post by DarsVaeda »

just plopped into my mind as i posted here:

as you need to have js activated to see font-colors, use bb-buttons and smilies,
wouldn't it be nice if a message appears somewhere saying:
"if you may be so kind as if to turn javascript on to be able to use any abilities that it offers"
or something similar...
Last edited by DarsVaeda on Sun Jan 28, 2007 6:03 pm, edited 1 time in total.
"They say time is the fire in which we burn."

TerraPedia.org

User avatar
Handyman
Registered User
Posts: 522
Joined: Thu Feb 03, 2005 5:09 am
Location: Where no man has gone before!
Contact:

Re: Javascript, discussed before?

Post by Handyman »

censoring profanities in that way is no better than just posting them.
We can all see them and know what it says and it doesn't make it any less rude!
Please refrain from saying that stuff in forums... for the rest of us.
My phpBB3 Mods || My Mod Queue
Search Engine Friendly (SEO) URLs || Profile link on Avatar and/or Username || AJAX Chat
Display Posts Anywhere || CashMod || AJAX Quick Edit || AJAX Quick Reply

Image

User avatar
DarsVaeda
Registered User
Posts: 87
Joined: Thu Feb 03, 2005 11:15 pm
Location: Germany
Contact:

Re: Javascript, discussed before?

Post by DarsVaeda »

rude? never thought that would be rude!
maybe translation was just inappropriate?
anyway i changed it...
"They say time is the fire in which we burn."

TerraPedia.org

User avatar
Handyman
Registered User
Posts: 522
Joined: Thu Feb 03, 2005 5:09 am
Location: Where no man has gone before!
Contact:

Re: Javascript, discussed before?

Post by Handyman »

DarsVaeda wrote: rude? never thought that would be rude!
maybe translation was just inappropriate?
anyway i changed it...

:) thank you!

Beta 5 is released :)
My phpBB3 Mods || My Mod Queue
Search Engine Friendly (SEO) URLs || Profile link on Avatar and/or Username || AJAX Chat
Display Posts Anywhere || CashMod || AJAX Quick Edit || AJAX Quick Reply

Image

Lieutenant Clone
Registered User
Posts: 161
Joined: Tue Feb 28, 2006 6:13 pm

Re: Javascript, discussed before?

Post by Lieutenant Clone »

DarsVaeda wrote: as you need to have js activated to see font-colors, use bb-buttons and smilies,
wouldn't it be nice if a message appears somewhere saying:
"if you may be so kind as if to turn javascript on to be able to use any abilities that it offers"
or something similar...


Thats a very tough one. Its hard to detect if Javascript is on or off. The only way I know of is to put a message on the page, and as soon as it loads, have javascript remove the message. That way if they don't have javascript, it can't remove the message. The issue with this ofcourse, is the message is displayed while the page is loading, regardless if you have javascript on or off.

Is there any way to detect Javascript in php through the passed HTML headers? Boy would that be nice...
Dennis Robinson
Image

User avatar
Handyman
Registered User
Posts: 522
Joined: Thu Feb 03, 2005 5:09 am
Location: Where no man has gone before!
Contact:

Re: Javascript, discussed before?

Post by Handyman »

in your template, you could just use

Code: Select all

<noscript>You don't have javascript enabled</noscript>
Anything inside a noscript tag gets displayed when you don't have javascript enabled.
My phpBB3 Mods || My Mod Queue
Search Engine Friendly (SEO) URLs || Profile link on Avatar and/or Username || AJAX Chat
Display Posts Anywhere || CashMod || AJAX Quick Edit || AJAX Quick Reply

Image

Lieutenant Clone
Registered User
Posts: 161
Joined: Tue Feb 28, 2006 6:13 pm

Re: Javascript, discussed before?

Post by Lieutenant Clone »

You know, I completly forgot about that little tag ;) .

Why would this not be standard then? With a little bit of javascript, you could fairly easily display a message saying that javascript is disabled, instead of the bbcode buttons all together... Just have the buttons invisible, and have javascript make them visible on load, and then put a <noscript> tag right below with instructions on how to use bbcode manually or something.

It just makes sense IMO. Don't display what they cant use.

On a side note, does any one know of any statistics of how many people browse with javascript disabled (not including cellphones and PDA's)?
Dennis Robinson
Image

SamG
Registered User
Posts: 1241
Joined: Fri Aug 31, 2001 6:35 pm

Re: Javascript, discussed before?

Post by SamG »

"I hate trolls!" - Willow Ufgood

Lieutenant Clone
Registered User
Posts: 161
Joined: Tue Feb 28, 2006 6:13 pm

Re: Javascript, discussed before?

Post by Lieutenant Clone »

Interesting statistics. The steady incline of firefox and safari users, (despite IE7 being released) is rather Sexy...

10% of people browse with Javascript disabled according to w3. I wonder if that accounts for things like Cellphones/PDA's and similar devices? And I wonder how many of those people would allow Javascript on your website if they trusted it/needed it.

IMO, It just seens silly to disable javascript these days. There are few, if any security holes anymore, and it can detect if, say a script is hogging all your CPU or Memory and alert you. Plus many, many websites use javascript now, without any options for non-javascript users.
Last edited by Lieutenant Clone on Thu Feb 01, 2007 4:16 am, edited 1 time in total.
Dennis Robinson
Image

User avatar
Handyman
Registered User
Posts: 522
Joined: Thu Feb 03, 2005 5:09 am
Location: Where no man has gone before!
Contact:

Re: Javascript, discussed before?

Post by Handyman »

8 people still using Netscape 1?!?!?!?!
Argh! 83% still using IE for the first website :(
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Additionally, a 503 Service Temporarily Unavailable error was encountered while trying to use an ErrorDocument to handle the request.

Looks like they limit the number of clicks you put on the months :?

My site has 59.4 % using IE and 25% using Firefox.
I have watched that number climb very nicely... but not as rapidly as I would hope.
My phpBB3 Mods || My Mod Queue
Search Engine Friendly (SEO) URLs || Profile link on Avatar and/or Username || AJAX Chat
Display Posts Anywhere || CashMod || AJAX Quick Edit || AJAX Quick Reply

Image

Post Reply