Results 1 to 3 of 3
  1. #1
    jazz2k8's Avatar
    jazz2k8 is offline Senior Member
    Join Date
    Apr 2008
    Rep Power

    Default Issue with the Hover-Popup Box

    Hi Folks,

    I am implementing coda bubble in my application..


    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.,

    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:
        <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>
           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);
    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
    Attached Thumbnails Attached Thumbnails Issue with the Hover-Popup Box-bubble2.jpg   Issue with the Hover-Popup Box-bubble1.jpg  

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power


    Is this a java programming question?
    It looks like javascript, not java.

  3. #3
    jazz2k8's Avatar
    jazz2k8 is offline Senior Member
    Join Date
    Apr 2008
    Rep Power


    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??

Similar Threads

  1. Popup JFrame
    By BariMutation in forum New To Java
    Replies: 3
    Last Post: 12-04-2010, 12:12 PM
  2. popup menu
    By jperson in forum New To Java
    Replies: 3
    Last Post: 09-18-2010, 01:44 PM
  3. Replies: 22
    Last Post: 05-19-2010, 02:00 PM
  4. SWT balloon Popup
    By prasannakum in forum SWT / JFace
    Replies: 0
    Last Post: 04-21-2010, 09:58 AM
  5. Communicating with JSP and popup
    By nilz in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 11-20-2007, 04:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts