PDA

View Full Version : Naive Question - javascript DISABLED problem


freshOne
02-12-2008, 03:42 AM
if the user disabled it, we can't enable it
so we either have to find an alternative or just ignore those users
but it's not that simple to find an alternative
it's not that practical to use a popup message to beg the user to enable it
and u can't just ignore it !!
wht do u people do :confused:

why people disable it anyway?!

Pegasus
02-12-2008, 03:45 AM
I try not to use javascript for vital things like menus any more. Or if I have to, I'll make sure that there's a plain text menu that sits underneath it.

As for why it's disabled, some people are concerned about the safety of the sites they visit, I guess. They don't want someone collecting information about their habits.

rangana
02-12-2008, 03:50 AM
Hi freshOne,
Taking this personally, I often disable javascript to keep pop-ups from coming.
I'm not aware personally of any major security risks. as it is the common reason of disabling javascripts.

freshOne
02-12-2008, 07:03 AM
I try not to use javascript for vital things like menus any more.
how do u display submenus without a script???
Or if I have to, I'll make sure that there's a plain text menu that sits underneath it.
u mean using <noscript> tag??

freshOne
02-12-2008, 07:05 AM
Hi freshOne,
Taking this personally, I often disable javascript to keep pop-ups from coming.
I'm not aware personally of any major security risks. as it is the common reason of disabling javascripts.
fair enough (as a user)
wht is the exit for this? (as a developer)

Pegasus
02-12-2008, 09:59 AM
You can use CSS to create menus and submenus, you know. I haven't tried that yet, but I will on the one site I'm doing up now. On another site, I'm using simple text links across the top and the submenus are on the left side of the page.

No, what I did was put down the submenu on the page and had the javascript menu positioned over top of it.

rangana
02-12-2008, 07:03 PM
fair enough (as a user)
wht is the exit for this? (as a developer)

I rarely use javascript because i'm fluent at CSS. Anyway, I don't see any work-around on how to enable a disabled javascript. :D

freshOne
02-17-2008, 03:25 AM
how do u guys create a menu using css???

rangana
02-18-2008, 07:12 PM
Just a pure text....and got playing with the display and hover effects...nothing unusual (for me) :D

freshOne
02-19-2008, 02:00 AM
got it, i'm checking some examples
thnx