Jump to content

Hover box, to see profile information


Dillon

Recommended Posts

Hello, I created a section on my website where users can log in. After they are logged in, they are sent to a homepage, which has a section that displays the other users online. Is it possible to create in php, or javascript, etc. to have when the user hovers over a username, a box pops up and shows their profile information? I pasted pictures below to help show what I am describing. Thanks for any help, I greatly appreciate it

 

 

 

[attachment deleted by admin]

Link to comment
Share on other sites

Yep I am using MySQL, this is what I tried putting in the section, but it didn't load, do you have any other suggestions? Sorry, I am new with php.  :-\

 

while ($onlinename=true)

{

echo "this is a test";

echo $onlinename; }

?>

 

There is nothing significant about the code I did, it should just display "this is a test" if online is true, but it didn't work, do I have the syntax right?

 

Thanks,

-Dillon

Link to comment
Share on other sites

this is more css than java, also the second question is php based mysql so you should probably post it in that section, if you search for drop down navigation menus on google then you can use them as an example so that you can create the effect that you require using the css as a base to learn from.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.