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)
-   -   New PM's in Header (blinking text or image) (https://vborg.vbsupport.ru/showthread.php?t=37427)

MaxScript 10-26-2003 02:37 AM

any luck on vb3 b7 ?

digital vettes 10-26-2003 05:41 PM

Quote:

Originally Posted by Unknown553
Works fine for me, blinks with new messages (read and unread) and server is seeing no increase whatsoever. Using IE 6.

Very nice hack. Worked well! Thank you.

www.digitalcorvettes.com

sgtmaj 02-04-2004 05:15 PM

Quote:

Originally Posted by TECK
ya. it does, until you read them all.

for some reason this isn't working for me. Could it possibly be due to the fact that I use a backgound image, instead of background color for my table headers??? :rolleyes:

Emmy2 04-19-2004 03:14 PM

Very nice hack, thank you!

DenzoForums 04-30-2004 12:11 AM

Quote:

Originally Posted by Emmy2
Very nice hack, thank you!

anybody know where i can get this or something like it for vb 3.0.1?

Thomas P 07-29-2004 12:48 PM

@Teck: Nice, but do you have a current js script for the blink part?

visibility: show/hide for firefox i.e.?

Does work perfect in IE but not in Gecko

Thanks,
-Tom


/edit: Got one

Update JS code to this (delete old, add the following):
Code:

<script type="text/javascript">
<!--
// interval length (in seconds)
var intervalLength = .7;
function emulateBlink() {
 objs = document.getElementsByTagName("span");
 for(x = 0; x < objs.length; x++) {
  if(objs[x].className == "blink") {
  if(objs[x].style.visibility == "hidden") {
        objs[x].style.visibility = "visible";
  }
 
  else {
        objs[x].style.visibility = "hidden";
  }
  }
 }
 window.setTimeout("emulateBlink();",(intervalLength * 1000));
}
if(document.getElementsByTagName) {
 emulateBlink();
}
-->
</script>

and then change the new pm link in the template header_pm to look like this:

Code:

<span class="blink">something</span>
Great! :)


All times are GMT. The time now is 06:21 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.01177 seconds
  • Memory Usage 1,727KB
  • 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
  • (2)bbcode_code_printable
  • (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
  • (6)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