| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Remove/hide 'If Javascript is disabled in your browser click | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi, this question has possibly been asked before but has anyone found a way to hide or remove the 'If JavaScript is disabled in your browser click here' option. I guess there is a way to use a JavaScript detect script to switch the option on or off rather than placing text on the screen.
Thanks for any help. |
|||||||
#2
|
|||||||
|
|||||||
![]() I usually just remove that all together, but that is just me. Comment it out in auth.tpl.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() I thought about commenting it out but that doesn,t get rid of the
no javascript messages in the productpages, that's where i tell them how to switch on javascript. so just to be absolutely sure "if there is somebody out there who switched of javascript" i did this in auth.tpl and authbox.tpl Code:
that way it only shows up when javascript is switched off. Cheers Eddie |
|||||||
#4
|
|||||||
|
|||||||
![]() Quote:
WHY isn't this an automatic, "everyone must do this" mod? Thanks a zillion for figuring this one out. I use my wife as a test site... she doesn't know what javascript is, let alone if it is on or not on her iBook. I can assume that my customers barely know how to turn on their computer and I am grateful that they figured out how to get to my site. I will assume most everyone has js enabled, and for the few that don't, they know exactly what they're doing (and why they disabled it). "js off" is not a default on any brand name browser that I know of... Once again, the geeks (er, programmers) decided that this warning needs to be visible to all... but the customers couldn't care less. So this little bit of code takes the clutter away from 99% of the customers, and it makes the site less "geeky". Eddie, you ROCK! Thanks, Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#5
|
|||||||
|
|||||||
![]() Quote:
This bit of code does not detect if the users browser has JavaScript disabled. All this does is pass a variable to tell x-cart. Quote:
If you want to let your visitors know that your shop requires JavaScript, then you need to use another method of letting the user know, i.e. <noscript>.
__________________
X-Cart version 4.1.7 (unix) |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|