The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I have some small sound bites that I would like to incorporate into the navbar, so when a user mouse go's of the text it says something like "push that button"
I think this will require two templates the HEADER and the NAVBAR BUT I was wondering if someone could explain how I could make this happen ![]() Save this in your includes folder with the js extension: Code:
function soundOne() {
document.all.sound1.src =
"/sounds/button.au"}
And then add Code:
OnMouseOver="soundOne()" Code:
<a class="nav" href="http://www.example.com/" title="Home" OnMouseOver="soundOne()">Home</a> Code:
<script src="/includes/sounds.js"></script> <bgsound id="sound1"> |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|