How to make a pop up window as the one in messenger?... with PHP if possible?
Hi guys: I need to program, in some way, a pop up window like the one in the messenger that appears at the task bar for my work. I made a warehouse system programmed in PHP working with MySQL. The goal is to popup a little window when a request of materials is done. I can“t use triggers since my webserver uses MySQL 4. Perhaps webservers? i am not sure, please help!!!! thanks guys. Webservices? javascript? how can i do it? any tutorial?
Public Comments
- Have you thought of using a small frame at the bottom with a meta refresh? Get that to check the DB when something comes in that isnt actioned it would run a small javascript to open a window? IE: javascript:window.open="google.com" and maybe in that window it would connect to the DB and set the actioned value to 1 to say .. yep someone has seen it ? like.. - get frame to refresh every 30 seconds.. That loads a PHP file that checks the DB if action = 0 then do popup. - popup Update DB to say " Hi ive been actioned " basically ?
- I do not know php or anything but hopefully you can find something on this page. http://www.thescripts.com/forum/thread3672.html you can look futher by using the keyword pop up message php on yahoo or google searches.
- you want little pop up windows? how about a pop up window that isn't considered a pop up window (by the pop up blockers) all javascript and no server side programs needed! http://jquery.com/demo/thickbox/ the thickbox plugin does it many many ways! jquery is what you get when you watch the rest, and come up with code that is smaller and easier to use!!! Source(s): http://jquery.com/ rocks!!!!
Powered by Yahoo! Answers