SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jul 2000
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How could create a script which when you click on some text/image it plays a random song, I already have the random bit sorted of the script, it's just getting it to play when you click it, I tried using document.write with no luck, please can someone help me...

    Thanks, Hell.

  2. #2
    Fluffy Kitten Programmer~ Elledan's Avatar
    Join Date
    Jun 2000
    Location
    Netherlands
    Posts
    1,356
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If the random-things a function is, then you can make a button that activates the function. I'm not sure whether you can do the same for a 'normal' link.

    ------------------
    Elledan Dunedain
    Webmaster
    www.emudreams.web.com

  3. #3
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    The following script should help:

    Cut & Paste onMouseOver/onClick sound effect on Website Abstraction

    ------------------
    -Kevin Yank.
    http://www.SitePoint.com/
    Helping Small Business Grow Online!


Bookmarks

Posting Permissions

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