Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-09-22 22:48:13

plusonetwo
Member
From: Seattle, WA
Registered: 2006-02-23
Posts: 18
Website

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

#2 2006-09-22 23:27:14

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

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

#3 2006-09-22 23:52:51

plusonetwo
Member
From: Seattle, WA
Registered: 2006-02-23
Posts: 18
Website

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

#4 2006-10-01 14:44:34

goncalo.dumas
Member
From: Lisbon
Registered: 2005-12-14
Posts: 97
Website

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

#5 2006-10-01 19:55:30

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

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

#6 2006-10-02 13:52:21

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

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.


Offline

Board footer

Powered by FluxBB