JavaScript: Images are not displayed on firefox for first load

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sunfra
    New Member
    • Aug 2012
    • 2

    #1

    JavaScript: Images are not displayed on firefox for first load

    http://aim.sunfra.com/?page_id=15
    >> this is the page
    When we refresh the page its all images are displayed....

    Can any one help me out...

    thanks in advance
  • ariful alam
    New Member
    • Jan 2011
    • 185

    #2
    I am using FireFox 10.0.2. And it's showing all the images there. Moreover, if you need help then you should show your code here to check the code problems.

    Comment

    • gits
      Recognized Expert Moderator Expert
      • May 2007
      • 5390

      #3
      the following errors appear when i load the page:

      Code:
      GET http://aim.sunfra.com/styles.css 404 (Not Found)
      contentflow.js:2
      GET http://aim.sunfra.com/mycontentflow.css 404 (Not Found)
      /?page_id=15:402
      GET http://aim.sunfra.com/img/slider_white.png 404 (Not Found)
      check if all sources are available.

      Comment

      • sunfra
        New Member
        • Aug 2012
        • 2

        #4
        Hi.,
        Code:
        <script type="text/javascript">
        var mouseX;
        var mouseY;
        function showHide(src_img,imgID)
        {
        
        		document.getElementById("a").src=src_img;
        		
        }
        </script>
        >>>>
        this is the javascript used
        and
        Code:
        <div class="item">
                        <img class="content" src="http://bytes.com/topic/javascript/answers/topic/javascript/answers/topic/javascript/answers/...." id="dirImg7" onclick="showHide('....',this.id)"/>                
                    </div>
        is used for displaying images on the page..
        Let me know if you could make it...
        Thanks
        Last edited by gits; Aug 28 '12, 12:13 PM. Reason: added code tags

        Comment

        • ariful alam
          New Member
          • Jan 2011
          • 185

          #5
          I found know error there on that page in FireFox 10.0.2.

          Comment

          • gits
            Recognized Expert Moderator Expert
            • May 2007
            • 5390

            #6
            in firefox firebug extension the following errors occur with that page: http://aim.sunfra.com/?page_id=15

            Code:
            "NetworkError: 404 Not Found - http://aim.sunfra.com/styles.css" styles.css
            "NetworkError: 404 Not Found - http://aim.sunfra.com/mycontentflow.css" mycontentflow.css
            "NetworkError: 404 Not Found - http://aim.sunfra.com/img/slider_white.png" slider_white.png
            "NetworkError: 404 Not Found - http://aim.sunfra.com/img/loader.gif" loader.gif
            if there is a problem with something in that page - make sure that all sources that should be used are available.

            Comment

            Working...