Arrow Vs. Hand on mouseover

jag5311's picture

They have: 202 posts

Joined: Jan 2002

I think I may have posted this question a while ago, but I have no clue where. I looked, but couldn't find it.

If I have cell rollovers for when the mouse hovers over the cell, all it shows is the arrow, when I want it to show the hand (I.e; make the whole cell a link) How can I do that without using images.

Thanks
Bryan

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

You want to make the whole cell a link?

Well the way I did it once was to just have one link, and to make the link span 100% :S but i'm not sure that's what your talking about.

Here's what I did:

.link {
color:#??????;
text-decoration:none;
width:100%;
}

Something

The site that I used this can still be found here:
http://www.nzoomwebchallenge.co.nz/chengeu

:S although i'm not sure if that's what your talkign about :S

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

cursor: hand;

jag5311's picture

They have: 202 posts

Joined: Jan 2002

Thanks Renegade

Could you elaborate some more Suzanne. Does automatically making the curser a hand make the cell a link itself?

Thanks
Bryan

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

Making it a hand just changes the appearance of the cursor. Doesn't make the cell a link. You emulate "linking" by using both onClick and cursor:hand; simultaneously. Smiling

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

yeah or can do what I did:

.link {
color:#??????;
text-decoration:none;
width:100%;
}

but modify the :hover psuedo class to this add one more line to it:

.link:hover {
color:#??????;
text-decoration:none;
width:100%;
cursor:hand;
}

Laughing out loud enjoy Laughing out loud

jag5311's picture

They have: 202 posts

Joined: Jan 2002

Thanks, I will give it a whirl

jag5311's picture

They have: 202 posts

Joined: Jan 2002

Is what you all have mentioned above similar to what Microsoft has done with their menu. But maybe with a width of like 80 or 90 % instead of 100 to give it that non-full look? I tried a different method earlier with my menu, by setting the

a:link a:active a:visited a:hover attributes a 90% width and 90% height , and I get a similar effect as Microsofts, but it doesn't work that well in Opera.

Does anyone have an example of a website that looks great and proper in another browser, but looks crappy in IE.

I have noticed alot of people say this and that browser is great, but they are the ones that people always have trouble with when incorporating their website into them.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

The issue is sadly that IE permits a great deal of sloppy coding. While on the surface, this seems to be a great idea (you can see everything!) it actually retards the growth of the web and promotes the idea that content should be constantly re-markedup for visual display only, which will eventually cost society dearly.

Getting the content marked up properly and then using standards will help us maintain important information for generations to come as well as reducing the overhead cost of producing more ephemerol items like ecommerce.

Now, lecturing aside, don't set the width/height for a elements. is an inline element, and widths really should be reserved for blockline elements only.

If you're trying to restrict the width, do it in the ul or div that holds the links.

jag5311's picture

They have: 202 posts

Joined: Jan 2002

So trying to get the effect that you can see on microsofts menu's isn't really appealing unless someone is on IE?

I am just trying to comprehend your last statement

"don't set the width/height for a elements. is an inline element, and widths really should be reserved for blockline elements only."

Thanks for the response Suzanne

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

I think what she means is that, the anchor tag should not really have width elements assigned to it, and should be reserved for blockline elements (what are blockline elements?) and those [width/height] elements are more for div,tables (except height) etc...

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

And that what looks good on Microsoft's site only looks good in IE. It often looks like crap on other browsers because Microsoft uses a lot of proprietary stuff, not standards to execute it. There are very nice cross-browser dhtml scripts, but MS is not the paragon to admire.

dhtmlcentral.com

MS's sites sport crap coding, bad coding practices and some very damaging precedents.

jag5311's picture

They have: 202 posts

Joined: Jan 2002

Well, the only thing about Microsoft is that they are MICROSOFT. SO regardless of the amount of users that uses other browsers, they are still getting millions among millions of hits a day from IE users along with those using Windows operating systems. Yea, if they would sport GOOD coding, then alot of other browsers would work, and they would get more coverage, but unfortuntely, I guess they don't care

jag5311's picture

They have: 202 posts

Joined: Jan 2002

Whoa, that site is awesome. Is that done using Layers, to minimize, maximize and close? Nice layout.

Bryan

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Thomas Brattli's "window" script is available from his site (above) -- it's in the "other" category.

Busy's picture

He has: 6,151 posts

Joined: May 2001

I think Microsofts deal is if they use crap code for their site (because only IE supports it) then people using other browsers would have to change to IE to view it as they set it out.
Remember when Microsoft tired to stop other browsers viewing their site? It backfired on them

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

yeah M$ hates competition and will try ANYTHING to get rid of them... damn microsoft...

pmj7's picture

He has: 234 posts

Joined: Nov 2002

While I don't agree with everything Microsoft does, I do think that people don't always look at things clearly. How does a fast food/oil/car/bank/department store/advertising company treat it's competition? "Hi there CEO of Wendy's, this is the CEO of McDonalds, did you know that you could get your potatoes cheaper by buying them..." Yeah right, that's gonna happen.

The goal of a business is to try and make as much money as it can following the rules set by the board, country it operates in, and the people it deals with (ie: consumers). That's not to say that a really competition-friendly, ethical company can't exist, it's just that those extra constraints mean it won't grow as fast as it's competition. Given everything else being equal.

Peter

Touchup image processing applet
Pixel Development Web Design, Photography

dk01's picture

He has: 516 posts

Joined: Mar 2002

I agree with Peter. I also beleive competition drives innovation and sometimes this is forgetten.
-dk

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

Yeah, I agree that innovation comes from competition, but... I can see this thread topic changing, I think i'll stop now Laughing out loud

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.