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

 
 


Rajendra
After Clicking Image I need Popup Window
1 Answer(s)      3 years and 6 months 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>
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 Pages:
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
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
https popup msgs - Security
https popup msgs  Hi, I have an application with https link. After logging into that application using that https link, I will be redirected to a jsp page. I have one more https link inside a jsp page. eg
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
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
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
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
hello there i need help
hello there i need help  : i need to do a program like... me with the codes and please explain to me how it works. i only need to use... OPtions: once i have chosen an option then i should proceed here if i choose b
Baloon Popup in GWT
Baloon Popup in GWT  Hi, I am working on making a weekly Calendar in GWT.Here i need to show a Popup on mouse over event on any appointment already added.This popup should be a bubble pop up with an arrow/stem at its one
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
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
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
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
Java Script Code of Calendar and Date Picker or Popup Calendar
Java Script Code of Calendar and Date Picker or Popup Calendar...; This is detailed java script code that can use for Calendar or date picker or popup... window disappears automatically or user can close window by close   
window closing
window closing  hello, In my project i have login,logout and some jsp pages are there and each jsp page is using javascript and onunload script. and i need one solution that,when ever user trying to close browser window
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
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
Pop Up window - WebSevices
Pop Up window  How refresh pop up window,Tell me correct code for this problem.  Hi friend, I am sending a link. This link will help you. Visit for more information. http://www.roseindia.net/jsp/popup-window
Popup Box in JavaScript
Popup Box in JavaScript       Popup is used to create and show a component to the user, usually available on top of the window component in a particular hierarchy. The Popups
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
Example - Tiny Window
; The image on the left is the window in its "natural" size. There's nothing... Java NotesExample - Tiny Window The example discussed here is used to create tiny window in swing. The TinyWindow.java - Creates a very small window
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
swings window header
swings window header  i have a string1 it contains 3 parts... be whatever we give from string2,that should be displayed on the screen. i need logic for this program . i want to apply this to window header part. Thanks
JavaScript Open Modal Window
i.e. original window and new opened window. Here we are going to open a popup... JavaScript Open Modal Window...; In this section, you will learn how to open Modal window in JavaScript
Image Selection - Swing AWT
Image Selection  Hi, I need to provide the image selection facility to my module, as I am createing windows explorer type module and I have some... window after selecting!"); JFrame frame = new DisplayImage
popup registration form
popup registration form  hi i want a code for popup registration form.when user click a button popup form will appear.thanks.
get data in pop up window droplists and on selecting data in the same show a grid table with related datas
a grid table with related datas  Hi, Please help me urgently.... I need... (let it be state table). After selecting both country and state when I click on the button I need to get the list of hotels in a table grid format on the same
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
Popup very urgent plz - JSP-Servlet
Popup very urgent plz  Respected Sir/Madam, I am R.Ragavendran.. I got your reply.. Thank you very much for the response. Now I am sending the code.. Here When I click "View Database" Button,a small pop up window must be opened
The Window Event - Swing AWT
The Window Event  hey plz i need help here... plz modify this program in such a way that when i click on the exit button the jframe should close..., 700); setTitle("The Window Button"); setVisible(true
POP UP WINDOW
the methos for opening up a pop up window just after selecting an option from a drop down.I have three options in dropdown.If i select the option 'Replacement',then a pop up window should open with name,designation and roll number.Please help me
jQuery modal popup
jQuery modal popup  i want the full source code for modal popup for registration and inserting the data in the database using jdbc and oracle
Hide boxes by clicking on it using jQuery
(2000, function () { $(this).remove(); }); }); OUTPUT After clicking...Hide boxes by clicking on it using jQuery In this tutorial , we will discuss about how to hide boxes by clicking on it using jQuery. In the given below
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
iphone Button Action (changing background of window)
iphone Button Action (changing background color of window)   In this tutorial we will change the background color on clicking the button, This is Window Based application. Final application will look like this: In .h
opening new window - Java Beginners
opening new window  Hi All, I have two classes with me , lets say A and B.when I press a button in class A , the class B should open in a new window.i.e., I want to know, how a new window(B) can be opened by clicking a button
Need to expand tree by passing Id thr URL. (not by clicking manually) - Java Server Faces Questions
Need to expand tree by passing Id thr URL. (not by clicking manually)  Sub: Need to expand tree by passing Id thr URL. Hi, Here i have... and clientId in url browser and receiving in d Library.java. I need to expand
window in center
window in center  if i run the programme thw window is in lie in top left corner i want a window open in center
Get specific item details by clicking on hyperlink
Get specific item details by clicking on hyperlink  sir, I am... and corresponding image with a hyperlink on it from the database to a jsp page. -If I click on the image or item name I should get total datails from the database
Clear the print button after onclicking the print - JSP-Servlet
Clear the print button after onclicking the print  rate_print.document.writeln(" "); hai sir, this is my java script code, i ask how to clear the printbutton image when after onclicking the print button....  Hi
Need help in image uploading - JSP-Servlet
Need help in image uploading  hii, i have one doubt in uploading an image in jsp. I want to display image from DB to my jsp page. For that i upload images to a specified folder and save the path of image in my DB. Its
popup ballon in jsp - JSP-Servlet
; } #popup .top{ background-image: url('top.gif'); height:16px; } #popup .middle{ background-image: url('middle.gif'); background-position:bottom...{ position:relative; top:-8px; font-size:11px; } #popup .bottom{ background-image
Read from a window - Java Beginners
Read from a window  HI, I need to open a website and read the content from the site using Java script. Please suggest. Thanks
Chat window
in the same application. I want to know how to retain the chat window (along... the chat window pops up.. It is a div in the chat homepage.. There are few other..., the chat window should be constant across all pages in the application for current
Multi window
contains all the details. when i submit this page, a new window opens and asks to enter password. if password entered is correct, the flow goes to previous window...Multi window  I am making a bank app using struts 1.2. using only
need
need  i need a jsp coding based project plz help me
Window Script
Window Script  i want to write windows script can you help me in writing those i want to write script so that it follows below steps Step 1) downloading file from FTP 2) Unzip it 3) Edit it 4) zip it 5) upload again to FTP
how to get popup fro servelt to jsp by using ajax........
popup fro servelt to jsp by using ajax. I went popup in jsp page when my... popup after submiting the form the value of field will sub,mit r insert into data...;this simple dude it is like popup after submiting the form the value of field
show folder on server by clicking a row in table using jsp and ajax
show folder on server by clicking a row in table using jsp and ajax  Hi, i want a jsp page which has one dropdown and one textfield. when i click on serach button after selecting the dropdown and a value in textfield it should