My site freezes

Discussion in 'JavaScript' started by Djuxe, Nov 2, 2008.

  1. #1
    Hi guys!

    My site is www.djuxe.com
    READ BEFORE YOU VISIT:

    Its a music streaming website. It works pretty good when you enter the site, perform a search and press playbutton to stream the music.

    But the problem is that the site freezes when you do a search from the result page.

    For example:
    http://www.djuxe.com/search/michael-jackson/1/mp3

    If you perform another search from here the site will freeze. (Try it out if you want, but your browser will freeze)

    I assume its a javaproblem and not a php since the web browser gets affected.
    Any ideas what it could be?

    I would be forever greatful for any help!
    Yours,
    Djuxe
     
    Djuxe, Nov 2, 2008 IP
  2. rohan_shenoy

    rohan_shenoy Active Member

    Messages:
    441
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #2
    You streaming using flash? Flash causes 100% CPU usage on some browsers.
     
    rohan_shenoy, Nov 2, 2008 IP
  3. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #3
    does not freeze for me, FF 3 here.

    in ie7 though, other than CSS being all over the place, I get a JS error here:

    <input name="cmdSearch" type="image" id="cmdSearch" onclick="this.submit();" value="Search!" src="/images/icon_search.png" align="middle" />

    this.submit(); really has no meaning here - it needs to be in the context of the parent element (aka, the form). "this" for the submit button to use a .submit() method is useless.
     
    dimitar christoff, Nov 3, 2008 IP
  4. pubdomainshost.com

    pubdomainshost.com Peon

    Messages:
    1,277
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Didn't freeze IE as well - just did a search and works perfectly fine. Have you tested it from any other machine yet ? it's possible version of IE on your comp or java or any other 3rd party tool, tool bar could be responsible for such behaviour.

    Cheers
     
    pubdomainshost.com, Nov 3, 2008 IP