Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Floating Side Menu Details »»
Floating Side Menu
Version: 1.00, by Saviour Saviour is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.8 Rating:
Released: 11-16-2007 Last Update: Never Installs: 70
Template Edits
Additional Files  
No support by the author.

Floating Side Menu

This mod is no longer supported...

Origin: DynamicDrive.com
Original Script: Omni Slide Menu
? John Davenport Scheuer
* Adapted from Dynamic-FX Slide-In Menu (v 6.5) script
by maXimus
Supported Browsers: FF1+ IE5+ Opr7+

This mod has been tested and works on vbulletin version 3.6.8 PL2.
This is a DHTML script for general forum use. Do not ask if it can be used for certain User Groups or given Permissions.

Features:

This mod places a floating menu on the right, or left of all of your forum pages. To place it on the left, edit the following code in menuItems.js:

Find...
Code:
menupos:'right',
Replace with...
Code:
menupos:'left',

Edits:
  • Edit menuItems.js for links and colors
  • Edit mmenu.js for bar, headers and other variables
  • Edit forum header template(s)
  • Instructions included within attached .zip file

Customization:
  • menuItems.js: use this file to name your menu and create your links
  • mmenu.js: use this file to customize the look of your menu
  • Refer to the "Properties" page for variable descriptions
  • Refer to the code below to adjust your link attributes within the menu (i.e., link text color, hover, visited). The code below is what you will be putting at the top of your forum's header template. Items in red are editable:

Code:
<style type="text/css">
                            /*Menu Links*/

/*NOTE: anything not specified for the #(menu id's) a selector and its pseudo classes
may be inherited in some browsers from other 'a' element styles (if any) on the page*/

#kbmenu3 a { /*Menu3 Links*/
color:black;
background-color:white;
text-decoration:none;
text-indent:1ex;
}
#kbmenu3 a:hover {
color:black;background-color:#FFFF99;
}
#kbmenu3 a:active	{color:black;text-decoration:none;}
#kbmenu3 a:visited	{color:black;text-decoration:none;}


                           /*End Menu Links*/
</style>
<script src="mmenu.js" type="text/javascript"></script>
<script src="menuItems.js" type="text/javascript">

/***********************************************
* Omni Slide Menu script - ? John Davenport Scheuer: http://home.comcast.net/~jscheuer1/
* very freely adapted from Dynamic-FX Slide-In Menu (v 6.5) script- by maXimus
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code
***********************************************/

</script>

Live Demo: Demo

Hope you like this simple little mod...if so, please, don't forget to rate it.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 11-21-2007, 05:17 AM
firstrebel's Avatar
firstrebel firstrebel is offline
 
Join Date: Dec 2005
Location: West London
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Bob
Reply With Quote
  #73  
Old 11-25-2007, 12:07 PM
firstrebel's Avatar
firstrebel firstrebel is offline
 
Join Date: Dec 2005
Location: West London
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #74  
Old 11-25-2007, 03:15 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by firstrebel View Post
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...
Reply With Quote
  #75  
Old 11-25-2007, 06:42 PM
firstrebel's Avatar
firstrebel firstrebel is offline
 
Join Date: Dec 2005
Location: West London
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #76  
Old 11-25-2007, 07:38 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #77  
Old 11-25-2007, 11:26 PM
lgw2981's Avatar
lgw2981 lgw2981 is offline
 
Join Date: Oct 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Job! Installed.........
Reply With Quote
  #78  
Old 11-26-2007, 02:29 AM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you...
Reply With Quote
  #79  
Old 11-26-2007, 02:49 AM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #80  
Old 11-26-2007, 12:14 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

YET ANOTHER MENU TIP


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

Sorry about that, folks...
Reply With Quote
  #81  
Old 11-26-2007, 10:37 PM
stationar stationar is offline
 
Join Date: May 2007
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:47 AM.


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.07940 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete