HighDots Forums  

Superfish plugin: some limitations that could be addressed

jQuery jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. jQuery is designed to change the way that you write JavaScript.


Discuss Superfish plugin: some limitations that could be addressed in the jQuery forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Florent V.
 
Posts: n/a

Default Re: Superfish plugin: some limitations that could beaddressed - 11-04-2009 , 01:32 PM






We're going in circles here.

Quote:
showed you an example of a multi column div in a sub,
had <h> tags, image, and assorted other markup....
did you even look at it?
Plugin code was untouched, any adjustemnts were done with css
Yes i did look at that example, and analyzed the HTML code for it. Yes
it works. Yes it uses Superfish with no hacks to the plugin.

BUT, this example is using a UL with a single LI element that's
assuming the role of a semantically neutral container (for styling
purposes). In HTML, the only block-level semantically neutral
container is the DIV element. Period. This is what the HTML 4 and
HTML5 specs say. Which is why i believe this solution that works
visually is not good enough.

The YUI example is a good example because they are using the right
elements for the job: two nested DIVs. (They could use just one for
that example, but i suppose they want to offer a simple template with
more styling hooks for users.)

You then wrote: “The exact same markup in YUI example bellow works
perfectly well.......no hacks needed”. This is wrong. Can you REALLY
use the same HTML markup as the YUI, and make the full Superfish
functionnality work? I can do that... by hacking the Superfish source.

The problem i'm talking about is a problem of HTML semantics. I'm not
asking if you can do a mega-dropdown with Superfish, because you can,
as your first example shows, and as my own tests showed me even before
that. I'm saying that you can't do it using the adequate HTML
elements, which i think is a problem. Not a huge problem, but a
problem nonetheless.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.