Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Popup information script
03-22-2009, 06:17 PM #1
Popup information script
Looking for popup information script. Something like this http://www.dynamicdrive.com/dynamicindex1/popit.htm but the content must be PHP scritp! Have you got any?
03-22-2009, 08:41 PM #2
Honest, there's no diff. Just plop your PHP code inside of the <div> that needs to be popped on.
Now...the code Dynamic Drive shows to do a popup is ridiculously complicated. If all you want is an info popup, you can do it like I do it here:
Wait at the top of the page there for a few seconds for the little "Art" guy to pop into view. Then click on him. What you are seeing is an "info box" that pops up wherever Art happens to be at the time. The code is dirt easy. You can do a View==>>Source to see it.
Anyway, my point is, if you just do:
And then no more than a dozen lines of JS code will pop that div on wherever you want it.Code:<body> <div id="your choice" style="position: absolute; display: none; [any other styles];"> <?PHP ... now you can use php code to fill in the contents of the popon ... ?> </div> ...