vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Help with HTML coding (https://vborg.vbsupport.ru/showthread.php?t=101236)

HMBeaty 11-20-2005 09:06 PM

Help with HTML coding
 
I'd like to know how to get a small sound to play when someone HOVERS over a link, exactly how to code that. I THOUGHT I could figure it out but I've had no luck. Thanks in advance everyone.:)

pyro.699 11-20-2005 10:04 PM

easy, its not really html, and vbulletin already has that set u, but for future referance, its this

HTML Code:

a:hover
{
font-face:comix
}


will make it happen (put that in your header)

HMBeaty 11-21-2005 05:11 AM

Umm..................well, that didn't exactly help me out, sorry. What I'm trying to do is when, on my forum, when someone is hovering over "new posts" for example, they hear an engine rev. But ONLY while they hover over it. I HAVE the sound that I'm trying to use, I just have no clue as to where to start to do something like this. How can I go about doing this? Thanks in advance everyone.

Brad 11-21-2005 06:00 AM

I find any site that plays sounds like this rather annoying. Nothing worst then browsing at 3 am and waking everyone in the house up because I forgot to turn down my speakers. It will also cause slower browsing for your dial-up users with the inital load.

The only method I know of outside of flash would be using javascript. Here is a page that deals with this subject:

http://www.theopensourcery.com/jsounds.htm

If you know your way around the template it shouldn't be much work to get this working within vBulletin. If you need help let me know.


All times are GMT. The time now is 12:05 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.00972 seconds
  • Memory Usage 1,713KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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