vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Blink PM bar on new PM! (https://vborg.vbsupport.ru/showthread.php?t=32299)

350Chevy 11-17-2002 03:35 AM

Anyway to add a random .wav file to play along with this?

Great hack btw!

alkatraz 11-17-2002 04:02 AM

works great! thx!

Dynamic One 11-20-2002 01:55 PM

Thanks for this hack FireFly

XFLBret 11-28-2002 07:17 AM

OK, I got it working, but I thought of a good improvement to it...

Just so my forums look cleaner, this is what I'd like...

Is it possible to make the text flash also? what i'd like is to make the bar flash to that the background and the text alternate colors. example: if it is normally white text on black background, i'd like to see it so that it flashes back and forth from white text on black background to black text on white background.

i would do it, but know absolutely nothing about coding. could someone else make this happen?

Sebastian 11-28-2002 07:33 AM

Quote:

Originally posted by XFLBret
OK, I got it working, but I thought of a good improvement to it...

Just so my forums look cleaner, this is what I'd like...

Is it possible to make the text flash also? what i'd like is to make the bar flash to that the background and the text alternate colors. example: if it is normally white text on black background, i'd like to see it so that it flashes back and forth from white text on black background to black text on white background.

i would do it, but know absolutely nothing about coding. could someone else make this happen?

Code:

<script language="JavaScript">
<!-- Begin
$pmblink pmBox.bgColor='{tableheadbgcolor}';
$pmblink setInterval("Timer()", 500);
$pmblink x=1;
 function Timer() {
        set=1;
        if(x==0 && set==1) {
                pmBox.bgColor='{categorybackcolor }';
                x=1;
                set=0;
        }
        if(x==1 && set==1) {
                pmBox.bgColor='{tableheadbgcolor }';
                x=0;
                set=0;
        }
}
// End -->
</script>

See {tableheadbgcolor } and {categorybackcolor } change it to the colors you want, you can use #000000 for black #FFFFFFF for white, etc..

XFLBret 11-28-2002 08:08 AM

well, yeah, i got that part. but that flashes just the background. i was inquiring on how I could get the text to flash also in sync with the background flashing. I want where it says "private message" to flash also, but different colors then what the background is flashing

did i make sense this time? i don't know if i'm expressing myself well here...

BigCheeze 11-29-2002 09:55 PM

Works Great! Thanks!!

XFLBret 12-06-2002 06:46 AM

hello? anyone know the answer to my questions two posts above? i would really like to make this happen. thanks.

flup 12-18-2002 04:34 PM

Great hack! thx

Lionel 01-06-2003 06:36 PM

I have been using that hack for the longest time and it works fine. But is it possible to have just the text blink instead of the entire <td>?


All times are GMT. The time now is 02:19 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.01334 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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