how to facebook shoutbox open , with clicked friendname
- by Surendra Singh
Hey everyone i need source code for shotbox open with clicked friend name like facebook
i tried it but ... it is opening with only one friend name .... i want it will open with the name of friend whom name or image is clicked
My code is something like this
<tr data-name="<?php echo $online_user_name; ?>">
<td>
<div <?php echo $online_user_id; ?>">
<img src="../../social_users/<?php echo $online_user_gender; ?>/<?php echo $online_user_Email; ?>/Profile/<?php echo $online_user_pic; ?>" height="30" width="30" style="border-radius: 20px; border: 2px solid #fff;" onclick="shoutbox_open();">
</div>
</td>
<td style="color:#ffffff;">
<div <?php echo $online_user_id; ?> style="text-transform:capitalize; text-decoration:none; color:#6A7480;" onclick="shoutbox_open();">
<?php echo $online_user_name; ?>
</div>
</td>
<td>
<img src="background_file/background_icons/online_symbol.png" />
</td>
</tr>
<div id="shout_box">
<div id="header" >
<span>
<?php echo $online_user_name; ?>
</span>
<div id="close_btn" onclick="shoutbox_close();">
</div>
</div>
<div id="toggle_chat">
<div id="message_box">
</div>
<div id="user_info">
<input name="shout_username" id="shout_username" type="text" placeholder="Your Name" value="" maxlength="15" />
<input name="shout_message" id="shout_message" type="text" placeholder="Type Message Hit Enter" maxlength="100" />
</div>
</div>
</div>