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
https://forums.phpfreaks.com/topic/182515-hover-box-to-see-profile-information/
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

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.