Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Design-concepts-design-patterns After Clicking Image I need Popup Window
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Rajendra
After Clicking Image I need Popup Window
1 Answer(s)      5 years ago
Posted in : Design concepts & design patterns


Hi Friends. when i click any image button , i need to display popup window in javascript.can u give code for this

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>

<BODY bgcolor="green">
EMPLOYEE DETAILS
<BR><BR>
<BR><BR>
<TABLE border="1" align="center">
<TR><TH rowspan="2">Name<TH colspan="2">Date<TH rowspan="2">Code<TH rowspan="2">Dept <TH rowspan="2">Designation <TH rowspan="2">ADD <TH rowspan="2">EDIT <TH rowspan="2">DEL
<TR><TH>In<TH>Out</TR>

<TR><td>Prakash</td><TD>11-May<TD>11-May<TD>A<TD>1111<TD>Software Engineer<TD><img src="D:\Icons\arrow_07.gif"/><TD><img src="D:\Icons\arrow_121.gif"/> <TD><img src="D:\Icons\arrow_57.gif"/><TR>

<TR><td>sachin;</td><TD>12-May<TD>12-May<TD>B<TD>2222<TD>Batsman<TD> <img src="D:\Icons\arrow_07.gif"/> <TD><img src="D:\Icons\arrow_121.gif"/> <TD> p<img src="D:\Icons\arrow_57.gif"/><TR>

<TR><td>Viki</td><TD>11-May;<TD>11-May<TD>A<TD>3333<TD>Software Engineer <TD><img src="D:\Icons\arrow_07.gif"/> <TD><img src="D:\Icons\arrow_121.gif"/> <TD><img src="D:\Icons\arrow_57.gif"/><TR>

<TR><td>Rams</td><TD>12-May<TD>12-May<TD>B<TD>4444&<TD>;S.Software Engineer<TD> <img src="D:\Icons\arrow_07.gif"/> <TD><img src="D:\Icons\arrow_121.gif"/> <TD> <img src="D:\Icons\arrow_57.gif"/><TR>

</TABLE>

</BODY>
</HTML>

Advertisement
View Answers

January 4, 2010 at 2:46 PM


Hi Friend,

Try the following code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<SCRIPT>
function hello(){
window.open('','mywindow','width=500, height=350,toolbar=no,resizable=yes,menubar=yes');}
</SCRIPT>
</HEAD>

<BODY bgcolor="green">
EMPLOYEE DETAILS
<BR><BR>
<BR><BR>
<TABLE border="1" align="center">
<TR><TH rowspan="2">Name<TH colspan="2">Date<TH rowspan="2">Code<TH rowspan="2">Dept <TH rowspan="2">Designation <TH rowspan="2">ADD <TH rowspan="2">EDIT <TH rowspan="2">DEL
<TR><TH>In<TH>Out</TR>

<TR><td>Prakash</td><TD>11-May<TD>11-May<TD>A<TD>1111<TD>Software Engineer<TD><img src="D:\Icons\arrow_07.gif" onclick="hello();"/><TD><img src="D:\Icons\arrow_121.gif" onclick="hello();"/> <TD><img src="D:\Icons\arrow_57.gif" onclick="hello();"/><TR>

<TR><td>sachin;</td><TD>12-May<TD>12-May<TD>B<TD>2222<TD>Batsman<TD> <img src="D:\Icons\arrow_07.gif" onclick="hello();"/> <TD><img src="D:\Icons\arrow_121.gif" onclick="hello();"/> <TD> <img src="D:\Icons\arrow_57.gif" onclick="hello();"/><TR>

<TR><td>Viki</td><TD>11-May;<TD>11-May<TD>A<TD>3333<TD>Software Engineer <TD><img src="D:\Icons\arrow_07.gif" onclick="hello();"/> <TD><img src="D:\Icons\arrow_121.gif" onclick="hello();"/> <TD><img src="D:\Icons\arrow_57.gif" onclick="hello();"/><TR>

<TR><td>Rams</td><TD>12-May<TD>12-May<TD>B<TD>4444&<TD>;S.Software Engineer<TD> <img src="D:\Icons\arrow_07.gif" onclick="hello();"/> <TD><img src="D:\Icons\arrow_121.gif" onclick="hello();"/> <TD> <img src="D:\Icons\arrow_57.gif" onclick="hello();"/><TR>

</TABLE>

</BODY>
</HTML>

Thanks


