Results 1 to 3 of 3
Thread: Issue with the Hover-Popup Box
- 07-21-2011, 02:10 PM #1
Issue with the Hover-Popup Box
Hi Folks,
I am implementing coda bubble in my application..
Scenario:
Employee Information table is consisting of EmpId,EmpName.
If I hover on the EmpId the bubble should popup and it should display the employee details like his image,firstname,lastname etc.,
Issue:
I can get the first employee details in the table as I required.But,when I hover on the other Ids it is not displaying that employee's info rather the first employee info is dispaying.
Screenshot attached.
Attachment 1676Attachment 1677
XML Code:Sample Code: <tr> <td class="employee-report-table-row2" ><a href="EmpView.jsp?id=<%=emp1.getEmpId()%>" onclick="return GB_myShow('EMployee Info', this.href)"><%=emp1.getEmpId()%></a></td> <td class="employee-report-table-row2"><%=emp1.getEmpname()%></td> </tr> <% for(int i=count;i>0;i--){ java.util.List results1=ses.createQuery("from Promotionmastertemp where sno='"+count+"'").list(); Iterator itr1=results1.iterator(); while(itr1.hasNext()) { com.promotion.masters.Promotionmastertemp emp11 = (com.promotion.masters.Promotionmastertemp)itr1.next(); int num1=emp11.getEmpId(); %> <script type="text/javascript"> dw_Tooltip.defaultProps = { wrapFn: dw_Tooltip.wrapImageOverText } dw_Tooltip.content_vars = { L2: { img: 'images/dwc-w-btn.gif', txt: 'Name:<%=emp11.getEmpname()%> <br> Designation:Hi <br> DOB:20/05/1988 <br> Address:Hyderabad', w: 200 } } </script> <%}}%>visit : www.yoteam.co.cc
- 07-21-2011, 03:38 PM #2
Is this a java programming question?
It looks like javascript, not java.
- 07-22-2011, 07:44 AM #3
Dear moderator.. Popup is related to java script but the functionality inside the popupbox is not javascript.The values should populate from DB in that.So can be treated as java question??
visit : www.yoteam.co.cc
Similar Threads
-
Popup JFrame
By BariMutation in forum New To JavaReplies: 3Last Post: 12-04-2010, 12:12 PM -
popup menu
By jperson in forum New To JavaReplies: 3Last Post: 09-18-2010, 01:44 PM -
Components not appearing until hover over or altering size of window
By goffy in forum New To JavaReplies: 22Last Post: 05-19-2010, 02:00 PM -
SWT balloon Popup
By prasannakum in forum SWT / JFaceReplies: 0Last Post: 04-21-2010, 09:58 AM -
Communicating with JSP and popup
By nilz in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 11-20-2007, 04:29 PM


LinkBack URL
About LinkBacks

Bookmarks