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)
-   -   Forum Home Enhancements - Yahoo YUI! Treeview Menu for VBAdvanced (https://vborg.vbsupport.ru/showthread.php?t=158616)

ragtek 09-24-2007 07:16 PM

<a href="http://www.ragtek.org/" target="_blank">http://www.ragtek.org/</a>

the navi modul at end of the site
it's just for "practice"

Dankness 09-24-2007 08:18 PM

O it's working as its being told to do on that page....

You need to include another list inside of your <li>

This should make a collapisble thing

PHP Code:

<ul>
  <
li>Parent
    
<ul><li>Child</li><li><Child 2</li></ul>
  </
li>
<
li>Parent 2
    
<ul><li>Child</li><li><Child 2</li></ul>
</
li>
</
ul

You have to include Sublists to expand on, does that make sense?

ragtek 09-24-2007 08:20 PM

lol
now it makes sense:D
thx man :)
now i know how it have to be, and now i can try to make the part with the forumcache :)

thx very much

iogames 09-24-2007 08:21 PM

Wow! great job!

ragtek 09-24-2007 08:22 PM

now we have an error:
YAHOO.util.Anim is not a constructor
Code:

var a = new YAHOO.util.Anim(this.el, {opacity: {from: 0.1, to: 1, unit:""}},...
but its working
thx
maybe this is missing:
HTML Code:

<script src="http://yui.yahooapis.com/2.3.1/build/animation/animation-min.js"></script>
;)


edit: btw you have a mistake in your code ;)
<ul><li>Child</li><li>Child 2</li></ul>

Dankness 09-24-2007 08:52 PM

Quote:

Originally Posted by ragtek (Post 1346241)
http://www.ragtek.org/


the navi modul at end of the site
it's just for "practice"

Quote:

Originally Posted by ragtek (Post 1346291)
now we have an error:
YAHOO.util.Anim is not a constructor
Code:

var a = new YAHOO.util.Anim(this.el, {opacity: {from: 0.1, to: 1, unit:""}},...
but its working
thx
maybe this is missing:
HTML Code:

<script src="http://yui.yahooapis.com/2.3.1/build/animation/animation-min.js"></script>
;)


edit: btw you have a mistake in your code ;)
<ul><li>Child</li><li>Child 2</li></ul>


Well the Anim wont effect it only does the animation and thats a error that its not found.

The javascript is working properly because your Tree was wrapped in the list images, which if it didn't work you would'va been left with a list with regular bullets. For example visit the second demo site i posted and watch as the page loads, you'll see about 50-60 links in a ugly default list until the javascript adds the proper class to it and cleans it up., and the code i wrote in the quick reply box, it was just some example code to spread the theory not a working application :) Thats one of the main benefits of this script is it uses Progressive Enchantment to add the Javascript, so to a 'Lynx' browser or Google those links would still be in a very usable List format :)

Trana 09-25-2007 05:33 AM

A couple of questions....

Does this follow the forum permission system? If a user cannot see a forum will it display it in their list?

Also, my nested forums work great within the tree, but the forums at the root level are not showing any links. Any idea what I need to fix? Please note that my CMPS is in root and my forum is in /forum.

Thanks!

PapaSmurf 09-25-2007 08:03 AM

Im getting this issue, (see attached).

memorex 09-25-2007 12:50 PM

Great mod... there is just one small issue. the text color changes halfway down the list. I like the second color better, how would I go about making all the text this color.. www.mgn.cc is my domain.

Invalid ID 09-25-2007 03:37 PM

Looks cool. Thanks


All times are GMT. The time now is 01:51 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.01238 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (2)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