Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: [Support Thread] IE only JavaScripts and Stylesheets Addon

    In principle I'd suggest moving the IE stylesheet loading later and not proliferating them for individual pages.

    However, I haven't actually used an IE specific stylesheet for about two years and wondering what the use case was this? Did the html markup validate?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  2. #12
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: [Support Thread] IE only JavaScripts and Stylesheets Addon

    The person turned out to be trying to fix an HTML error that showed up on one page in IE with an IE-only stylesheet. I pointed him to asking in the forum for help fixing the root problem; however, this loading order situation remains valid.

    On considering all that would be required for page-specific IE-only stylesheets, I concluded that it was impractical.

    Unless anyone else comes up with a net downside case for it, I will submit an update to this mod with the IE-only stylesheet loading moved.

  3. #13
    Join Date
    Feb 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    Default Re: [Support Thread] IE only JavaScripts and Stylesheets Addon

    how do you get ie to ignor js files that apply to other browsers with this mod? I also cannot get ie even with this mod to keep from applying browser formattng to my input buttons. I duplicated the css styling from stylesheet_css_buttons.css that applies perfectly in opera, safari, firefox...but is all over the place in ie. IE continues to pull styles and pick and choose from the ie sheet. I gave my input tag in functions/html_output a class and it works in all those other browsers, but just WILL NOT in ie.

    I wouldn't care, but most of our customers come in through ie.

    any help appreciated. i'd be happy to post a link.

    BTW thanks for this mod.

  4. #14
    Join Date
    Feb 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    Default Re: [Support Thread] IE only JavaScripts and Stylesheets Addon

    i think i'm on to something...setting global variables at the beginning of the sheet:

    Code:
    /*global variables*/
    .cssButton, .cssButtonHover, .submitBtn, .submitBtn:visited, .submitBtn:hover, .submitBtn:active {
    margin:0px;
    padding:0px;
    background:none;	
    background-image:none;
    width :0px;
    border:none;
    font-size: 0px;
    }

  5. #15
    Join Date
    Sep 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: [Support Thread] IE only JavaScripts and Stylesheets Addon

    I have been trying to create css files for specific products, and while this works fine thanks to a great mod btw

    I have now run into the problems as GJH describes in his earlier post.

    I tried just putting the IE alphabetical statements below the per page statements thinking that would take care of it but when i try to create page specific sheets for the devils browser (IE) i have the issue that ie_p_416.css is loaded prior to ie_stylesheet.css

    thus undoing any work that i am trying to do by using page specific stylesheets.

    is it possible to use the page specific code (php) and just cram it into the IF IE statement?

    thanks for any help anyone can give me

    Neil Barby

    http://www.plasmainstalls.co.uk/index.php
    Last edited by neil_barby; 11 Mar 2011 at 01:29 AM. Reason: poor sentences

  6. #16
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: [Support Thread] IE only JavaScripts and Stylesheets Addon

    The page-specific IE code (as mentioned above) about triples the coding required, if done thoroughly and correctly. For most pages, you can apply page-specific rules in the main stylesheet (or IE stylesheet) using the body id for the page at the beginning of the selector (like #indexHomeBody .whatever {} or #shoppingcartBody .whatever {}). This can't distinguish between category listing and product listing pages, though. If you need finer control, you can use Smart Backgrounds to get a category, subcategory, product, ez-page, etc.-specific body class that can be used in the same way.

  7. #17
    Join Date
    Dec 2010
    Posts
    25
    Plugin Contributions
    0

    Default Re: [Support Thread] IE only JavaScripts and Stylesheets Addon

    Quote Originally Posted by Meshach View Post
    I modified Kuroi's CSS one to include JavaScript files also.

    I would have just released it as an update to his CSS one but I don't know if you're allowed to do that?

    Thanks for your patience and I'm sorry for the confusion.
    I still do not understand the purpose of this contribution. The documentation is rather sketchy. Where does one find iejscript.js I do not see this file in Zen Cart v1.3.9h.

    What is the exact usage of iejscript.js if it exists?

    Will this .js prevent the display of "error on page" or Done but with Errors in Internet Explorer"?

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Zen Lightbox addon [Support Thread]
    By Alex Clarke in forum All Other Contributions/Addons
    Replies: 3725
    Last Post: 20 Feb 2025, 05:46 PM
  2. Free Shipping Rules addon [Support Thread]
    By numinix in forum Addon Shipping Modules
    Replies: 36
    Last Post: 2 Dec 2016, 01:56 PM
  3. v151 Reviews Reply addon [Support Thread]
    By mikestaps in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 17 Oct 2014, 01:29 AM
  4. v151 Admin Master-Categories Link Icon addon [support thread]
    By gjh42 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 18 Oct 2012, 08:07 PM
  5. File Upload Required addon [Support Thread]
    By 1100101 in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 10 Dec 2011, 03:00 AM

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