Related Tutorials/Questions & Answers:
After Clicking Image I need Popup Window - Design concepts & design patterns
After Clicking Image I need Popup Window  Hi Friends. when i click any image button , i need to display popup window in javascript.can u give code for this New Document EMPLOYEE DETAILS
popup window checkbox and sbumit button
popup window checkbox and sbumit button  Hi, Requirement: popup window having multiple checkboxes, I have to select couple of checkboxes and click the submit button. I am unable to get the check box values... need help
Advertisements
Popup Window Example in JavaScript
Popup Window Example in JavaScript       In this article you learn popup Window in java script. Three kinds of  popup windows are available in java script
need popup calender - Date Calendar
need popup calender  Hi, I need a pop up calender code in html, but i guess javascript would be needed for event handling . I need a code which would display the value in the textbox area. I mean, when the user clicks
Flex - Call JavaScript Function And Open a Popup Window that Displays Data
Flex - Call JavaScript Function And Open a Popup Window that Displays Data  Flex - Call JavaScript Function And Open a Popup Window that Displays Data
Popup Window using Ajax In JSP
Popup Window using Ajax In JSP       In this section, we will develop a Popup... on View Database button, popup Window will be displayed
Should not logout after clicking the back/forward button
Should not logout after clicking the back/forward button  Hi all I have wrote a code for login now. User is able to login but after logging in when... if clicked the forward button user gets logged in..!! how can I solve this issue? What
change the name of the image after uploading the image
change the name of the image after uploading the image   my form consists of a textbox and uploading the image.after uploading the image i want to change the name of the image with the content of the textbox before saving
need dynamic image example
this with the image. I need to see an example of how to do this for an image. I am...need dynamic image example  struts 2 img example for a dynamic image.... I am creating a profile for a user and the user is uploading his image which I
hello there i need help
hello there i need help  : i need to do a program like this: Automatic Teller Machine [B] Balance [D] Deposit [W] Withdrawal [Q] Quit select you... me with the codes and please explain to me how it works. i only need to use
I have need to help
I have need to help  Write a program that, for four points A, B, C and P, draws a triangle formed by ABC and a small cross showing the position of P.... The user will specify the four points by clicking
I need an example of sessionfactory
I need an example of sessionfactory  Hi, I need an example of session factory in hibernate. If you can provide me one with, that would be great...Thanks
Tomahawk popup tag
;    This tag is used to create the popup window... attributes to display the popup window at a certain place i.e. we can set its... set when to close this window either when triggering element is left or the popup
Write an applet to display scrolling image in an applet window using thread.
Write an applet to display scrolling image in an applet window using thread.  Write an applet to display scrolling image in an applet window using thread
i need project
i need project  can u send online shoppin project 2 my mailid.   Please visit the following links: Struts2 Shopping cart JSP-Servlet Shopping cart
i need a help in this please
i need a help in this please  The factorial of a nonnegative integer n is written n! (pronounced ‚?? n factorial‚??) and is defined as follows: n!=n...=input.nextInt(); long num=m; for(int i=m;i>1;i
How to save image after edit in php
How to save image after edit in php  Hello, I have create a simple image editor with the effected of brightness, contrast, and desaturat etc. I have... successfully but i don't know how to replace orignal image with the effects. please
retaining save dialog box even after clicking save button - Java Beginners
retaining save dialog box even after clicking save button  I am building an apllication.In that i need to save a text typed in text area to a file.so when i open save dialog box and input a file name that is already present
I need to develop a gui like this
I need to develop a gui like this  Hai Friends, I need to develop... please help me   sorry goes through this link I need to develop like this image..please goes through
Display Data from database in Popup Window Using Ajax in JSP
Display Data from database in Popup Window Using Ajax in JSP... as button.  After click on particular "Red" Color image...; color image.  Then pop up window is closed and Show the parent window with data
i need help to solve this problem
i need help to solve this problem  Write a stack class... after perform each of the following sequence of events: a. start with an empty.... H and I join the queue h. G leaves the queue i. H and I leave the queue
Window
Window  how to create an window of a person like regestration form
I need Spring 2.5 example.
I need Spring 2.5 example.  Hello, I am looking forward to learn Spring framework and hence I need Spring 2.5 and Spring 3.0 example.. Thanks
How to Display Next question from database after clicking Next Button using "Arraylist concept"
How to Display Next question from database after clicking Next Button using "Arraylist concept"  </tr> <%if (pageName.equals("1")) {%> <tr> <td> <div style
i need program or code for this program
i need program or code for this program  out should be in this form 1 2 3 4 5 6 3 5 7 9 11 8 12 16 20 20 28 36 48 64 112
i need help - Development process
i need help  hello, i need help regarding this program. public...()); } } } it is printing the result of ping in to a file,but if i want... the result in to the files,if i want to do this i must make my program running
i need help - Development process
i need help  hello, i need help regarding this program. this program gives ping to the system. import java.net.*; import java.io.*; import... IPAddress on command line, but i want to take it dynamically and it must store
i need help plz .... Quickly
i need help plz .... Quickly   how can i count how many numbers enterd by the user so the output would be like this Total number of Scores = .... this is my code :- import java.util.Scanner; public class SCORES { public
I need add my java program with a picture.
I need add my java program with a picture.  Good evng Frnds Friends i created 1 jar file in my desktop. I need add this program with 1 picture. Whenever the user double clicking on that picture The program must start instead
This is what i need - Java Beginners
. for this question i need just : one function can read string like (I like...This is what i need  Implement a standalone procedure to read in a file containing words and white space and produce a compressed version of the file
Popup dialog box in java
Popup dialog box in java  How to display popup dialog box in java?   Dialog Box- A dialog box is an independent small window which appear... can create popup dialog box. Java swing toolkit provide tow types of dialog box
 

 

 

DMCA.com