Author |
Message |
TAd
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/Garfield/Garfield_-_Garfield_2.gif)
Joined: Oct 11, 2004
Posts: 127
Location: Oregon, USA
|
Posted:
Sun Mar 13, 2011 11:54 am |
|
I realize I am a bit late. But I have noticed some changes to the themes again. The only reason that I noticed is that my left blocks will not hide, I then checked a few things, and subsequently swapped themes to RavenIce and was able to see the changes.
NukeNav:
I have identified how to reduce/remove the "timer"* in the nukenav, so that the menu is snappier, but it is still a bit sluggish. I have attempted to // out the text effect, but no luck. Does anyone have any ideas or tricks in mind? Perhaps this is one of those reasons why I am not a fan of java script.
How can I place a hardlink into the NukeNav area? I searched and was able to come up with this:
http://nukeseo.com/modules.php?name=Forums&file=viewtopic&t=416
But that deals more in adding a module, and after many attempts I am having problems inserting a hardlink into the nukenav menu.
For instance, just before this line:
Code:<li><a>'._NUKEMENUMODULES.'</a><ul>'.$activeModules.'</ul></li>
|
I would like to add a link to reach my Gallery, which is not embedded in Raven Nuke, so is not an active module. I apologize for my frustration, and I am trying to give the new menu a chance, head hurts now.
*note If you want to remove or edit timer/effects, the file nukeNAV.js located in /pathtonukeroot/includes/jquery .
*edit I found another delay in superfish.js you can edit this at /pathtonukeroot/includes/jquery
(total delay time 2 seconds approx. Some of the delay is so the menu doesn't disappear if a user "accidentally" loses mouse focus on a menu item)
RavenIceGrey Theme:
I am almost done with an updated theme!
RavenIceBlack theme: (or possibly a charcoal...)
I am considering it at the moment ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/48fb116845dfecf66294c.gif)
Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Sun Mar 13, 2011 12:45 pm |
|
the delay you are referring to I believe is due to hoverintent. this was done intentionally in an attempt to make the menu easier to use.
Quote: | hoverIntent is a plug-in that attempts to determine the user's intent... like a crystal ball, only with mouse movement! It works like (and was derived from) jQuery's built-in hover. However, instead of immediately calling the onMouseOver function, it waits until the user's mouse slows down enough before making the call.
Why? To delay or prevent the accidental firing of animations or ajax calls. Simple timeouts work for small areas, but if your target area is large it may execute regardless of intent. |
you can try commenting out hoverintent in includes/jquery/nukeNAV.php
//addJSToHead('includes/jquery/jquery.hoverIntent.minified.js', 'file');
see what happens
as for adding a link, try adding this on a new line, where you mentioned in includes/jquery/nukeNAV.php (replace YOUR_TITLE and YOUR_URL)
Code: $nukeNAV .= '
<li><a href="YOUR_URL" title="">YOUR_TITLE</a></li>';
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
TAd
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Mar 13, 2011 1:25 pm |
|
SpasticDonkey,
Thank you so much!
//addJSToHead('includes/jquery/jquery.hoverIntent.minified.js', 'file');
Solved the sluggishness I was referring to
I do notice that if I set the delay too low in nukeNav.js, and a user moves the mouse slowly, the menu disappears before you can reach the drop down. 400 seems about right.
Also,
Code: $nukeNAV .= '
<li><a href="YOUR_URL" title="">YOUR_TITLE</a></li>';
|
Worked perfectly, I was missing the $nukeNav .=' portion, someone said to me once, it's the little things that matter
Thank you very much, you have been great help!!
![Dance-Y](modules/Forums/images/smiles/dance.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Mar 13, 2011 1:53 pm |
|
cool, glad it helped. I think the nukeNAV module may include hoverintent as well for use with some of the SEO help tips in the dynamic head system. so if you notice any irregularities there that may be why. just keep your eyes peeled..
ultimately, kguske would probably have to speak to how integrated hoverintent is ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|