C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Code Snippets » General »

Picture blurry zooming using JAVA


Posted Date: 18 Aug 2008    Resource Type: Code Snippets    Category: General
Author: UnlikeOthersMember Level: Silver    
Rating: 1 out of 5Points: 5



This javascript sample shows how to make a picture blurry.


<table cellspacing=0 cellpadding=0 width=380 height=340>
<tr><td align="center" valign="center">
<img name="slide1" src="vinoth_s.jpg" onClick="zoomBlurry();">
</td></tr></table>


Copy the below javascript code into your head of your webpage. And make the correct path to the picture which you wnt to show normally and the picture which you wnt to show bigger.


<script language="JavaScript">
var zoom1 = 0;
function zoomBlurry()
if(zoom1 == 0)
{
zoom1 = 1;
document.slide1.src = "vinoth_s.jpg";
document.slide1.width = 360
document.slide1.height = 320
}
else
{
zoom1 = 0;
document.slide1.src = "vinoth_s.jpg";
document.slide1.width = 180
document.slide1.height = 160
}
}
</script>




Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Picture zooming using java  .  Blur image  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Auto Open in excel + vba
Previous Resource: Create random number with Random class
Return to Discussion Resource Index
Post New Resource
Category: General


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use