Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2007
    Posts
    45
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,380
    Blog Entries
    7
    Plugin Contributions
    274

    Default 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.

  3. #3

    Default Re: Safari State field not hiding

    Quote Originally Posted by catangirl View Post
    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:

    Code:
    .hiddenField {
           display: none;
    }
    .visibleField {
           display: inline;
    }
    Hope that helps.

  4. #4
    Join Date
    Sep 2005
    Posts
    460
    Plugin Contributions
    0

    Default 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.

 

 

Similar Threads

  1. database state field not populating
    By Ardoon in forum General Questions
    Replies: 6
    Last Post: 13 May 2013, 12:45 PM
  2. State problem with new account (when making state field not required)
    By earmsby in forum Managing Customers and Orders
    Replies: 9
    Last Post: 13 May 2007, 10:04 PM
  3. Extra state field when using Safari browser- How to get rid of it?
    By catangirl in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 31 Jan 2007, 07:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR