Plz Help me figure out the problem

Discussion in 'HTML & Website Design' started by samkak, Jan 22, 2010.

  1. #1
    I have a site http://desitvlive.co.tv/ ;it loads ok on Firefox but with IE initially there is a blank page then the site loads immediately.Also there is this "done but error" message in the bottom left side.

    I think it can create a bad impression before the visitors,so i want to solve the problem.

    Can anybody tell me where the problem lies exactly?
     
    samkak, Jan 22, 2010 IP
  2. james113

    james113 Greenhorn

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #2
    your site blocks right clicking. I can't access your code to find the error:confused:
     
    james113, Jan 23, 2010 IP
  3. samkak

    samkak Active Member

    Messages:
    494
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #3
    sorry about that,its jst to prevent people from copying stuff.

    but you can get the source code under "view" tab of the browser.
     
    samkak, Jan 23, 2010 IP
  4. Keysoft

    Keysoft Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    There must be virus problem in your pc. Scan your whole pc and then again update your whole site to server
     
    Keysoft, Jan 23, 2010 IP
  5. samkak

    samkak Active Member

    Messages:
    494
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #5
    can somebody who knows something about coding/css/html help me out?i need suggestions from someone who is experienced in this stuff.
     
    samkak, Jan 23, 2010 IP
  6. zahidislam

    zahidislam Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    yes i can fix this problem view my pm
     
    zahidislam, Jan 23, 2010 IP
  7. james113

    james113 Greenhorn

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #7
    I did a quick scan of a couple of your webpage files. You have some javascript reference links embedded in the Body section of your pages.


    <script type="text/javascript" src="sdmenu/sdmenu.js"></script>
    <script type="text/javascript" language="javascript" src="tultip/domLib.js"></script>
    <script type="text/javascript" language="javascript" src="tultip/fadomatic.js"></script>
    <script type="text/javascript" language="javascript" src="tultip/domTT.js"></script>
    Code (markup):

    These should be embedded within the
    <Head> 
    Code (markup):
    section of your document just before the ending Head tag
    </Head> 
    Code (markup):
    Hopefully that will fix your error problem because I don't have time to investigate any further right now. Good luck!
     
    james113, Jan 30, 2010 IP
  8. samkak

    samkak Active Member

    Messages:
    494
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #8
    Thanks a lot...i really appreciate your help!!!
     
    samkak, Feb 2, 2010 IP
  9. samkak

    samkak Active Member

    Messages:
    494
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #9
    but sorry to say that dint solve the problem.moreover check out this article from yahoo:-


    Put Scripts at the Bottom


    tag: javascript

    The problem caused by scripts is that they block parallel downloads. The HTTP/1.1 specification suggests that browsers download no more than two components in parallel per hostname. If you serve your images from multiple hostnames, you can get more than two downloads to occur in parallel. While a script is downloading, however, the browser won't start any other downloads, even on different hostnames.

    In some situations it's not easy to move scripts to the bottom. If, for example, the script uses document.write to insert part of the page's content, it can't be moved lower in the page. There might also be scoping issues. In many cases, there are ways to workaround these situations.

    An alternative suggestion that often comes up is to use deferred scripts. The DEFER attribute indicates that the script does not contain document.write, and is a clue to browsers that they can continue rendering. Unfortunately, Firefox doesn't support the DEFER attribute. In Internet Explorer, the script may be deferred, but not as much as desired. If a script can be deferred, it can also be moved to the bottom of the page. That will make your web pages load faster.

    Source:- Yahoo
     
    samkak, Feb 2, 2010 IP
  10. james113

    james113 Greenhorn

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #10
    There are many, many reasons on-page javascript should be located at the end of your webpage document if at all possible. You are using a combination of on-page javascript and CSS to make your text links change color on mouseover. This can be done using CSS by itself with a lot less code which will also make your page load faster. Sometimes several different javascripts and CSS files on a page can read as an error because they contain references to duplicate class names or directives.


    Many people do not have javascript enabled while surfing new websites for privacy reasons. I never use on-page javascripts unless absolutely necessary unless they can be placed at the end of the pages code and it does not interfere with the appearance or usibility of the webpage if javascript is not enabled on a users browser.


    I also noticed and I can't believe I overlooked this the first time I examined your webpages:eek:, but none of your web pages have a document type. For example, if you view the source of this page you will find the code below embedded at the top of the page. Some browsers are more reliant on this than others.
    
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    Code (markup):

    Hope this helps:)
     
    james113, Feb 2, 2010 IP
  11. samkak

    samkak Active Member

    Messages:
    494
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #11
    Well as the site is related to watching TV,i cant help but keep the javascript.So thats ruled out.
    I entered the code that you gave(i too forgot about that!!!) ; but that does not solve the problem.
    The site loads fine on firefox,but it remains blank for say 5secs on IE,then loads suddenly.
    I think it may create a bad impression on people.
    Please suggest some solution.

    Thanks for your response.... :)

    Regards.
     
    samkak, Feb 3, 2010 IP
  12. james113

    james113 Greenhorn

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #12
    I do not have the time to sort through any more of your code. I suggest that you should use the W3c validator to find errors and fix as many as you can. Go to this page and enter your websites URL and click Check. It will show you every error in your code. When I used it to check your homepage yesterday, it was reporting over 130 errors. Good luck!
     
    Last edited: Feb 3, 2010
    james113, Feb 3, 2010 IP
  13. samkak

    samkak Active Member

    Messages:
    494
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #13
    ok thanks a lot... :)
     
    samkak, Feb 4, 2010 IP
  14. samkak

    samkak Active Member

    Messages:
    494
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #14
    I have gone through the validation process,and made changes now only one error remains.

    "<script>var first_channel=" . $ch_row[ch_id] . ";</script>"

    This is the code,it asks me to enter the type of script,when i use the type as javascript,then the site stops functioning.

    And yes,when i tried seeing the error that IE reports,they are different from this.SO i guess there is some other error as well.

    Could anyone please help.

    James,any ideas?
     
    samkak, Feb 6, 2010 IP