Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
TAd
Worker
Worker



Joined: Oct 11, 2004
Posts: 127
Location: Oregon, USA

PostPosted: Sun Mar 13, 2011 11:54 am Reply with quote

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
 
View user's profile Send private message Yahoo Messenger
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Sun Mar 13, 2011 12:45 pm Reply with quote

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 Smile

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>';
 
View user's profile Send private message Visit poster's website
TAd







PostPosted: Sun Mar 13, 2011 1:25 pm Reply with quote

SpasticDonkey,

Thank you so much!
//addJSToHead('includes/jquery/jquery.hoverIntent.minified.js', 'file');
Solved the sluggishness I was referring to Smile

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 Smile

Thank you very much, you have been great help!!

Dance-Y
 
spasticdonkey







PostPosted: Sun Mar 13, 2011 1:53 pm Reply with quote

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
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©