[jQuery] Re: Superfish Feature Request

2008-11-06 Thread WimpLo
Awesome! Thank you Joel. On Nov 6, 7:10 am, "Joel Birch" <[EMAIL PROTECTED]> wrote: > Have a look at this Superfish extension called "Supposition". It is an > effort to achieve exactly what you are asking for, although it comes > with no guarantees or support. > > http://users.tpg.com.au/j_birch

[jQuery] Re: Superfish Feature Request

2008-11-06 Thread Joel Birch
Have a look at this Superfish extension called "Supposition". It is an effort to achieve exactly what you are asking for, although it comes with no guarantees or support. http://users.tpg.com.au/j_birch/plugins/superfish/supposition-test/ Joel Birch.

[jQuery] Re: Superfish feature request

2008-02-01 Thread Joel Birch
Hi Karl, You've come through with the goods again, I really appreciate you taking the time to help with this - especially after attempting to do it myself! I found that no amount of coffee seemed to help, which is strange. Regarding the z-index issue, I found that the code in onInit has no usefu

[jQuery] Re: Superfish feature request

2008-02-01 Thread Karl Swedberg
Hey Joel, I think I have this sorted out. Sorry I couldn't get back to it until this evening. Work was pretty busy today. Here is the onBeforeShow function: onBeforeShow = function(){ this.each(function(){

[jQuery] Re: Superfish feature request

2008-01-31 Thread Joel Birch
Karl, I'm honoured that you are getting some use out of Superfish. I didn't want to give you more work so I just gave the horizontal stuff a shot and I can't get it right. I just can't get my head around all these similar sounding measurements! Would you be so kind...? O:) Here's where I got t

[jQuery] Re: Superfish feature request

2008-01-31 Thread Karl Swedberg
On Jan 31, 2008, at 8:50 PM, Joel Birch wrote: Hi Karl, Once again you have come through with the goods! I blindly pasted in your code (all these dimension calculations fry my brain) and it's working perfectly with regard to positioning. All hail King Karl [...we're not worthy...] LOL. You

[jQuery] Re: Superfish feature request

2008-01-31 Thread Joel Birch
Hi Karl, Once again you have come through with the goods! I blindly pasted in your code (all these dimension calculations fry my brain) and it's working perfectly with regard to positioning. All hail King Karl [...we're not worthy...] All we (Jesse and I, that is - I'm not hinting for Karl to do

[jQuery] Re: Superfish feature request

2008-01-31 Thread Karl Swedberg
hey Joel, This is fun! I think this should do it for the vertical stuff. You can apply something similar for the horizontal : var windowHeight = $w.height(), offsetTop = $u.offset().top,

[jQuery] Re: Superfish feature request

2008-01-31 Thread Joel Birch
Quick update, I have done some more work on this code so now you can simply apply the positioning plugin to Superfish like a regular plugin, which is much easier for the user than how it was done before: $(function() { $('.nav').superfish().supposition(); }); You could even apply it lat

[jQuery] Re: Superfish feature request

2008-01-13 Thread Joel Birch
Hi Jesse, I have been working on separating out the code you provided into it's own plugin (kind of sillily named "Supposition", I really hate the name now so please feel free to suggest something better) so that it can be optionally added to a Superfish menu if the user desires, leaving the ori

[jQuery] Re: Superfish feature request

2008-01-07 Thread Jesse Klaasse
You're right, this is the quirk I'm talking about. I'm on Windows myself, so I have been referring to Windows Firefox. I'm still puzzled by this :| I hope we (or someone else) will be able to work this out.

[jQuery] Re: Superfish feature request

2008-01-03 Thread Joel Birch
It just dawned on me that you probably were not referring to the Mac FF text mode shift caused by opacity changes. I see now that the menu item text shifts upward one pixel once the fadein animation has completed. When using the default font (Georgia or maybe Times on the computer I'm currently us

[jQuery] Re: Superfish feature request - pixelshift/redraw bug

2008-01-03 Thread Joel Birch
Hi Jesse, I'm at work, but I did a search for an explanation of the Mac Firefox text flicker issue that I posted previously. Here it is: Mac Firefox has two text rendering anti-aliasing modes, one of which makes the text look much lighter or less bold in weight. The usual mode is used when every

[jQuery] Re: Superfish feature request

2008-01-03 Thread Joel Birch
One more thing I just thought of. Regarding finding a more robust solution for the width() and height() offsets, this value will always depend on the CSS the designer uses for the menu so I think the lesser evil here would be to add some "offset" options to the options object so you can pass in va

[jQuery] Re: Superfish feature request

2008-01-03 Thread Joel Birch
Oh, and the pixel-shift problem in FF is most likely the now fairly well documented opacity triggered text-mode quirk of that browser (on Mac at least). I wouldn't worry about that - it will always occur whenever any on-screen element's opacity switches between 1 and . or .01 and 0 - as it

[jQuery] Re: Superfish feature request

2008-01-03 Thread Joel Birch
Hi Jesse, Sorry I have been unresponsive - I've been too busy with work etc. which is unfortunate because I think what you have done here is fantastic. I wish I had more time now to discuss this new feature indepth but, alas, I have to race off to work again :/ Regarding the border redrawing, th

[jQuery] Re: Superfish feature request - pixelshift/redraw bug

2008-01-03 Thread Jesse Klaasse
This issue has something to do with the animation. When I replace the animation with a simple show() method, there's no pixel shift anymore.. * There's some strange submenu text pixel-shift (FF only) and right border redrawing (both IE and FF) going on, which I can't explain. However, this

[jQuery] Re: Superfish feature request

2008-01-03 Thread Jesse Klaasse
And a little update, as it seems to work great now (tested in IE6, IE7 and FF2): http://www.klaasse.net/superfish-ext/superfish.html I'm not totally satisfied yet, because: - I'm using + 1 in my calculations to include border/margin/padding stuff in the width() and height() results; - There's som

[jQuery] Re: Superfish feature request

2008-01-02 Thread Jesse Klaasse
I have written some test code, which does what it's meant to do, but I think it isn't in the right place.. I have added this code to the default options block of superfish.js: autofitX: true, autofitY: true, And this code instead of the original showSuperfishUl part: showSup