vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   vb javascript pulldown menus on non-vb pages? (https://vborg.vbsupport.ru/showthread.php?t=118797)

ludachris 06-16-2006 05:08 PM

vb javascript pulldown menus on non-vb pages?
 
Does anyone know an easy way to set up the vb pull-down menus on non-vb pages? I'm talking about the one that is used under the breadcrumb for the Search link and the Quick Links menu options in the vb navbar. I'd like to incorporate the same style menu on non-vb pages. I've done a lot of searching but can't find the answer.

Also, is there a way to pull in the vb stylesheet as well?

rogersnm 06-16-2006 06:51 PM

i am working on it.

tgreer 06-16-2006 07:07 PM

That code is a highly-sophisticated, well-written part of the core vBulletin package. You can't use it on "non-vb" pages.

I liked that drop-down menu style so much I was tempted to "use it" for some other projects, but ended up writing my own version to avoid copyright infringement.

rogersnm 06-16-2006 07:20 PM

well, i have gotten it down to the core.

well i more or less have it, i didn't bother to refine down the global js. Just go into the index.html file and chnage the css values to what you want and then paste the code into what ever you want. Make sure all the files are in the same directory though. You can see a demo here: http://www.forums.perfectforce.com/menu/

zip attached.

of course better to make several of them and put it together and then the menu's will actually be close to the actual link. If this is copy infringement feel free to remove it.

Staff Edit: Yes, unfortunatly you are right and those 2 JS-files can not be distributed like this, so zip removed. (PS I can't stop anyone to take them from their own vB install, but technically i think you would be breaking your license agreement if you are using it outside the vB board that is on your license. But i am not a legal expert, to be sure you should ask Jelsoft support).


All times are GMT. The time now is 04:20 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.01180 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete