3raser Posted June 15, 2010 Share Posted June 15, 2010 I'm making my first CMS, and I was wondering: How do I make it so you click a button, a message pops up (not a msgBox or alert) saying something and then it does a PHP code. For example: http://montagetube.com//media/227/FaintFilms_::_EndlessGoblin_H3_Minitage/ When you click to add favorites, a message on the left pops up. Any ideas on how thats done? Link to comment https://forums.phpfreaks.com/topic/204899-auto-message/ Share on other sites More sharing options...
F1Fan Posted June 15, 2010 Share Posted June 15, 2010 I didn't look to see how that site works, but jQuery's dialog would probably do what you're looking for: http://jqueryui.com/demos/dialog/ Link to comment https://forums.phpfreaks.com/topic/204899-auto-message/#findComment-1072682 Share on other sites More sharing options...
3raser Posted June 15, 2010 Author Share Posted June 15, 2010 I didn't look to see how that site works, but jQuery's dialog would probably do what you're looking for: http://jqueryui.com/demos/dialog/ Thats not what I needed. :/ Link to comment https://forums.phpfreaks.com/topic/204899-auto-message/#findComment-1072692 Share on other sites More sharing options...
ngreenwood6 Posted June 15, 2010 Share Posted June 15, 2010 Can you link us to another page where you dont have to register to see what you are talking about? That seems to me like what you wanted as well. Link to comment https://forums.phpfreaks.com/topic/204899-auto-message/#findComment-1072696 Share on other sites More sharing options...
MatthewJ Posted June 15, 2010 Share Posted June 15, 2010 If something is happening when you click a button (without page refresh) it is mostly likely ajax. Which means F1Fan's response is still valid, you just need to *think about how to apply it. *By think I don't mean rephrase the question until someone writes it for you Link to comment https://forums.phpfreaks.com/topic/204899-auto-message/#findComment-1072697 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.