If you have any questions about this add-on ask them here and I'll try to help out.
Printable View
If you have any questions about this add-on ask them here and I'll try to help out.
Oops!
I didn't realize the add-on would take days to approve on average so I posted a support thread for it before submitting it. (I don't know what I was thinking by not giving a description). :wacko:
The add-on (which hasn't been approved yet) allows you to auto-load specific JavaScripts or Stylesheets for IE.
Sorry for the inconvenience. :oops:
If a moderator would remove the topic I would appreciate it.
How is it different from this existing addon? http://www.zen-cart.com/index.php?ma...roducts_id=493
As long as it works and you're willing to support it, extending and improving existing code is what open source is all about.
The two contribs have been combined.
Ok, thanks for the explanation/help, Kuroi and DrByte.
I will be reading up on all the add-on creation information before making/extending any more add-ons.
Thanks!
This helped out HUGE!...thanks for contributing your work!
I examined a version of this mod while helping someone, and noticed that it loads all IE-specific stylesheets before page/cat/etc-specific stylesheets.
This means that it is not possible to add IE-only styling that overrides page-specific styling.
I would like opinions on whether there would be any downside to moving the IE-only stylesheet loading to after the page-specific stylesheets.
It would be possible to do IE-only page-specific stylesheets, but that would add a large chunk of code to the file, about tripling the page-specific section, plus requiring filtering for all those potential files in the first IE-only section (another doubling or so).
An alternative to moving the IE stylesheet loading would be to put page-specific styling rules in the IE-only file(s). That would work fine in many cases, but would require knowledgeable action by every user.
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?
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.
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.
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;
}
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
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.
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"?