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)

Saviour 11-18-2007 01:00 PM

Quote:

Originally Posted by Direct Vision (Post 1384892)
For Me It's Not Working Good

The Links Come On Top Left Of The Forum. Before The Logo

What Can I Do?

Make sure you paste the following code before the <!--logo> tag in the header template:

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>

Make sure you change the red code above to what you have named your menu.

I have also noticed a problem for those of you who are using a web template hack...such as myself.

I use WebTemplates 3.5.x: VB Integrated CMS (Content Management System) by Logician. Check the theme you are using for your template(s) and make sure the following variable is included at the top of that template: $stylevar[htmldoctype].

The above should fix your problem...let us know...

Direct Vision 11-18-2007 01:42 PM

Oooooook Now It's Working Good

Just Another Question Can I Change The Colour Of The Bar???

I Want It Blue

Saviour 11-18-2007 01:50 PM

You sure can...

In the mmenu.js file find the following line:

Code:

if(!o.barbgcolor) {o.barbgcolor="#336699"};
Just change the text color code to whatever color you want.

For additional variable changes...go here.

Direct Vision 11-18-2007 03:24 PM

one other thing

from where i increase the width of the menu cause text (links) when they are long comes in two lines

Saviour 11-18-2007 04:17 PM

Direct Vision...

Did you look at the variable changes page I listed in my last post?

Find this in your mmenu.js file:
Code:

if(!o.hdingwidth) {o.hdingwidth=149};
As noted on the variable changes page:
Code:

hdingwidth:149,  // This will be the menu body width as well as any single column headings.
Changing the number should change the width of your menu.

Note:

Remember, this mod is not supported...yet I will do my best to help...and I will only help those who have marked this mod as "Installed".

Fungsten 11-18-2007 04:36 PM

Quote:

Originally Posted by yoyoyoyo (Post 1384649)
I haven't tried it, but this should work...

change:
Code:

<script src="mmenu.js" type="text/javascript"></script>
<script src="menuItems.js" type="text/javascript">

to:
Code:

<script src="$vboptions[bburl]/forum/mmenu.js" type="text/javascript"></script>
<script src="$vboptions[bburl]/forum/menuItems.js" type="text/javascript">

if your forum is in a different directory, such as "forums," then change the replacement code accordingly.

Please let me know if it works for you.

Where does one change that? Thanks.

Saviour 11-18-2007 04:53 PM

You will find it within the code you will be adding to your header template:
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>

Change the above red code.

Direct Vision 11-18-2007 05:14 PM

ok all done thanks alot bro, you rock.

this is great

Saviour 11-18-2007 05:16 PM

Quote:

Originally Posted by Direct Vision (Post 1385066)
ok all done thanks alot bro, you rock.

this is great

Thank you...don't forget to click "Installed".

Fungsten 11-18-2007 05:18 PM

Quote:

Originally Posted by Saviour (Post 1385059)
You will find it within the code you will be adding to your header template:
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>

Change the above red code.

I tried it but then the whole Menu disappeared.


All times are GMT. The time now is 10:17 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.01295 seconds
  • Memory Usage 1,757KB
  • 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
  • (8)bbcode_code_printable
  • (4)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