Re: [jQuery] superfish joomla

2010-02-28 Thread Jonathan Vanherpe (T T nv)

You forgot to put ; after }) a couple of times.

IE is a bit strict in that regard.

Jonathan

Eddie wrote:

Hello all at jquery group, superfish menu in joomla works fantastic
but it gives an error in IE8 and my client hates it! the done, but
with errors this is the errordoes anyone know how to fix it!!
Best,
Chris



Message: Object doesn't support this property or method
Line: 48
Char: 35
Code: 0
URI: http://www.rallybrc.co.uk/


this is the code around line 48:

jQuery.noConflict();
jQuery(function($){ $(ul.sf-menu).superfish({hoverClass:'sfHover',
pathClass:'active', pathLevels:0, delay:800, animation:
{opacity:'show'}, speed:'def', autoArrows:0, dropShadows:1}) });
jQuery(window).load( function() { jQuery(ul.sf-
menu).superfish_width_mod({ vertical:0, menuWidth:'100%', equalWidth:
0, resizeSeps:0, resizeSubMenus:0 }) })
jQuery.event.special.hover.delay = 100;
jQuery.event.special.hover.speed = 100;

   /script






--
Jonathan Vanherpe - Tallieu  Tallieu nv - jonat...@tnt.be


Re: [jQuery] superfish joomla

2010-02-27 Thread Charlie




Try removing the window.load function, it makes no sense to bind the
different menu functions to different page load events


jQuery.noConflict();
jQuery(function($){ // this is document ready 

$("ul.sf-menu").superfish({hoverClass:'sfHover',
pathClass:'active', pathLevels:0, delay:800, animation:
{opacity:'show'}, speed:'def', autoArrows:0, dropShadows:1}) 
jQuery("ul.sf-menu").superfish_width_mod({ vertical:0,
menuWidth:'100%', equalWidth:
0, resizeSeps:0, resizeSubMenus:0 }) 
jQuery.event.special.hover.delay = 100;
jQuery.event.special.hover.speed = 100;
});// end document ready


Eddie wrote:

  Hello all at jquery group, superfish menu in joomla works fantastic
but it gives an error in IE8 and my client hates it! the "done, but
with errors" this is the errordoes anyone know how to fix it!!
Best,
Chris



Message: Object doesn't support this property or method
Line: 48
Char: 35
Code: 0
URI: http://www.rallybrc.co.uk/


this is the code around line 48:

jQuery.noConflict();
jQuery(function($){ $("ul.sf-menu").superfish({hoverClass:'sfHover',
pathClass:'active', pathLevels:0, delay:800, animation:
{opacity:'show'}, speed:'def', autoArrows:0, dropShadows:1}) });
jQuery(window).load( function() { jQuery("ul.sf-
menu").superfish_width_mod({ vertical:0, menuWidth:'100%', equalWidth:
0, resizeSeps:0, resizeSubMenus:0 }) })
jQuery.event.special.hover.delay = 100;
jQuery.event.special.hover.speed = 100;

  /script



  






Re: [jQuery] Superfish Joomla module: all subs with the same top-value

2009-12-15 Thread Charlie




this can be accomplished with the onBeforeShow option. "This" within
onBeforeShow refers to the UL about to be shown. Using jQuery
$.offset() function to locate the offset of the UL within the menu you
can then use $.css() to make adjustments. 

joge wrote:

  hello,

I am using the superfish module for Joomla!

Now I want to align all sub and sub-sub- and so on-menus on the same
vertical position, so they all appear directly underneath the main
menu. How can I do that? The top-values in the css are absolute to
their parent, so entereing a fix value there shouldn't do it...

thanks, Joerg

  





[jQuery] Re: jQuery Superfish Joomla issue for IE6

2009-08-07 Thread Charlie





not sure what this part of your code is but IE 6 throwing errors on it.
Try removing it temporarily and see what happens

window.addEvent((window.webkit) ? 'load' : 'domready', function() {
window.rokajaxsearch = new RokAjaxSearch({



j_samm...@comcast.net wrote:

  Hi!  Oddly enough, I have no problems with my IE7 version of my
superfish menu is Joomla, but in IE6 it does not work properly.  It
does work, thank God, but not like in the other browsers.  Two things
occur.

1) The menu is not resized all the way over to the width of the
screen.
2) The buttons do not work for the entire span, but only work when you
rollover the actual link.  This does not behave this way in IE7 or 8.

Does anyone have any idea how to fix this?  Here is my site:
http://www.looledo.com

Try it in IE6 and IE8 and you will see what I am referring to.