473,411 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

horizontal row div menu

Hi,
I'm working on a horizontal row menu, to use like folder tabs. Does
anyone know what the CSS style "cursor" is supposed to produce? Any working
samples? I put it in the code, but can't see anything resolve.
http://www.w3schools.com/css/pr_class_cursor.asp

It's probably staring right at me, but can someone tell me why hover isn't
working in IE, but does in Mozilla?
http://wholives.com/temp/tabs.htm
me
Jul 21 '05 #1
15 9146
On Sat, 19 Feb 2005 22:03:02 -0600 theo wrote:
Hi,
I'm working on a horizontal row menu, to use like folder tabs. Does
anyone know what the CSS style "cursor" is supposed to produce? Any
working
samples? I put it in the code, but can't see anything resolve.
http://www.w3schools.com/css/pr_class_cursor.asp It's probably staring right at me, but can someone tell me why hover
isn't
working in IE, but does in Mozilla?
http://wholives.com/temp/tabs.htm
me

onmouseover="style='cursor:hand;'"

This would change the cursor arrow to a hand when the mouse is over the
item.
Used in some cases to show that there is a link when it is not an underlined
link.
Jul 21 '05 #2
On Sat, 19 Feb 2005 22:03:02 -0600, theo <th**@nospam.com> wrote:
I'm working on a horizontal row menu, to use like folder tabs. Does
anyone know what the CSS style "cursor" is supposed to produce?


If the horizontal menu is created with ordinary text links, like it should be,
that the cursor will adapt to normal link behaviour. And that is what is good
for your visitors, since they know exactly what to expect with a cursor behaving
like that.

--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'
Jul 21 '05 #3
On Sun, 20 Feb 2005 02:56:48 -0600, Richard <An*******@127.001> wrote:
On Sat, 19 Feb 2005 22:03:02 -0600 theo wrote:
Hi,
I'm working on a horizontal row menu, to use like folder tabs. Does
anyone know what the CSS style "cursor" is supposed to produce? Any
working
samples? I put it in the code, but can't see anything resolve.
http://www.w3schools.com/css/pr_class_cursor.asp
It's probably staring right at me, but can someone tell me why hover
isn't
working in IE, but does in Mozilla?
http://wholives.com/temp/tabs.htm
me


onmouseover="style='cursor:hand;'"


That is javascript, you dumbass. OP asks for CSS style.
This would change the cursor arrow to a hand when the mouse is over the
item.


If you need a javascript to produce that behaviour, you did something very
stupid to start with in the markup of your page.
But then again, it's RtS talking here.

To OP: ignore all that Richard ever writes or has written. Google for RtS in any
of the web authoring groups to find out why. He has no relevant knowledge on the
subject and continues to advise people in here with the most stupid thoughts and
ideas ever seen in these groups.
--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'
Jul 21 '05 #4
On 20 Feb 2005 10:32:55 +0100, Barbara de Zoete <b_********@hotmail.com> wrote:
On Sat, 19 Feb 2005 22:03:02 -0600, theo <th**@nospam.com> wrote:
I'm working on a horizontal row menu, to use like folder tabs. Does
anyone know what the CSS style "cursor" is supposed to produce?


If the horizontal menu is created with ordinary text links, like it should be,
that the cursor will adapt to normal link behaviour. And that is what is good
for your visitors, since they know exactly what to expect with a cursor
behaving like that.

http://wholives.com/temp/tabs.htm


Forgot to mention: (I can see you started out with my example menu :-) ) You
forgot to put

a {
display:block;
width:100%; }

in there somewhere (for the links in your menu). If you add that, your visitor
can click on any part of the 'tab' and get linked through. Probably this is what
you needed in the first place, so forget what I said before (and _do_ ignore all
that RtS writes).
--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'
Jul 21 '05 #5
Barbara de Zoete wrote:
onmouseover="style='cursor:hand;'"
That is javascript, you dumbass. OP asks for CSS style.


.... and hand isn't a valid value for that property anyway. That effect is
achieved with "pointer".

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 21 '05 #6
On Sun, 20 Feb 2005 10:54:38 +0000, David Dorward <do*****@yahoo.com> wrote:
Barbara de Zoete wrote:
onmouseover="style='cursor:hand;'"

