Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post 2 java scripts conflicting

    im working on this annoying problem, http://www.eternaltattoo.com.au
    wen a link is clicked a 2 second tattoo gun noise is meant to sound, but of coarse the page follows the link and navigates away from playing the sound. i have a javascript telling links to play the sound
    i also have another script telling link to wait 2 seconds before following any clicks.
    these 2 scripts work independantly, but not together. the trouble im having is im new to javascripts, so i know nothing. i have learnt that i may need to put the run command of one or both of the scripts in the body tag?
    but, what is the run command, lol?

    please help?

  2. #2
    Master Coder sunfighter's Avatar
    Join Date
    Jan 2011
    Location
    Washington
    Posts
    6,286
    Thanks
    30
    Thanked 863 Times in 861 Posts


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •