10 replies [Last post]
seb
Offline
Enthusiast
Last seen: 13 years 45 weeks ago
Joined: 2003-09-20
Posts: 208
Points: 0

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

Certainly interesting - I was particularly excited by this sort of thing:

http://dean.edwards.name/IE7/compatibility/background-fixed.html

Tags:
Stu
Stu's picture
Offline
Enthusiast
Bristol uk
Last seen: 16 years 46 weeks ago
Bristol uk
Joined: 2004-01-20
Posts: 282
Points: 0

Anyone else seen this: IE7 "patch"

Looks good in theory but I think it is of little use when no-one is going to take it up. Most visitors will still browse with standard IE6, this will be for enthusiasts only.

BTW IE6 can be persuaded to do position fixed

http://www.stunicholls.myby.co.uk/layouts/fixed.html

and

http://www.stunicholls.myby.co.uk/layouts/body2.html

It's not what you do it's the way that you do it.
So do it with STYLE
http://www.s7u.co.uk

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Anyone else seen this: IE7 "patch"

I was thinking of posting on this subject too (beat me to it!) I was interested to hear other peoples opinions. I found this link also, that allows MS 'behavior' property to call a csshover.htc file that you have placed on the server, in effect it allows psuedo class :hover to work on any element just as it would do in mozilla etc . I have tried it out and it seems to work like a breeze; one of my concerns was with the use of the .htc file as I seem to recall a Security bulletin quite a while ago pointing out the danger of allowing these files to run on your system if from an unknown source and I added it as a blocked file extension in my firewall, but I know the purpose of the file and it's in a protected directory so it shouldn't pose a problem?

http://www.xs4all.nl/~peterned/csshover.html

Funny thing is the examples don't seem to work in IE as I think that the path to the file is incorrect! a quirk means that it is not relative to CSS file.
Stu how do you mean

Quote:
but I think it is of little use when no-one is going to take it up.
as the purpose is to allow all the properties/selectors that IE decided to leave out , such as child, attribute, png format etc to work. Seems a godsend as I would love to make use of 'attribute' . I think it may be a misleading title IE7 as it's not a browser but rather an extension running server side IE6 users will not be aware of any difference...or have I missed something about it's use (quite likely :roll: )

Be interested to hear if anyone has used it fully, if it's as easy as the csshover file to set up why isn't it more widely used/known?

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

seb
Offline
Enthusiast
Last seen: 13 years 45 weeks ago
Joined: 2003-09-20
Posts: 208
Points: 0

Anyone else seen this: IE7 "patch"

Stu wrote:
Looks good in theory but I think it is of little use when no-one is going to take it up. Most visitors will still browse with standard IE6, this will be for enthusiasts only.

No, you don't understand. It's a CSS file that you include on your website, and through clever use of IE behaviours it mimics much better CSS support.

I'll point out that it's in alpha though, and are probably some issues with it, but I think it could become a very useful tool in time?

seb
Offline
Enthusiast
Last seen: 13 years 45 weeks ago
Joined: 2003-09-20
Posts: 208
Points: 0

Anyone else seen this: IE7 "patch"

The CSS hover htc trick is cool too. I love these techniques where you just include one file and it does all the work automatically Smile

They have a menu based on it on that site, can't recall the URL but here's the version I'm in the process of customising:

http://www.raceshoot.com/menu.htm

Buggered if I can figure out how to work transparancy into it.

Adding filter: progid:DXImageTransform.Microsoft.Alpha(opacity=90); kills it:

http://www.raceshoot.com/menu2.htm

Stu
Stu's picture
Offline
Enthusiast
Bristol uk
Last seen: 16 years 46 weeks ago
Bristol uk
Joined: 2004-01-20
Posts: 282
Points: 0

Anyone else seen this: IE7 "patch"

Sorry, didn't word my answer very well.

What I intended to say was that only enthusiasts will bother to use this. Most website designers will continue to work with IE6 and it's faults.
It does make use of .htc files (which I believe require javascript enabled?)

It's not what you do it's the way that you do it.
So do it with STYLE
http://www.s7u.co.uk

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Anyone else seen this: IE7 "patch"

And there lies the real problem, I think it uses MS version of JavaScript
so I guess JavaScript disabled= all those lovely selectors failing in IE, you would still need to code alternatives just in case! ergo pointless!!, still having :hover is nice and if it breaks it's only an embelishment

As you say seb I love it's simplicity; one file one style rule and off you go.
I love it when things work first time Smile
Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 day 14 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Anyone else seen this: IE7 "patch"

Hi Guys,
I posted about this before http://www.csscreator.com/css-forum/sutra10013.htm

It is a great idea but it requires a large download and JavaScript enabled as mentioned above.

How do you disable JavaScript in IE?

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Anyone else seen this: IE7 "patch"

Now you mention it I do recall seeing your earlier post on the same subject :roll:
Disabling JavaScript ; not that easy in IE6 unless you know where to look and most people using it won't have a clue which I guess is one advantage ( I spend half my life trying to get inexperienced users to tighten up their internet security, changing permissions to prompt etc but I find it a loosing battle as I useally end up having to reset things as the alert boxes throw them!)

Disable Scripting IE6
Tools/internet options/security/ then select a zone click custom then scroll down to find 'active scripting' set to prompt or disable.

Large download ? the zip is 45kb, you do have to upload 41 files to the server but after that it's a single style sheet reference in your html enclosed in a IE conditional comment tag and away you go so says the blurb

I will probably end up never using it as the Jscript part is the worry
which is a shame as it looks like the guy has put a lot of hard work into this project, it's realy an impressive piece of work and it's been accepted by sourceforge.

Hugo.

P.S Tony, your mention of a prior post reminds me (as I fall guilty of this myself) there seem to be a lot of requests for help on problems covered already people don't appear to be attempting a 'search' before posting; maybe a sticky reminder?

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

seb
Offline
Enthusiast
Last seen: 13 years 45 weeks ago
Joined: 2003-09-20
Posts: 208
Points: 0

Anyone else seen this: IE7 "patch"

I was of the impression that htc files still worked with javascript disabled. Anyone know for sure, i.e. tested it?

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Anyone else seen this: IE7 "patch"

Seb good point, that's slightly confused me as I did try disabling active scripting in IE6 and sure enough my csshover failed to work; as you say I thought that .htc files would run regardless but thinking it through am I not correct in saying that Javascript/jscript is not a server side script but a client side one, the browser provides the engine for processing the script, .htc files relies on running the javascript to get it's bindings for the events, if javascript is disabled nothing is going to get processed.

Someone correct me if I'm wrong!

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me