That is javascript, you dumbass. OP asks for CSS style.


... and hand isn't a valid value for that property anyway. That effect is
achieved with "pointer".


You're right. Although IE doesn't seem to support 'pointer' as a value for the
cursor property. But then again, we all know what the resemblance between RtS
and IE (for Win) is :-D









They're both crap and therefore either hated or not taken seriously, depending
on how long ago one found out.

--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'
Jul 21 '05 #7
Barbara de Zoete wrote:
Richard (RtS) wrote:

<snip>
onmouseover="style='cursor:hand;'"

That is javascript, you dumbass. OP asks for CSS style.

<snip>

It isn't even javascript, just another nonsense product of a deranged
mind. The javascript would be more like:-

onmouseover="this.style.cursor = 'hand';"

- and still not do anything useful on a non-IE browser.

Richard.
Jul 21 '05 #8
On Sun, 20 Feb 2005 12:02:19 -0000, Richard Cornford
<Ri*****@litotes.demon.co.uk> wrote:
Barbara de Zoete wrote:
Richard (RtS) wrote:

<snip>
onmouseover="style='cursor:hand;'"

That is javascript, you dumbass. OP asks for CSS style.

<snip>

It isn't even javascript,


Just shows how much I know on _that_ subject :-D I have no knowledge on
javascript at all.

Thanks for completing the comment I was trying to make.

--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'
Jul 21 '05 #9

Forgot to mention: (I can see you started out with my example menu :-) ) You forgot to put
a {display:block;width:100%}in there somewhere (for the links in your menu). If you add that, your visitor can click on any part of the 'tab' and get linked through. Probably this

is what > you needed in the first place, so forget what I said before (and
_do_ ignore all > that RtS writes).
http://wholives.com/temp/tabs.htm>


Barb and all,
I added the display/width styles, as you suggested.
Yes, your example from last week or so. Thanks, so much,
as I'd never seen it done as a list. IE refuses the hover styling
for the <li> items, so I added a class to <a> to make it work
and keep it seperate (not yet uploaded).

I'm considering trying to learn dynamic web pages, scripting, but see
that it's quite a task. Any opionions on where to start. ASP, PHP,
JavaScript, Perl, Python. Just want to learn the basics, fairly simple
introduction. My domain hosting doesn't allow cgi, etc., so also
wondering what suggestions might be out there. They do allow js.
Just want to start with basic assembly, grab this and grab that, to render
a few pages.

thanks..
me
Jul 21 '05 #10
Barbara de Zoete wrote:
You're right. Although IE doesn't seem to support 'pointer' as a value for
the cursor property.


Version 6 does. Its only the obsolete security nightmares that don't.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 21 '05 #11
> Version 6 does. Its only the obsolete security nightmares that don't.
David Dorward


Hi,
I'm using 6, and can't see anything resolve. That's why I used an image,
instead. I left it in the code. It could be the order or something. I
honestly have no idea of what I'm supposed to see, what it's supposed to do.
w3 had no examples. It's shaping up.
http://wholives.com/temp/tabs.htm>


me
Jul 21 '05 #12
theo wrote:
Version 6 does. Its only the obsolete security nightmares that don't.
David Dorward

Hi,
I'm using 6, and can't see anything resolve. That's why I used an image,
instead. I left it in the code. It could be the order or something. I
honestly have no idea of what I'm supposed to see, what it's supposed to do.
w3 had no examples. It's shaping up.

http://wholives.com/temp/tabs.htm>


Remove your:
cursor: crosshair, pointer, s-resize, default;
and replace it with:
cursor: pointer; cursor: hand;

Do not reverse those two values! If you write your styles as shown
above, then Mozilla will see the first value and ignore the second, so
you get pointer. In IE5.x/Win, it sees both and uses the second, so you
get hand. If you reverse the values, then Mozilla will be okay, but
IE5.x/Win will see both and try to use the second. That won't get you
the little hand-pointer icon in IE5.x/Win.

A caveat: following the approach recommended here will prevent the
stylesheet from validating since:
cursor:pointer; is W3C compliant.
cursor:hand; is MS proprietory.

Additionally, Netscape's "DevEdge" (when it was still up) stated:

