Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
csshover.htc in TextPattern?
Hi everyone,
I’ve created a Web site that uses a modified version of Eric Myer’s pure CSS dropdown menu. With this, Internet Exploder relies on the csshover.htc file to work. However, I’ve only been able to get it work (offline) if the css file, the html, and the csshover.htc are all in the same directory.
I’ve tried a number of different things to get it to work but to no avail.
The site is currently in production at http://www.clayedwarddesign.com/nsa/
It works great in FF bec. it doesn’t rely on the htc file. Anyone have any ideas on how to implement this so it works fine in IE?
Regards,
Michael
Offline
Re: csshover.htc in TextPattern?
Make sure you link to the file relative to the root (ex: /ie/hover.htc). Son of Suckerfish dropdowns are easier to use though.
PS: check your site in Opera
Last edited by jm (2006-09-23 00:08:31)
Offline
Re: csshover.htc in TextPattern?
Thanks for getting back. I’m going to switch over to the SOS dropdowns instead.
And, I see what you mean about the menu in Opera… hideous.
Regards,
Michael
Offline
Re: csshover.htc in TextPattern?
In Eric Meyer’s book – More Eric Meyer in CSS, he talks about a discussion between those who defend that behavior should not be mimic(ed) using css, but javascript (or an other language…DOM?) instead.
Son of suckerfish has its own limitations so far, altough it´s very light and easy to use.
My question to textpattern users is: is there a standarts compliant and light alternative in javascript? in the meantime, i’ll be using SOSF
Last edited by patchwork (2006-10-01 14:54:08)
Offline
Re: csshover.htc in TextPattern?
Personally, I’d use whatever is the fastest method. JS is always more painful than CSS, in my opinion, and re-creating the menu with JS would be putting the CSS in the JS, like this:
el.style.left = 'auto';
I don’t see much benefit in using JS over CSS in this case.
Offline
Re: csshover.htc in TextPattern?
Stuart over at CSS PLAY has some pure css, no JS solutions. They are pretty good, though a little heavy on the markup, and use some conditionals that display tables for IE browsers to help them display correctly :(
I’ve yet to have a good discussion with anyone about the symantics of that, but they are worth checking out.
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Pages: 1