Page 2 of 2

Posted: Wed Jul 12, 2006 4:31 pm
by daedalus__
wow

i have it almost working sort of, i came up with a better design for it. i figure i will just position the images off the screen so they will get loaded, and then bump them in when a link gets hovered. that way they get preloaded and all such things.

i figured out why it wasn't working the other way though, and i remembered that i needed to mention something

the csshover.htc

it's the best thing for IE since.. anything.

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

you can get it there

Posted: Wed Jul 12, 2006 4:52 pm
by daedalus__
I did it. Now I just need to add text popups.

If you have FireFox you can view the CSS I used to make this all work, here is the site:

http://beta.apevibro.com/mouseover/

:):) easier than i thought

Posted: Wed Jul 12, 2006 6:07 pm
by Luke
hey... nice work!

Posted: Wed Jul 12, 2006 6:13 pm
by RobertGonzalez
Very nice. Can I steal it?

Posted: Wed Jul 12, 2006 6:27 pm
by MrPotatoes
Everah wrote:Very nice. Can I steal it?
haha, seriously

Posted: Wed Jul 12, 2006 9:14 pm
by daedalus__
yeah

as far as i am concerned html and css are public domain, i dont care whose website it is. if they dont want you to take they will make it difficult. :)

Posted: Wed Jul 12, 2006 10:50 pm
by RobertGonzalez
Thanks. I'll be thieverizing your code later on.

Posted: Thu Jul 13, 2006 12:13 am
by daedalus__
They want to be able to mouseover a state and then have it highlight the region that the state belongs too.

I haven't quite figured out how I want to do this yet but I am going to sleep for the first time since Saturday so i should have something tomorrow.

Posted: Thu Jul 13, 2006 12:52 am
by RobertGonzalez
Something else to look at... in FF, the divs are block level across the page, so now matter how far to the right your mouse goes, if you hover the link div anywhere on the screen you are activating the hover class. Go to the map and mouseover lower Texas to see what I mean.

Posted: Thu Jul 13, 2006 3:29 am
by SpiderMonkey
This sounds similar in basic principle to what I was trying to do here:

viewtopic.php?t=51384

And I was not able to get the rollovers working in IE at all (the reason its marked as solved is because the main bug was it not displaying correctly in IE 5 mac).

So, if you can get your thing working in IE, I'd like to see it.

Posted: Thu Jul 13, 2006 12:01 pm
by daedalus__
Everah:

Yeah, I saw that. I'm pretty sure I can fix that without breaking the page by simply setting their width.

SpiderMonkey:

I'm sorry, I didn't look over that thread but I can tell you how I got hovers to work correctly in IE.

I used csshover2.htc from http://www.xs4all.nl/~peterned/csshover.html.

It's a behavior for IE that makes hovers render correctly on any element, like in FF. It has done miracles for me.

Posted: Thu Jul 13, 2006 1:39 pm
by daedalus__
So, they want users to be able to mouseover their state on the map and have it highlight their region.

The only way that I can think of to do this is to map every pixel with a div..

Anyone have a better solution?

Posted: Fri Jul 14, 2006 6:36 am
by SpiderMonkey
Daedalus- wrote:SpiderMonkey:

I'm sorry, I didn't look over that thread but I can tell you how I got hovers to work correctly in IE.

I used csshover2.htc from http://www.xs4all.nl/~peterned/csshover.html.

It's a behavior for IE that makes hovers render correctly on any element, like in FF. It has done miracles for me.
404 :(

edit: got it. Silly fullstop