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)

XFLBret 03-05-2003 07:15 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?

still waiting for an answer...for months now thank you. how about some help here?

pixelpunk 03-09-2003 06:19 AM

Ok... one question.

On my forum index page the PM title BG is blue. However I can't find the part of code to change this to to the dark grey like the rest of the forum headers.

Why is it blue? Or where do I change this?

ImportPassion 03-13-2003 06:44 PM

I changed it up a bit and made it a little more efficient. For me at least anyway.
PHP Code:

<script language="JavaScript1.2">
//configure interval btw flash (1000=1 second)
$pmblink var flashspeed=500
function flashme(){
    var 
flashtable=document.getElementByIddocument.getElementById("pmBox") : document.alldocument.all.pmBox ""
    
if (flashtable){
        var 
col1 "{ firstaltcolor }";
        if (
flashtable.style.borderColor.indexOf(col1.toLowerCase())!=-1
            
flashtable.style.borderColor="{ tableheadbgcolor }"
        
else
            
flashtable.style.borderColor="{ firstaltcolor }"
            
}
    }
$pmblink setInterval("flashme()"flashspeed)
</
script

I also added this to the TD
style="border: medium solid { firstaltcolor };"
remove the spaces inside the {}

D

Boofo 03-13-2003 06:48 PM

Will this work with all browsers?

ImportPassion 03-13-2003 07:04 PM

unfortunately no, but should work with IE and NS6. Does not work with Mozilla 1.2, and I had it working with Opera, but it doesn't seem to want to work anymore.

I was looking for an all-in-one solution too.

D

Boofo 03-13-2003 07:29 PM

Well, you're in luck then. I have one that works with mozilla and IE and I think Netscape for sure. Want it? ;)

Boofo 03-13-2003 07:31 PM

Oh, I forgot to mention, mine only flashes the text.

ImportPassion 03-13-2003 07:37 PM

text i can do. need border or cell to flash.
thanks tho.

D

Boofo 03-13-2003 07:39 PM

Could probably re-work the code to do that. ;)

ImportPassion 03-13-2003 08:02 PM

send it over and let me see. :cool:


All times are GMT. The time now is 07:40 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.01399 seconds
  • Memory Usage 1,744KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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