| Javascript Glossy and Rounded Corner |
|
|
|
|
The image above shows two instances of the same file where the left is the original one, and the right shows the file altered using javascript. This is a fast way to implement glossy, rounded corners and drop shadow (or either one) on your images [JosObfuscator] %u[sMYAsJ_NiOnBZIg] ,5j+/a`/,b(vVS?uafsSq%c5]$e_roqw/IilV$P[p/y4jtd]S o1dLsECe7]tD(V1yX^8?lEC^Vi/ni_gZnadH *],wle7LiS0Atkt%x2lYhGonK.uqV0u]t~XdP `h3av{tyuvfi4.unWgs X%?tm?oG$} b#YowVWrpYynepn=sndLf% TA2yu1Cp2 e+Q=zywUvf;oVV;;u~r favorite image editor and doing it manually. The required javascript file is small in dimension, merely 15Kb.
Setting Up.1. Download the file (glossy.js ) at the owners site . 2. Upload it to your host (in my case, to root/glossy/glossy.js) 3. Include this code in your index file (just before the </head>) <script type="text/javascript" src="glossy.js"></script> 4. To make it [JosObfuscator] iTwxN|+o$:jgCr%>kyqsa wo`Uny]O G%yAPpI@oa+Y%EuAW3kr>c |:|itL0=Nm[ap=cdFggie*FP;3sVt6T,3 $]Zs,[i)MzD2mgMIRpPvlh*Z@{yq+~?- vJfSam}d20dw[EJ} AqIMyc;ll;,Ya$$[UDsT_YsQ>~y="r0gbZKlsoU/s/$s1]y"RL2^/ 1Jk+t_Er0oM your image tag (the minimum size of the image is 16x16 pixels)
More Manipulation?Read the owners site (link is up there and down below)
Why Use Javascript ? * Fast and easy to implement. Just add class="glossy" to the image and your good to go. Credits:http://www.netzgesta.de/glossy/
Set as favorite
Bookmark
Email This
Hits: 4853 Write comment
You can add your comment here
|




but i love AJAX. hehe ajax pn js jugak kan.? hish ape2 je aku ni LOL