Meaningless Drivel is fun!*
The moose likes HTML, CSS and JavaScript and the fly likes Problem with a gif in google chrome Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Problem with a gif in google chrome" Watch "Problem with a gif in google chrome" New topic
Author

Problem with a gif in google chrome

Gerenne Vives
Ranch Hand

Joined: Feb 05, 2005
Posts: 60
Hi all,

I have a problem with google chrome, I have a gif that I want show whe I'm loading a page, in firefox there are'nt any problem, and the gif is showed correctly, but in chrome there are nothing, the code is:

In the jsp:



In css:



And in th js:



Thanks in advance!!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

I don't see anything at all to do with a GIF in your code.

Perhaps some of your code is missing because you did not UseCodeTags?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Gerenne Vives
Ranch Hand

Joined: Feb 05, 2005
Posts: 60
Hello Bear,

Sorry if I've bothered you... but my problem is with css, and javascript. I think that this is the correct forum, may be the title is confused....anyway, the break link that appear in the first post is the tag img with the root of image:



Thanks in advance.
Rob Crowther
author
Ranch Hand

Joined: Nov 06, 2012
Posts: 295
    
    5

Edit your first post and put all the code in code tags.


Read my books: Hello! HTML5 & CSS3 | HTML5 in Action | Read my blog
Gerenne Vives
Ranch Hand

Joined: Feb 05, 2005
Posts: 60
I've solved this problem.

In the js:

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

Whoa! If you have to do a set timeout to get this to work, it probably just means that your page is structured wrong. using a timeout is a very very poor way to fix the issue.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with a gif in google chrome
 
Similar Threads
ToggleRows
Showing Hiding <s:div> tag in Struts2
web page printing
Eric, come in please
How to pass values from struts select tag to another struts tag?