By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,442 Members | 1,316 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,442 IT Pros & Developers. It's quick & easy.

JavaScript: Images are not displayed on firefox for first load

P: 2
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
Aug 27 '12 #1
Share this Question
Share on Google+
5 Replies


ariful alam
100+
P: 185
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.
Aug 27 '12 #2

gits
Expert Mod 5K+
P: 5,390
the following errors appear when i load the page:

Expand|Select|Wrap|Line Numbers
  1. GET http://aim.sunfra.com/styles.css 404 (Not Found)
  2. contentflow.js:2
  3. GET http://aim.sunfra.com/mycontentflow.css 404 (Not Found)
  4. /?page_id=15:402
  5. GET http://aim.sunfra.com/img/slider_white.png 404 (Not Found)
  6.  
check if all sources are available.
Aug 28 '12 #3

P: 2
Hi.,
Expand|Select|Wrap|Line Numbers
  1. <script type="text/javascript">
  2. var mouseX;
  3. var mouseY;
  4. function showHide(src_img,imgID)
  5. {
  6.  
  7.         document.getElementById("a").src=src_img;
  8.  
  9. }
  10. </script> 
  11.  
>>>>
this is the javascript used
and
Expand|Select|Wrap|Line Numbers
  1. <div class="item">
  2.                 <img class="content" src="http://bytes.com/topic/javascript/answers/topic/javascript/answers/topic/javascript/answers/...." id="dirImg7" onclick="showHide('....',this.id)"/>                
  3.             </div>
is used for displaying images on the page..
Let me know if you could make it...
Thanks
Aug 28 '12 #4

ariful alam
100+
P: 185
I found know error there on that page in FireFox 10.0.2.
Aug 28 '12 #5

gits
Expert Mod 5K+
P: 5,390
in firefox firebug extension the following errors occur with that page: http://aim.sunfra.com/?page_id=15

Expand|Select|Wrap|Line Numbers
  1. "NetworkError: 404 Not Found - http://aim.sunfra.com/styles.css" styles.css
  2. "NetworkError: 404 Not Found - http://aim.sunfra.com/mycontentflow.css" mycontentflow.css
  3. "NetworkError: 404 Not Found - http://aim.sunfra.com/img/slider_white.png" slider_white.png
  4. "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.
Aug 28 '12 #6

Post your reply

Sign in to post your reply or Sign up for a free account.