maximize an image using javaScript

maximize an image using javaScript

Write the code to maximize an image using javaScript?

View Answers

November 12, 2010 at 12:30 PM

Hi,

<img src="c:\nurtured_by_nature_sm.jpg" name="img1"  
onmouseover="img1.width='400';img1.height='500'"
onmouseout="img1.width='200';img1.height='300';" />









Related Tutorials/Questions & Answers:
maximize an image using javaScript
maximize an image using javaScript  Write the code to maximize an image using javaScript
how to save uploaded image in database using javascript
how to save uploaded image in database using javascript  Please can you tell me how to store uploaded image in database using java I'll use the upload code as extArray = new Array(".gif", ".jpg", ".png"); function LimitAttach
Advertisements
Show spinner while loading image using JavaScript
Show spinner while loading image using JavaScript  Hello sir I am working on a web page which has .png image in middle of it. Other part of the page... spinner while loading image. Please Reply ASAP and also give code. Best regardsADS
javascript image not found
javascript image not found  javascript if image not found   <a href='$image'> <img alt='No Image' src='$image' onError="this.parentNode.onclick=function() {return(false);}"> </a>â
dynamic image change javascript
dynamic image change javascript  How to display images in JavaScript dynamically
changing an image based on checking checkbox using HTML & JavaScript, Please put div blocks
changing an image based on checking checkbox using HTML & JavaScript, Please...;script type="text/javascript"> function showImage...) { document.getElementById("image").style.visibility = 'visible
JavaScript hide image
; In this section, we are going to show and hide image on clicking the button using the JavaScript. In the given example, we have defined an image using <img>... JavaScript hide image
JavaScript move image
; This section illustrates you how to move an image on the window using JavaScript. In the following code, we have defined an image 'node.jpg' in order to move... JavaScript move image
Image Movement using Swings
Image Movement using Swings  How to move image using Swings
How to animate div with jQuery and JavaScript?
. In this tutorial we have learned to animate a div and add maximize effect using jQuery...Adding maximize effect to a div: How to animate div with jQuery and JavaScript? In this tutorial we will use jQuery library and write JavaScript program
How to animate div with jQuery and JavaScript?
In this tutorial we have learned to animate a div and add maximize effect using jQuery...Adding maximize effect to a div: How to animate div with jQuery and JavaScript? In this tutorial we will use jQuery library and write JavaScript program
delete an entry using JavaScript
delete an entry using JavaScript  How to delete an entry using JavaScript
Date object using JavaScript
Date object using JavaScript  What's the Date object using JavaScript
using for loop in javascript
using for loop in javascript  How to use for loop in JavaScript
Displaying images using Javascript
Displaying images using Javascript... to display images using javascript and css.For this we are going to make program named...;type="text/javascript" src="image-slideshow-5.js">
xls to js using javascript
xls to js using javascript  ![how can we convert a xls file in js file using javascript][1
timer using javascript
timer using javascript  How to display timer on HTML page using JavaScript
insert image using hibernate
insert image using hibernate  Sir, Today I hadposted question regarding upload image, th answer you had given is using SQL, but I am using Hibernate to insert data in the same table where I want to insert image. Plz hlp me
Image using Java coding
Image using Java coding  Hai, Display image in pdf file using Java coding through Xsl file.. Please help me.. xsl file generate the pdf file
send mail using JavaScript
send mail using JavaScript  How can we send mail using JavaScript?   Hi friends, You can not send email directly using JavaScript. But you can use JavaScript to execute a client side email program send the email using
display image using jsp
display image using jsp  display image using jsp and phonegap on emulator of eclipse   Here is a simple jsp code that displays an image on browser. <%@ page import="java.io.*" %> <%@page contentType="image/gif
Image name,image path into database and image into folder using jsp
Image name,image path into database and image into folder using jsp  How to insert image path and image name into oracle database and image into folder using jsp
Uploading image using jsp
Uploading image using jsp  how to upload image using jsp. Already i tried, But that image file does not read. It returns only -1 without reading that image file ... I want know that solution using by u... Thanks, P.S.N.  
How to shift and unshift using JavaScript?
How to shift and unshift using JavaScript?  How to shift and unshift using JavaScript
download image using url in jsp
download image using url in jsp  how to download image using url in jsp
Displaying image using jsp and spring.
Displaying image using jsp and spring.  how to display an image stored in WEB-INF/images folder on the browser using jsp and spring
convert numbers to strings using JavaScript
convert numbers to strings using JavaScript  How to convert numbers to strings using JavaScript
read and write a file using javascript
read and write a file using javascript  How to read and write a file using javascript
Math Constants and Functions using JavaScript
Math Constants and Functions using JavaScript  What's Math Constants and Functions using JavaScript
associate functions with objects using JavaScript
associate functions with objects using JavaScript  How to associate functions with objects using JavaScript
set the focus on an element using Javascript
set the focus on an element using Javascript  How to set the focus on an element using Javascript
checkboxes set to true using JavaScript
checkboxes set to true using JavaScript  To set all checkboxes to true using JavaScript
validate radio button using javascript
validate radio button using javascript  validate radio button using javascript
upload image using JSP Hibernate
upload image using JSP Hibernate  sir, I want to take image from user and save to database(MYSQL) using Hibernate and JSP Thanks in advance
image store in oracle using jswing
image store in oracle using jswing  hello ,ihave searched the image store in oracle using jswing but i did not find the code please help me
Replace broken Image using JQuery
Replace broken Image using JQuery  Sir My web page contains a lot of images. But when it will not loaded properly, it shows a broken image. How can I fix it so that broken image will be replaced by error image automatically
highlight words in an image using java
highlight words in an image using java  Hai all,In my application left side image is there and right side an application contains textboxes like... want to highlight name in the image using java/jsp/javascript.please help me
How to Store Image using JSF
How to Store Image using JSF  Hi How to upload images in db. using jsf. For jsf photo uploading .. I used this one code for upload image.. But this code haven't option to upload any images . i want to store image in db
Changing background color using JavaScript
Changing background color using JavaScript  Hi Sir Is there any way to change the background color using JavaScript ? Please mention code with your answer.   Hello Friend Pass the element & color in the given
javascript date validation using regex
javascript date validation using regex  Hi, I want to validate the date using javascript. Please help.   <html> <head> <title>Validating Date format</title> <script type="text/javascript">
Image Icon Using Canvas Example
Image Icon Using Canvas Example     ... location using Canvas class. In this example to create the image we are using following code: And for draw the image we are using following code of lines:ADS
Solve using only Javascript loops...
Solve using only Javascript loops...  Write a JavaScript code, 1) to find a number of unique letters in string. (Eg. if keyword is unique, Unique count will be '4') 2) so that numbers appear in following format, 1 1 2
how to fetch image from mysql using jsp
how to fetch image from mysql using jsp  how to fetch image from mysql using jsp
Multiple image upload using JSP
Multiple image upload using JSP  I have written a code to upload the multiple images using jsp, but when I execute this code, it throws Corrupt form...; String user_image_dir = user_name; > > File sourceFile; >
Display Image using Toolkit.getImage()
Display Image using Toolkit.getImage()   ... the specified image using Toolkit.getImage() method. To display the image, put an image...) of class ToolKit returns an image from the specified url. The method drawImage
how to give validation using javascript in swing
how to give validation using javascript in swing   how to give validation using javascript in swing....... can somebody give code for username and password validation using javscript and swing
Saving image and text in mysql db using spring?
Saving image and text in mysql db using spring?  Hii, My requirement is to save the employee details(including image) into mysql db.i want to save the image location in db .And actual image(binary formate) should save
How to write a search functionality using javascript/jquery
How to write a search functionality using javascript/jquery   How to write a search functionality using javascript/jquery for ex: im searching "s" names it wil display "s" names
use strings as array indexes using JavaScript
use strings as array indexes using JavaScript  How to use strings as array indexes using JavaScript
create a string from an array using JavaScript
create a string from an array using JavaScript  How to use "join()" to create a string from an array using JavaScript

Ads