scaling

Scale Images within Slider for Mobile Devices

I am currently working on the mobile version of my website. I use the NivoSlider throughout the site and unfortunately it doesn't seem to scale for mobile devices. I have a mobile specific section of my stylesheet and have tried using "width: 50%" and "max-width: 480px." They seem to shrink the area of the slider, but not the actual imag...

Downscaled FLV looks distorted - playing inside a fluid width container

I've got a flash movie playing inside a fluid width container. The width of the flash is controlled through the max-width property in CSS (embed, object {max-width: 100%;}, so it will never grow larger than the parent container. The movie is looking good when played in its original resolution (640x498 px), but as I downsize the window t...

What algorithm should I use to zoom a graph or map smoothly?

I have a graph, generated by a function, and it zooms itself in and out automatically, depending on the value of the function. I already have the graphing tools and I can display any x,y,width,height at high resolution. I tried just snapping to the right spot: x = target_x y = target_y width = target_width height = target_height But...

html canvas font scaling problem , text is flickering without reason

I readed many forums, but never found some analogue case. Javascript canvas font displays in a flickering fashion. The conditions appears to be: scale of the canvas is not an integer (for example setScale(0.1,0.3)) setTransform(1,0,0,1,0,0); and setScale are used widely to restore setting at every draw of new objects. Windows. In linu...