ie7

Author Message

Paul Forsyth

Tuesday 20 April 2004 3:00:18 am

For those of you frustrated by the lack of progress of ie have a look at this page:

http://dean.edwards.name/IE7/

Dean has created custom files that fix ie css bugs plus it supports css that has never worked before on ie. All you need to do is link in a new css file.

It has a few performance problem as it stands but you can optimise it for your own use.

I tried it out and now i have :first-child and element hovers working :)

paul

--
http://www.visionwt.com

Alex Jones

Tuesday 20 April 2004 7:51:56 am

This is a very exciting project for for user interface design as it provides the designer/developer a lot of power missing from the world's most popular browser. I haven't had a time to play with it, but the demo pages on the site demonstrate that it works. Among the many helpful resources that the code will provide is the ability to have a set of hierarchical menus that don't need JavaScript (http://dean.edwards.name/IE7/compatibility/Pure%20CSS%20Menus.html). That alone provides a lot more flexibility in future admin interfaces, not to mention Web site interfaces. Add the ability to use common CSS2 selectors and we, as site developers will have much more control over how our work is displayed. We will finally be able to set up a container (DIVs, paragraphs, lists etc.) with a minimum and/or maximum widths as well as minimum heights. We will be able to manipulate the appearance of a container which holds a paragraph that has a specific ID or Class, ignoring any container that doesn't match that specific combination. Or for that matter, we could choose to hide any container that doesn't contain a paragraph with a specific ID or Class. And we can do all of this without involving the eZ publish engine.

For a CSS geek like me, this is big stuff. For those of you who aren't as involved in CSS, I you will find that your time would be well spent to learn a bit more about it. :)

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Clay Pereira

Thursday 13 May 2004 4:36:03 pm

Hi Paul could you see if I am adding ie-7 correctly to my pagelayout.tpl

<style type="text/css">
    @import url({"stylesheets/core.css"|ezdesign});

    @import url({"stylesheets/site.css"|ezdesign});
    @import url({"stylesheets/classes.css"|ezdesign});
    @import url({"stylesheets/cyberhome/classes-colors.css"|ezdesign});
    @import url({"stylesheets/cyberhome/site-colors.css"|ezdesign});
    @import url({"stylesheets/debug.css"|ezdesign});
</style>
{literal}
<!-- compliance patch for microsoft browsers -->
	<!--[if lt IE 7]><link rel="stylesheet"
href="http://demo.flypaperonline.com/design/shop/stylesheets/ie7-html.css" 

type="text/css"/><![endif]-->

	<!-- inline style -->
	<style type="text/css">

		input:hover {

			background: yellow;

		}

	</style>

Thank You
Clay

Paul Forsyth

Friday 14 May 2004 12:37:04 am

I think so. This is the code i use:

<!-- compliance patch for microsoft browsers -->
<!--[if lt IE 7]>
<link rel="stylesheet" href="/design/user/stylesheets/ie7-html.css" type="text/css"/>
<![endif]--> 

You may need to tell your web server to allow through .htc files. I had to here, with my virtual host configuration.

I also had a small problem with the javascript within the htc file that i fixed by hand. When i mailed Dean he said it affects a small percentage of people. Look out on his site for an update shortly - his front page suggests this.

paul

--
http://www.visionwt.com

Clay Pereira

Friday 14 May 2004 11:39:24 am

Thanks Paul.

Could you tell me what changes you made in the htc file. I still can't get it to work.

Paul Forsyth

Friday 14 May 2004 12:26:57 pm

If you look at the src:

http://dean.edwards.name/IE7/src/

The lines:

// html, xml, qirks mode?
var isXML = Boolean(ownerDocument.mimeType == "XML Document");
var isHTML = !isXML;
var quirksMode = Boolean(ownerDocument.compatMode == "BackCompat");

I changed to:

// html, xml, qirks mode?
var isXML = false;
var isHTML = !isXML;
var quirksMode = false;

For some reason the ownerDocument variable doesnt seem to be available. This was a quick hack, which made it work for me.

I hope this allows you to get it to work. Im away for a week on holidays now :)

Paul

--
http://www.visionwt.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 00:31:04
Script start
Timing: Jan 19 2025 00:31:04
Module start 'layout'
Timing: Jan 19 2025 00:31:04
Module start 'content'
Timing: Jan 19 2025 00:31:05
Module end 'content'
Timing: Jan 19 2025 00:31:05
Script end

Main resources:

Total runtime0.6970 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 588.7813152.5938
Module start 'layout' 0.00780.0052 741.375039.3906
Module start 'content' 0.01300.6828 780.7656611.2656
Module end 'content' 0.69580.0012 1,392.031316.2188
Script end 0.6970  1,408.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.5159160.0002
Check MTime0.00140.2037160.0001
Mysql Total
Database connection0.00160.235010.0016
Mysqli_queries0.628590.1702680.0092
Looping result0.00150.2165660.0000
Template Total0.652893.720.3264
Template load0.00260.368320.0013
Template processing0.650393.288420.3251
Template load and register function0.00030.037010.0003
states
state_id_array0.00240.349810.0024
state_identifier_array0.00130.187520.0007
Override
Cache load0.00220.3167440.0001
Sytem overhead
Fetch class attribute can translate value0.00070.095730.0002
Fetch class attribute name0.00200.293170.0003
XML
Image XML parsing0.00090.133930.0003
class_abstraction
Instantiating content class attribute0.00000.002270.0000
General
dbfile0.00080.1140160.0000
String conversion0.00000.001740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 30
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs