vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Want one item in Navbar to be different color in unclicked state (https://vborg.vbsupport.ru/showthread.php?t=109630)

Cebby 03-06-2006 07:09 PM

Want one item in Navbar to be different color in unclicked state
 
Is there a way to do this? I just want one of my Navbar items to be red so it stands out. Do I need to create a new class?? Also curious about making one bit of text blink in the Navbar.

Princeton 03-06-2006 09:02 PM

-- create a new class
-- edit navbar template to reflect new class

if you don't know about CSS just use
HTML Code:

style="background-color:#FF0000"
the above inline style will override the backgroud color but keep the other class attributes (the existing navbar class)

Cebby 03-06-2006 09:07 PM

Quote:

Originally Posted by princeton
-- create a new class
-- edit navbar template to reflect new class

if you don't know about CSS just use
HTML Code:

style="background-color:#FF0000"
the above inline style will override the backgroud color but keep the other class attributes (the existing navbar class)

Thanks! I'm assuming I can use font-color to change just the font (instead of the bg) in the same way?

I worked around this by removing the vbphrase info and just used normal text with <font color> and <blink> around the text. Is there a way to make vbphrases blink or do I need to stick with my workaround?

I added the blink code in a long time ago to give the ability to blink the text, but I don't remember where I put it ;)

Princeton 03-06-2006 09:16 PM

I'm not a supporter of "blink". You are asking the wrong person.
-- "blink" is not supported by all browsers
-- do not use the <font> tag ... use <span style="">text</span>

Why not use an animated image?

Cebby 03-06-2006 09:32 PM

Hadn't thought of an animated image. That is definitely a good option - and if blink doesn't work for all browsers, a good way to make sure it is supported universally. I haven't plugged any graphics into the Navbar before, is it a simple process?

So for my font color, would the code be:

Code:

<span style="font-color:#FF0000">text</span>
?

Thanks again for your help!

Princeton 03-06-2006 10:01 PM

HTML Code:

<span style="color:#FF0000">text</span>

Cebby 03-06-2006 10:05 PM

Thanks!!


All times are GMT. The time now is 10:27 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.01048 seconds
  • Memory Usage 1,726KB
  • 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_code_printable
  • (3)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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