vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   How to Change the HELP Link in the Header into a Drop-Down Menu for Non-Users??? (https://vborg.vbsupport.ru/showthread.php?t=251123)

Lynne 09-29-2010 06:16 PM

If you have firebug, then compare each part of the dropdown up top to a dropdown that is how you want it. First, compare the very inner tags - the <a> tags. Then the <li> tags. Then the <ul> tags... making sure they have the same properties.

NashChristian 09-29-2010 06:23 PM

Quote:

Originally Posted by Lynne (Post 2104726)
If you have firebug, then compare each part of the dropdown up top to a dropdown that is how you want it. First, compare the very inner tags - the <a> tags. Then the <li> tags. Then the <ul> tags... making sure they have the same properties.

But my Firebug is in Firefox, and this seems to be a non-standards compliant issue with IE. Is there a way to test this with IE?

Lynne 09-29-2010 06:27 PM

Do the other dropdowns work in IE? If so, then as I said, change your CSS for your dropdown to be the same as the working dropdown.

NashChristian 09-29-2010 06:34 PM

Quote:

Originally Posted by Lynne (Post 2104735)
Do the other dropdowns work in IE? If so, then as I said, change your CSS for your dropdown to be the same as the working dropdown.

Yes, the Logged-In drop-downs work fine in IE. It has to be an inheritance issue on some attribute that shows up in IE but doesn't in Firefox. Since I'm not sure where it is inheriting it from, and since it doesn't show up and Firefox and I can't use the element inspector in Firebug to locate it, I'm not sure how to debug it.

Lynne 09-29-2010 06:44 PM

You can use firebug to make sure your CSS is *exactly* the same for the different dropdowns and then see how it is in IE. I can look on your site right now at the two and they are different. You may want to also look in the vbulletin-ie.css file to see if there is anything in there being used for the dropdowns.

NashChristian 09-29-2010 06:56 PM

Quote:

Originally Posted by Lynne (Post 2104746)
You can use firebug to make sure your CSS is *exactly* the same for the different dropdowns and then see how it is in IE. I can look on your site right now at the two and they are different. You may want to also look in the vbulletin-ie.css file to see if there is anything in there being used for the dropdowns.

Ok, thanks. Is there an easy way to compare the two pages (logged-in and logged-out) in Firebug? Right now I'm trying to copy line by line the active css on each page from Firebug, put it into a text doc, then after I do that with both pages compare the two files with a file comparrison program. Since Firebug crosses through the inactive lines in the CSS, when you copy and paste them it still copies them as active, and I have to manually go line by line and delete those lines before comparing. Surely there must be an easier way. Any suggestions?

Thanks again for the help.
Jeff

Lynne 09-29-2010 07:01 PM

Why logged in versus logged out? I am comparing the dropdown in the top with the dropdown in the navtabs area. It's the same CSS that should be used with just a change in class name.

NashChristian 09-29-2010 07:17 PM

I didn't do it that way... the navtab is coded totally differently, with the template and plugin... I started with the functionality that was already there, which was the notifications drop-down menu when logged-in. So that was what I started with, then I had to figure out how to make it work for the logged-out users, since it wasn't styled for that. The navtab displays a heavier drop-down, with a border all the way around I believe. The notifications drop-down is visually a lighter version.

Lynne 09-29-2010 07:20 PM

Perhaps login to vb.com and use firebug on there and compare it to your dropdown on your site.

NashChristian 09-29-2010 07:24 PM

I don't follow you... what would looking at vB.com in Firebug help?

The global TOOLS drop-down menu is what I'm comparing between the versions, (logged-in and logged-out). That's all I'm working on here.

It displays perfectly on the logged-in version of my site, I'm just having problems replicating that display for users who aren't logged-in.


All times are GMT. The time now is 08:30 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.01107 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)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
  • (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