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?
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.
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.
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;
}
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 :clap:
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
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.
Re: [Support Thread] IE only JavaScripts and Stylesheets Addon
Quote:
Originally Posted by
Meshach
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. :blush:
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"?