Forums / Built-in Shipping and Payment Modules / Safari State field not hiding

Safari State field not hiding

Locked

Views: 1,991

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
30 Jan 2007, 3:57 AM
#1
catangirl avatar

catangirl

New Zenner

Join Date:
Jan 2007
Posts:
45
Plugin Contributions:
0

Safari State field not hiding

We have set up our Zen Cart to use a dropdown menu for the state field, so we can do the New York County taxes properly.

In the Safari browser on the Mac, the State fill-in field does hot hide properly when it is disabled, so there is a State dropdown AND a State fill in field. It is not a problem in Firefox on the mac or on a windows machine.

What is the best way to fix this?

Thanks.

30 Jan 2007, 5:26 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Safari State field not hiding

sounds like safari's not honoring either the javascript or the css or both.

The code in jscript_addr_pulldowns.php and the css for .hiddenField and .visibleField are the critical components there.

Perhaps you have CSS components that are invalid higher up in the CSS file and thus the .hiddenField stuff isn't being seen so can't be used, or perhaps your javascript components for the affected pages are not uploaded properly.

Or, maybe it's as simple as the possibility that your Safari browser has Javascript disabled, and thus the page is operating as it's supposed to in that situation.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

10 Apr 2007, 4:51 AM
#3
funkey avatar

funkey

New Zenner

Join Date:
Jul 2005
Posts:
85
Plugin Contributions:
0

Re: Safari State field not hiding

catangirl:

We have set up our Zen Cart to use a dropdown menu for the state field, so we can do the New York County taxes properly.

In the Safari browser on the Mac, the State fill-in field does hot hide properly when it is disabled, so there is a State dropdown AND a State fill in field. It is not a problem in Firefox on the mac or on a windows machine.

What is the best way to fix this?

Thanks.

It appears some of the contributed templates have this problem -- the 'Nightfall' template is one such example, it needs the following code added to it's stylesheet.css file in order to get the redundant state file to hide properly:

.hiddenField {
       display: none;
}
.visibleField {
       display: inline;
}

Hope that helps.

19 Dec 2008, 10:51 AM
#4
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Re: Safari State field not hiding

Ok, great, this helped for me too in Firefox, Safari etc. Thanks!

I may be blond but at least I found Zen.