vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Navbar Links Problems (https://vborg.vbsupport.ru/showthread.php?t=320821)

Dragonsys 11-24-2015 02:45 AM

I am not seeing that on my site. Try replacing the entire adv_portal_navtab with the below:
HTML Code:

<li<vb:if condition="$tabselected"> class="selected"</vb:if>><a href="{vb:raw vboptions.vba_portal_homeurl}<vb:if condition="$cmps_page['name'] == 'home'">{vb:raw session.sessionurl_q}<vb:else />?{vb:raw session.sessionurl}{vb:raw vboptions.vba_portal_pagevar}={vb:raw cmps_page.name}</vb:if>" class="navtab">{vb:raw cmps_page.title}</a></li>
<vb:if condition="$subpagelinks">
        <ul class="floatcontainer">
                {vb:raw subpagelinks}
        </ul>
</vb:if>

<vb:if condition="$tab['children'] AND $tabselected">
        <ul class="floatcontainer">
                <vb:each from="tab.children" value="link">
                        <vb:if condition="$link['children']">
                                <li class="popupmenu" id="{vb:raw link.name}">
                                        <a href="javascript://" class="popupctrl">{vb:raw link.title}</a>
                                        <ul class="popupbody popuphover">
                                                <vb:each from="link.children" value="sublink">
                                                        <li id="{vb:raw sublink.name}"><a {vb:raw sublink.target}href="{vb:raw sublink.url}">{vb:raw sublink.title}</a></li>
                                                </vb:each>
                                        </ul>
                                </li>
                        <vb:else />
                                <vb:if condition="$link['type'] == 'link'">
                                        <li id="{vb:raw link.name}"><a {vb:raw link.target}href="{vb:raw link.url}">{vb:raw link.title}</a></li>
                                </vb:if>
                        </vb:if>
                </vb:each>
        </ul>
</vb:if>


InSite 11-24-2015 02:48 AM

This has fixed it - it all seems to be working perfectly now! I will go through your code and my previous code and update this later to say what the difference was incase you are curious. But thank you SO much for your time! :)

Dragonsys 11-24-2015 02:50 AM

Quote:

Originally Posted by InSite (Post 2559288)
This has fixed it - it all seems to be working perfectly now! I will go through your code and my previous code and update this later to say what the difference was incase you are curious. But thank you SO much for your time! :)

Awesome, glad it is working now :)

InSite 11-24-2015 02:53 AM

There was no difference in the code at all, other than I had commented out the original line you asked me to change. Maybe the above error was a temporary browser issue or a gremlin.

Anyway, nicely done sir! My OCD is already feeling better! :D


All times are GMT. The time now is 07:04 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.01281 seconds
  • Memory Usage 1,735KB
  • 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)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete