View Full Version : Popup information script
03-22-2009, 06:17 PM
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
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:
<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 ... ?>
And then no more than a dozen lines of JS code will pop that div on wherever you want it.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.