Interactive Buttons

P

Pipe

Hi.
Interactive Buttons...good or bad?

I can not seem to get them to play sound when mouse-over takes place, I have
used code from here:
http://www.javascriptkit.com/script/script2/soundlink.shtml
done what it said...I am lost in the fact of how do you link up the three
stages of the *interactive button* to make sound?

img src="images/button20.gif" onMouseOver="playSound(0)"
"onMouseOut="stopSound(0)"
((aySound[0] = "buttonbeep.wav))

is this the piece of code i use and where exactly does it go in the line. I
highlight the particular button in design click code to see where to place,
what code do I place and where??

site is http://www.cuteclothing.co.uk/Homepage.htm

cheers
 
S

Stefan B Rusynko

You have broken the mouseover / mouseout w/ your scripting so nothing works
You now have
onmouseover="playSound(0)""FP_swapImg.......
change it to
onmouseover="playSound(0); FP_swapImg........
similarly w/ the mouse out

PS if you edit your IB you will lose your sound scripts and have to redo them




| Hi.
| Interactive Buttons...good or bad?
|
| I can not seem to get them to play sound when mouse-over takes place, I have
| used code from here:
| http://www.javascriptkit.com/script/script2/soundlink.shtml
| done what it said...I am lost in the fact of how do you link up the three
| stages of the *interactive button* to make sound?
|
| img src="images/button20.gif" onMouseOver="playSound(0)"
| "onMouseOut="stopSound(0)"
| ((aySound[0] = "buttonbeep.wav))
|
| is this the piece of code i use and where exactly does it go in the line. I
| highlight the particular button in design click code to see where to place,
| what code do I place and where??
|
| site is http://www.cuteclothing.co.uk/Homepage.htm
|
| cheers
|
|
 
P

Pipe

Hi Stefan, did as you said but it's still not working :[

When you say *IB* I do not understand what that means.

I have updated my site to your recommendations.
really it was a case of a semi-colon?

Thxs mate
 
S

Stefan B Rusynko

ID - Interactive Button

Does that script even work w/o the FP IB
(add space after playSound(0); FP_swapImg(....



| Hi Stefan, did as you said but it's still not working :[
|
| When you say *IB* I do not understand what that means.
|
| I have updated my site to your recommendations.
| really it was a case of a semi-colon?
|
| Thxs mate
 
S

Stefan B Rusynko

Duh
- meant IB




Stefan...

ID would be Interactive Dutton :) ?




| ID - Interactive Button
|
| Does that script even work w/o the FP IB
| (add space after playSound(0); FP_swapImg(....
| --
|
| _____________________________________________
| SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| "Warning - Using the F1 Key will not break anything!" (-;
| To find the best Newsgroup for FrontPage support see:
| http://www.net-sites.com/sitebuilder/newsgroups.asp
| _____________________________________________
|
|
| | Hi Stefan, did as you said but it's still not working :[
| |
| | When you say *IB* I do not understand what that means.
| |
| | I have updated my site to your recommendations.
| | really it was a case of a semi-colon?
| |
| | Thxs mate
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top