lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Supported HTML TAG <div> ??


From: Ian Collier
Subject: Re: [Lynx-dev] Supported HTML TAG <div> ??
Date: Thu, 1 Mar 2007 12:04:09 +0000
User-agent: Mutt/1.4.1i

On Wed, Feb 28, 2007 at 05:40:00PM -0800, Walter Ian Kaye wrote:
> At 12:42 a +0100 03/01/2007, Bernhard Frühmesser didst inscribe upon 
> an electronic papyrus:
> >Here is an example of how the menu stuff works:
> 
> [snip]
> 
> >         <a style="display: block; height: 24px; left: 455px; position: 
> >absolute; top: 24px; width: 99px; z-index: 2; " 
> >onmouseout="NBmouseout('4');" href="Impressum.html" 
> >onmouseover="NBmouseover('4');" title="Impressum"></a>
> 
> It's a 100% JavaScript menu -- there is no content for the A element.
> DIV has nothing to do with the issue. If you turned off JavaScript in 
> your graphical browsers, the menu would be broken there, too.

I don't think that's the case - the JavaScript is used for fancy
mouseover effects and isn't directly relevant to actually clicking
the menu.  (I'm assuming that mouseover highlights the button and
doesn't do other stuff like bringing up a sub-menu.  Of course you
can do pure-CSS sub-menus, but they wouldn't work on Lynx either.)

The issue is that the menu uses a styled <div> with no content; it's
the styling that generates the clickable button, but Lynx doesn't do
styling so there's nothing there to select.

What you want between <a> and </a> is probably something like

<span style="display:none">Impressum</span>

which will display on non-CSS browsers such as Lynx.

imc




reply via email to

[Prev in Thread] Current Thread [Next in Thread]