To avoid unexpected problems, authors are strongly encouraged to include
element names in dynamic-state pseudo-classes that are meant to be
applied to hyperlinks. Furthermore, combining pseudo-classes prevents
hover styles from being applied to non-hyperlink anchors. Thus, a:hover
should always be used instead of just :hover, and a:link:hover (and
a:visited:hover) are preferred to the simpler a:hover.

--
Gus
Jul 21 '05 #13
theo wrote:
I'm considering trying to learn dynamic web pages, scripting, but see
that it's quite a task. Any opionions on where to start. ASP, PHP,
JavaScript, Perl, Python. Just want to learn the basics, fairly simple
introduction. My domain hosting doesn't allow cgi, etc., so also
wondering what suggestions might be out there. They do allow js.
Just want to start with basic assembly, grab this and grab that, to render
a few pages.


Without CGI access, I'd say your best first choice (if your server
supports it) is php. A server administrator's, which has need of CGI,
best choice would be Perl to go along with other languages used.

--
Stan McCann "Uncle Pirate" http://stanmccann.us/pirate.html
Webmaster/Computer Center Manager, NMSU at Alamogordo
Coordinator, Tularosa Basin Chapter, ABATE of NM; AMA#758681; COBB
'94 1500 Vulcan (now wrecked) :( http://motorcyclefun.org/Dcp_2068c.jpg
A zest for living must include a willingness to die. - R.A. Heinlein
Jul 21 '05 #14
On Sun, 20 Feb 2005 10:54:38 +0000 David Dorward wrote:
Barbara de Zoete wrote:
onmouseover="style='cursor:hand;'"
That is javascript, you dumbass. OP asks for CSS style.
... and hand isn't a valid value for that property anyway. That effect
is
achieved with "pointer".


http://www.asrvision.com/web-design-...ial-cursor.htm

"hand" apparently is specific to IE, where pointer is crossbrowser accepted.
I was only showing one way of notating the item.
Since he was asking of a "mouse over" effect, that is what I gave as an
example.
Jul 21 '05 #15
On 20 Feb 2005 10:32:55 +0100 Barbara de Zoete wrote:
On Sat, 19 Feb 2005 22:03:02 -0600, theo <th**@nospam.com> wrote:
I'm working on a horizontal row menu, to use like folder tabs. Does
anyone know what the CSS style "cursor" is supposed to produce?

If the horizontal menu is created with ordinary text links, like it
should be,
that the cursor will adapt to normal link behaviour. And that is what
is good
for your visitors, since they know exactly what to expect with a cursor
behaving
like that.


Your layout? Bullshit. You'll find that layout all over the web and dozens
of people claiming a copyright on it no less.
Not to mention several commercial applications selling the damn thing no
less.
Jul 21 '05 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: elad | last post by:
Hi The Menu doesn't work properly when I have 2 frame and the Menu popup frame=document target frame, when I choose item in the menu the doc opened and the menu get stuck. Here is the code...
2
by: Ansgar Hein | last post by:
I have been playing around with several different versions for a horizontal menu, but I haven't been able to build a horizontal navigation based on the vertical one featured on www.alistapart.com...
5
by: Chris Beall | last post by:
Objective: Using an HTML list, create a horizontal nav menu with these characteristics: - All menu items have the same width at all times. - When the window width is reduced, the menu items...
2
by: Sergio E. | last post by:
Hi group, I write this post with the following question: How can I to build an absolutely horizontal menu?, This is because I can't find how can I configure the menu component of asp.net 2.0...
1
by: camphor | last post by:
hi, I have a single column webpage with a horizontal dropdown menu and am trying to make the nav bar fit across the page, the column is 800px, it looks ok in dreamweaver 8 but when I test it in...
5
Haitashi
by: Haitashi | last post by:
Hello everyone: I have a CFMenu with the type set to horizontal. I'd like to have the sub-menu items open vertically. Is that possible? Here is my code. I want the Portals sub-menu (Portal A,...
19
by: Jim | last post by:
Hi, I have two questions/problems pertaining to CSS horizontal dropdown menus and am hoping that someone here can help me out. (1) I'm having a problem centering the menu. I picked up the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.