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.
Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    SPD
    SPD is offline
    New Coder
    Join Date
    Apr 2003
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cute background music switch

    Check it here:

    http://www.superprodesign.com/spd/sc.../backmuim.html

    Allows you to include your own images as switch...

    Cute, isn't it?

    As always, enjoy!

    Enjoy!

    http://www.superprodesign.com

    SPD :thumbsup:

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,649
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Is that demo working? I don't hear anything.
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    United Kingdom Confused: Often
    Posts
    859
    Thanks
    0
    Thanked 0 Times in 0 Posts
    indeed, what browser(s) is it meant to work in?
    redhead

  • #4
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Likewise. Just static from my overly-turned-up speakers
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

  • #5
    SPD
    SPD is offline
    New Coder
    Join Date
    Apr 2003
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    IE5+ ....

    In IE5+

    The code is working and fully developed for those browsers.

    I just heard it now and tried it in my IE....
    Enjoy!

    http://www.superprodesign.com

    SPD :thumbsup:

  • #6
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I got IE6. Sorry, don't hear it. I've heard sound from some of your other pages, but not this one.
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

  • #7
    Regular Coder
    Join Date
    Nov 2002
    Location
    Carmel California
    Posts
    471
    Thanks
    0
    Thanked 1 Time in 1 Post
    embed sound always acts VERY VERY wierd when i use it.... because regardless of operating system and browser, it either works or does not work... i dont know what the heck it is, but its really anoying, and i cant figure out an easy way to know if it will work or not accept by testing on the individual computer.




    p.s yey this is my 200th post
    Last edited by kwhubby; 04-21-2003 at 09:22 AM.
    Kris Hubby
    kwhubby site

  • #8
    New to the CF scene
    Join Date
    Jun 2002
    Location
    MN
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    SPD,
    Just wanted to say you've got some Very Nice stuff on your site.
    Great Work mefriend

  • #9
    Registered User
    Join Date
    Aug 2003
    Location
    Wales
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts
    just for the record, i was puzzled when it wouldnt play on my box (i am one of those sad people who does put sounds in pages), however, after a check of my mixer settings, i found that midi had been muted, and the example file was indeed midi. i unmuted, it worked fine.

  • #10
    Senior Coder
    Join Date
    Mar 2003
    Location
    OHIO
    Posts
    1,438
    Thanks
    1
    Thanked 0 Times in 0 Posts
    The sound plays but the button to turn it off does not work in Netscape 7 on my MAC.

    Having the info on the page about which browsers it works in wold be a good thing. I bet there are people using your scripts mistakenly believing they work in ALL browsers when they don't.

    I get this error in the javascript console:

    Error: se2 is not defined
    Source File: http://www.superprodesign.com/spd/sc.../backmuim.html
    Line: 36

    MNS
    [size=1]"If you want to be "in the biz" you are going to have to roll with the changes or get out, basically."

  • #11
    New Coder
    Join Date
    Sep 2003
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You probably need to place:
    <BGSOUND SRC="'+musi+'" autostart='true' LOOP=1>
    right after or before
    <embed src='"+musi2+"' hidden=true autostart='true' loop=-1>
    as for some reason msie 6 on XP does not like the embed command like netscape does. Placing the noembed with the bgsound doesn't seem to work either. I use the following script when using music on my pages:

    <script type="text/javascript" language="JavaScript">
    <!-- Original: Kipp W. Shinabarger (kipps@bigfoot.com) -->
    <!-- This script and many more are available free online at -->
    <!-- The JavaScript Source!! http://javascript.internet.com -->
    <!-- Begin
    var MSIE=navigator.userAgent.indexOf("MSIE");
    var NETS=navigator.userAgent.indexOf("Netscape");
    var OPER=navigator.userAgent.indexOf("Opera");
    if((MSIE>-1) || (OPER>-1)) {
    document.write("<BGSOUND SRC=music/cheers.mid LOOP=1>");
    } else {
    document.write("<EMBED SRC=music/cheers.mid AUTOSTART=TRUE ");
    document.write("HIDDEN=true VOLUME=100 LOOP=1>");
    }
    // End -->
    </script>

  • #12
    Regular Coder
    Join Date
    Nov 2002
    Location
    Carmel California
    Posts
    471
    Thanks
    0
    Thanked 1 Time in 1 Post
    whats interesting though, is that I have seen xp home with ie 6 work with embeded sounds, I actually saw 2 same model dell computers ordered in the same order, with xp home and ie 6, were one worked with embeded sounds and the other did not... Bgsound is a fine alternative for playing background sounds, but ive found that when bgsound is started it has a short delay, and creates a brief lag in the script running were embed does not--- This is anoying to me because I wanted the sounds for a game i was making, embed workes great but as I said bgsound makes it pause for a second-making the game very unsmooth

    ps. thanks for that little script, I think that will be usefull to be in the future
    Kris Hubby
    kwhubby site

  • #13
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,649
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I have never ever gotten anything to play in Netscape using standard tags...They used to use Mastersound...but dropped it. Can't really use Real Audio because they keep changing their codecs every 8 months...Can't play .wavs...it's NS. The only thing I've ever gotten to play in NS is Flash which blows away all other methods with small, quick-loading files and is cross-browser.
    Last edited by zoobie; 09-26-2003 at 08:53 PM.
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">

  • #14
    Registered User
    Join Date
    Aug 2003
    Location
    Wales
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts
    a gap in the loop often occurs when using an mp3, the player has to reload the codec, if the sound is small, try using a wav.

    when embedding files, i have found it depends on the machine config, for example a friends xp box plays fine using windows media player, another friends 98 opens a qt player in the page, it depends what player is set to be default.

    to top it off, i have a win95 machine with ie5, none of the windows sounds work including winamp, causing driverless nasty digital sounds, however i can connect to webradio stations and shockwave.com fine, but only in IE, go figure.

    as far as IE is concerned, i only use bgsounds (max of 5) and anything else i use flash (the mp3 loop gap is eradicated)

    Mozilla also seems to be strongly dependent on machine config.

  • #15
    SPD
    SPD is offline
    New Coder
    Join Date
    Apr 2003
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool Playing a sound

    To all the nice people that been concerned about my script:

    First of all, thank you for your ongoing interest in my script and hope that you enjoyed it and hopefully used it.

    As far as playing a sound:

    Lastly, I have been working on a perfect method for IE browsers.

    The perfect method should have these characteristics:

    - Preloaded sounds.
    - Not interrupt the flow of the script or transition.
    - Compatibility with Real Audio.

    I think I've got to a good way of doing this. I have something I would like to share with all the nice people here, but I will be able to as soon as I finish the last details to make sure I'm offering something good.

    All what you say is true, but we must find a DHTML/Javascript method, not to resource to flash for another web programming language....

    I hope to post a link soon, and after let me know what you think.

    SPD
    Enjoy!

    http://www.superprodesign.com

    SPD :thumbsup:


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

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