Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6706785
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:33:41+00:00 2026-05-26T07:33:41+00:00

$(document).ready(function() { var user_id = document.getElementById(‘sessuid’).value; //alert(user_id); //$(‘a.jtebizcard’).attr(‘rel’,'<?php echo base_url();?>gl_profile/gl_getbig’).cluetip({ $(‘a.jtebizcard’).cluetip({ //alert(user_id); local: true,

  • 0
 $(document).ready(function() {

        var user_id = document.getElementById('sessuid').value;
        //alert(user_id);
        //$('a.jtebizcard').attr('rel','<?php echo base_url();?>gl_profile/gl_getbig').cluetip({
        $('a.jtebizcard').cluetip({ 
        //alert(user_id);       
                local: true,
                width:'353px',
                dropShadow: false,
                sticky: true,
                mouseOutClose: true,
                leftOffset:0,
                topOffset:0, 
                positionBy: 'bottomTop',
                ajaxSettings: {
                        type: "POST",
                        data: "user_id=" + user_id
                    },
                ajaxProcess : function(data){
                        alert(data);
                    }
//                  $.ajax({
//                                  url: "<?php //echo SITEURL;?>/gl_profile/gl_getbig",
//                                  type: 'POST',
//                                  data: "user_id="+user_id,
//                                  success: function(data) {
//                                      alert(data);
//                                  }
//                              });
                });

This is the tooltip that will be activated.

<div id="tool_tip_ebizcard" style="display:none;" class="localvisible"><!--id="tool_tip_ebizcard" class="localvisible"-->
            <div class="ebiz_blue_tooltip_pointer">
                <div class="ebiz_blue_tooltip_pointer_inside">
                    <!--Upper Section--> 
                    <div class="cl" style="background-image:url(<?php echo base_url(); ?>images/tool_blue_bg.jpg);width:345px;height:95px;">

                        <div class="cl pl10">
                        <div class="fr pr3 pt2">
                        <img src="<?php echo base_url(); ?>images/status_point.png" alt="status" />
                        </div>
                        <!--Logo-->
                        <div class="cl">
                        <div class="fl">
                        <img src="<?php echo base_url(); ?>images/tool_tip_sym.png" alt="tooltip_sym" />
                        </div>
                        <!--Logo-->
                        <!--Rani Advisor-->
                        <div class="fl pl10 pt5 width270">
                        <div class="">
                        <div class="fl width190 width180_ie7">
                        <div class="fl">
                        <div class="arial bold fnt12 cfff"><span class="cffff99 uppercase">LAXMAN</span>, Advisor</div>
                        </div>
                        </div>
                        <div class="fr pr15 width66_ie">
                        <div class="arial fnt11 cffff99">2&deg;, 203 Links</div>
                        </div>
                        </div>
                        <div class="cl pt2">
                        <div class="arial fnt11 cfff">Lucas Printer, India</div>
                        </div>
                        <div class="cl pt2">
                        <div class="arial fnt11 cfff">Lorem ipsum dolor sit amet, consectetur Vestibulum suscipit, sapien eleifend dictum ultricies, felis nisi...</div>
                        </div>
                        </div>
                        <!--Rani Advisor-->
                        </div>
                        </div>


                    </div>
                    <!--Upper Section--> 
                </div>

                    <!--Lower Section-->
                    <div class="cl ml2">
                    <div class="fl">
                       <div class="tool_tip_btn width85">
                          <div class="fl pl5 pt2"><img src="<?php echo base_url(); ?>images/plus_blue.png" /></div>
                          <div class="arial fnt10 c58595b uppercase center pt2 fl pl9">SHARE</div>
                       </div>
                    </div>
                    <div class="fl">
                       <div class="tool_tip_btn width85">
                          <div class="fl pl5 pt2"><img src="<?php echo base_url(); ?>images/msg_logo.png" /></div>
                          <div class="arial fnt10 c58595b uppercase center pt2 fl pl5">MESSAGE</div>
                       </div>
                    </div>
                    <div class="fl">
                       <div class="tool_tip_btn width85">
                          <div class="fl pl5 pt2"><img src="<?php echo base_url(); ?>images/chat_symbol.png" /></div>
                          <div class="arial fnt10 c58595b uppercase center pt2 fl pl9">Chat</div>
                       </div>
                    </div>
                    <div class="fl">
                       <div class="tool_tip_btn width85">
                          <div class="fl pl15 pt2"><img src="<?php echo base_url(); ?>images/more_sym.png" /></div>
                          <div class="arial fnt10 c58595b uppercase pt2 fl pl9 center">MORE</div>
                       </div>
                    </div>
                    </div>
                    <!--Lower Section-->


            </div>
            </div>

When the mouseover happens on this part, I want to send the User_id, retrieve his data and display it in the tooltip that is displayed. I tried the ajaxsetting in cluetip. It’s not working. Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:33:42+00:00Added an answer on May 26, 2026 at 7:33 am

    I used a different tooltip and this has been great i have used qtip here is code

    $(document).ready(function() 
        {
           // Use the each() method to gain access to each elements attributes
           $('#content a[rel]').each(function()
           {
              $(this).qtip(
              {
                 content: {
                    // Set the text to an image HTML string with the correct src URL to the loading image you want to use
                    text: '<img class="throbber" src="<?php echo base_url();?>img/loading.gif" alt="Loading..." />',
                    url: $(this).attr('rel'), // Use the rel attribute of each element for the url to load
                    title: {
                       text: 'Biz Card', // Give the tooltip a title using each elements text
                       button: 'Close' // Show a close link in the title
                    }
                 },
                 position: {
                    corner: {
                       target: 'bottomMiddle', // Position the tooltip above the link
                       tooltip: 'topMiddle'
                    },
                    adjust: {
                       screen: true // Keep the tooltip on-screen at all times
                    }
                 },
                 show: { 
                    when: 'mouseover', 
                    solo: true // Only show one tooltip at a time
                 },
                 hide: 'unfocus',
                 style: {
                    tip: true, // Apply a speech bubble tip to the tooltip at the designated tooltip corner
                    border: {
                       width: 0,
                       radius: 2
                    },
                    name: 'light', // Use the default light style
                    width: 380 // Set the tooltip width
                 }
              })
           });
        });
    

    this is the function for it and position where you want the tooltip will be like this

    <div id="content">
        <?php foreach($attending_user as $attend){ ?>
        <div class="arial bold fnt14 c006ede fl jt_name pl20">
    <a href="javascript:void(0);"
    <!--rel is used for the path you specify where your dynamic tooltip be generated-->
    <!--Here in this case i have specified controllers name where i am loading a view based on id-->
     rel="<?php echo SITEURL; ?>events/gl_event/get_biz/<?php echo $attend['user_id'];?>">
    <?php echo character_limiter($attend['username'],5);?>
    </a>
    </div>
        <?php } ?>
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following: $(document).ready(function() { var myIframe = document.getElementById('myIframe'); var element = myIframe.contentDocument.createElement('script');
Here is jQuery code: <script> $(document).ready(function() { $('.class112').click(function() { var msg = $(this).attr('id'); $('#'+msg).dialog({
$(document).ready(function() { $('#username').focus(function() { $(this).val(''); }) $('#username').blur(function() { var l = $(this).val.length; if (l
I have the following code: $(document).ready(function() { var id = 'cbx'; var idPrefix =
Let's say I have this $(document).ready(function() { var array = $.makeArray($('p')); $(array).appendTo(document.body); }); });
So i got this snippet of code: $(document).ready(function () { var replacementDoneIn = $(body).html();
Is this how you define a function in jQuery? $(document).ready( function () { var
I'm using the following code.. $(document).ready(function(){ $(#test a).click(function(){ var labelTo = $(this).text(); window.location =
I have this code in jQuery.. $(document).ready(function(){ var fieldCounter = 0; ... I have
HI, I've got: <script language=javascript type=text/javascript> $(document).ready(function() { $(#thumbs a).click( function() { var BGswitch

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.