Tagged Questions
0
votes
1answer
43 views
Using css sprites with javascript
I know how to use css sprites with pure html and css. But what if I dinamycally change an image by selecting a value from a dropdown box with javascript?
<select name="pricing" ...
2
votes
1answer
50 views
Why is my spritesheet being loaded multiple times?
I have a spritesheet driving the appearance of a group of buttons, which change in response to various mouse operations. However, I can see a flicker when switching between sprites, and looking at the ...
0
votes
2answers
98 views
control sprite image coordinates with variables in css
I want to control sprite image coordinates in css using variables..
background: url('sprite.png') no-repeat -123px -321px; width: 23px; height: 22px;
what I want is to be able to use the above line ...
0
votes
2answers
195 views
Changing background position with Javascript?
Though I can see this question has been asked before I really need a solution without the use of JQuery, its for an embedded web interface and I don't want the overhead of loading jQuery. I need to be ...
1
vote
1answer
64 views
Minimum Space Sprite Arranger
I have a sprite with a ton of small icons and maintain the Illustrator file often enough that i'd like a script to automatically arranging the group objects as closely as possible without overlapping, ...
0
votes
1answer
152 views
Dynamic jQuery CSS with 3-state rollover backgroundPosition change depending on state
I have an a href on my header area, when the user clicks this header I want to change my pages background to white from black, and change the colors of my navigation buttons to black from white. All ...
2
votes
4answers
310 views
using CSS sprites to toggle states without writing a class for every case
Let me preface this question by saying that I'd like to avoid using javascript to solve this problem. If possible (it may not be) I'd like to keep all of this "logic" in CSS.
I am creating a board ...
0
votes
3answers
253 views
Stutter when animating / moving sprite with JavaScript
I'm attempting to create an animation by moving a sprite image across a div. The sprite image contains each frame of the animation. The size of the "canvas" is 600px by 624px. Each frame on the sprite ...
1
vote
1answer
83 views
Class-toggling CSS animations not switching frames correctly in Chrome
I wrote an HTML5/CSS3 remake of the Flash game, Chat Noir, about 3 years ago on my iPod Touch using the text editor in iFile (so sorry for the short names and messy code). The game can be found here:
...
7
votes
3answers
478 views
CSS Sprites performance
I have static image 500x640 sitting in folder catted by 20x20 pieces with css sprites, I am setting background-position to display each piece, I need such kind of display to be able to manipulate with ...
0
votes
0answers
159 views
Dynamically animated sprite with Spritely.net raises TypeError
I'm using spritely.net (v1.61) to animate a sprite. It is applied to a div with a background image, which is dynamically created and appended to the main content div. After the animation is shown ...
0
votes
2answers
356 views
HTML 5 - very simple animation
I need to understand how to create a simple animation in HTML 5 or CSS3.
Suppose you have this sprite (see picture) and you need to create an animation with 4 frames. The animation has to last ...
1
vote
2answers
98 views
mootools and sprite menu
i have a sprite tab menu that i would like to change the image when the user clicks, the problem is that i cant figure out how to do it properly, this is what i have:
<ul id="addCategoryList">
...
11
votes
1answer
1k views
Why not animated GIF instead of animated CSS sprites?
In recent trends I've seen people animating CSS sprites using JavaScript instead of using animated GIFs?
Ex:
http://www.google.com/doodles/eadweard-j-muybridges-182nd-birthday (in fact, Google ...
0
votes
2answers
296 views
Only playing Spritely animation on mouseover
I am currently creating an animation in jQuery using Spritely.
How would i go about playing the animation once on mouse over and then stopping the animation on mouse out...
Any Help would be great ...