Hi there guys Im looking for some sort of script for when a url on my website is clicked a pop-up box pops up and displays more information about the product. If anyone knows how to do this please post on here or pm me Thanks
You can use Javascript to open up a popup box with the details you want. If your not using PHP/MySql, Make an HTML page with the product details and then... on the link where you want to popup a window add and in the <head> section of the same page add this script. Also in the body tag, add the following... Let me know if you have any problems.
You may be able to completely avoid scripting all the way, if the popup text is small, by using css popups. I use them in place of the old Javajunk click-and-shows that used to be on the page: http://stommepoes.nl/Scooterverzekeren/scooterafsluiten1.html Hover over the question marks. It does not work with click-- if you need something to only appear on click and remain on the page, then you'll need scripting because not every browser will keep stuff on the screen with :focus (IE6 doesn't understand :focus and Opera loses the focus if the mouse moves away from the object, even if the mouce button is still held down).