Archive for 08/16/14

View all animated gifs in a folder at the same time?

by 0

Window don't support this function
So we have to create a html which contain all gifs in the folder

Open notepad, put this text inside:


FOR /F %%G IN ('dir /B *.gif') DO echo ^^ %%G^
 >> gifs.html
Save as "showgifs.bat"

Then run it. The script will generate file gifts.html
Then You can opoen that file with any browser

Replace a color with another with GIMP free photo editor

by 0

In GIMP, to change white to blue:
  • Open the image file
  • menu Colors/Map/Color Exchange
  • Press the colour selection for "From Color". Set R, G and B to all 255. Press OK button.
  • Press the colour selection for "To Color". Set R and G to all 0. Set B to 255. Press OK button.
  • Press OK button.
White and black are special... If you want to translate all other colours then:
  • Open the image file
  • menu Colors/Hue-Saturation
  • Press "Master" button
  • Drag the Hue slider

You can download Gimp portable in :

Replace Colors with the Replace Color Tool in Firework

by 0

Replacing Colors with the Replace Color Tool
It is very easy to change colors in a photo or object with the color swatch tool. Remember that Fireworks looks at color in pixels. No object has the exact color throughout. This is where the tolerance comes in. You want to play with the tolerance until you get the color variation that picks up all the color shades of the color you want to replace. The picture I am using for this tutorial was taken directly from the Fireworks help topics packaged with the program:

Read more »

get head content of page with jquery

by in , 0

You can use this code:
With Jquery


$("head")
//for example:
alert($("head").html());

With JS:

var headContent = document.getElementsByTagName("head")[0].innerHTML;