vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Floating Side Menu (https://vborg.vbsupport.ru/showthread.php?t=162958)

firstrebel 11-21-2007 05:17 AM

Indeed. Folk are quick to 'buy' a new version but slow to update 'free' apps.

Bob

firstrebel 11-25-2007 12:07 PM

I have been playing around with the settings in mmenu.js. I am trying to delay the menu flying out. I have changed these
Code:

if(!o.menuspeed) {o.menuspeed=55};
if(!o.menupause) {o.menupause=30};

but they do not do what I want. Changing menuspeed affects opening and closing speeds, I just want to delay the opening by about 1-2 seconds, but not change the speed. Any ideas?

Bob

Saviour 11-25-2007 03:15 PM

Quote:

Originally Posted by firstrebel (Post 1389133)
I have been playing around with the settings in mmenu.js. I am trying to delay the menu flying out. I have changed these
Code:

if(!o.menuspeed) {o.menuspeed=55};
if(!o.menupause) {o.menupause=30};

but they do not do what I want. Changing menuspeed affects opening and closing speeds, I just want to delay the opening by about 1-2 seconds, but not change the speed. Any ideas?

Bob

Bob...

I just went through the variables...

I can't find one that specifies delaying the opening of the menu. The only thing I have found is what you have already described.

Why is it that you want to delay the opening of the menu? Most people want menus to open right away...not that there's anything wrong with that...:D

firstrebel 11-25-2007 06:42 PM

The issue was that the menu shot open with just an accidental brush of the cursor, and maybe a 1-2 second delay would prevent that. I have now moved the menu to center top and it is much better. Every one is happy...at last.

Bob

Saviour 11-25-2007 07:38 PM

Bob...

It does look good there at the top...

That's the sweet thing about the original script from DD...the ability to place it left, right...or at the top.

Glad it worked out in the end... and everybody's happy.

-Steve

lgw2981 11-25-2007 11:26 PM

Great Job! Installed.........:D

Saviour 11-26-2007 02:29 AM

Thank you...

Saviour 11-26-2007 02:49 AM

ANOTHER MENU TIP

Don't make your menus too long by adding lots of links...you may run into problems for those who are using a screen resoluton of 800x600. Using this resolution may cause your menu to be cut off at the bottom....or, to be more accurate...the bottom part of the menu will not be viewable.

While you can still adjust the menu's position , some of you may have menus with lots of links...and even after adjusting the menu's position, find that some of these links aren't viewable.

Still...there are other ways around the problem...
  1. Go to dynamicdrive.com and find the link to the Omni Slide Menu in "Menus and Navigation". There you will find the menu scripts you need to place this side menu at the top of your page (like some of us have already done...including "yours truly". The coding is basically the same as putting the menu on the left or right. Just follow their directions.
  2. Use two columns, instead of one...to make your menu(s) shorter.
  3. Use smaller text.
If need be...refer to the "Properties" page for variables to tweak your menu(s).

I hope you find these tips useful...

Don't forget to "Mark as Installed" if you are using this menu...also, please take a few seconds to "Rate" this mod...

Remember...support is only being offered to those who have it installed.

Saviour 11-26-2007 12:14 PM

YET ANOTHER MENU TIP


This tip was deleted...due to its inability to function correctly...

Sorry about that, folks...

stationar 11-26-2007 10:37 PM

My users asked me to change it so the menu wouldn't jump out every time they move mouse over it. So I changed file mmenu.js, replacing "onmouseover" with "onclick" in two places.
Also changed file menuItems.js, adding before MenuItems this line: menupause:5000, (including comma) - this keeps menu open for 5 seconds after user moves the mouse, and gives the user time to pick the menu item and click on it.


All times are GMT. The time now is 02:59 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01144 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete