leequalls Posted June 26, 2009 Share Posted June 26, 2009 can anyone help. I have a php page that gets a list of names from a database. I would like to add a script so that visitors can scroll over the names and see the profile of the name. The profile will be from a database and includes a picture. I want the popup to be within the web page not be an extra window. Thanks for any help Link to comment https://forums.phpfreaks.com/topic/163803-scroll-over-pop-up-script/ Share on other sites More sharing options...
WolfRage Posted June 26, 2009 Share Posted June 26, 2009 Use javascript and create an on hover or mouse over event to achieve the effect. Plenty of resources and examples on google. Link to comment https://forums.phpfreaks.com/topic/163803-scroll-over-pop-up-script/#findComment-864278 Share on other sites More sharing options...
leequalls Posted June 26, 2009 Author Share Posted June 26, 2009 that really did not help I have found many pop up scripts but I need to include html in the pop up or have a php include('page.php'); that gets the profile of the link they scroll over Link to comment https://forums.phpfreaks.com/topic/163803-scroll-over-pop-up-script/#findComment-864300 Share on other sites More sharing options...
WolfRage Posted June 26, 2009 Share Posted June 26, 2009 OK let me elaborate for you. You need to use AJAX on the event. when the event is triggered you then call a php page which will grab the profile and write it in HTML. This is then received by the AJAX handler, which in turn will display the pop up through the document write feature of javascript, or for that matter which ever way you want the pop up to appear. So you need to do some homework, because I won't do it for you. Please don't take offence, but the best way to learn is to do. Now you have the concept code it and put it into action. Link to comment https://forums.phpfreaks.com/topic/163803-scroll-over-pop-up-script/#findComment-864312 Share on other sites More sharing options...
SetToLoki Posted June 26, 2009 Share Posted June 26, 2009 can anyone help. I have a php page that gets a list of names from a database. I would like to add a script so that visitors can scroll over the names and see the profile of the name. The profile will be from a database and includes a picture. I want the popup to be within the web page not be an extra window. Thanks for any help You will find all you need and more here Link to comment https://forums.phpfreaks.com/topic/163803-scroll-over-pop-up-script/#findComment-864320 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.