I am trying to replicate the feature that Google Images uses. Typically, if you click on an image in Google images, it will open that image in a framed window. Part of that framed window will contain a Google Search box at the top and the page the image came from in the bottom half. On the side is a “Remove this Frame” option, and when clicked, the page is redirected to the “Src” part of the iframe.
First, I have to ask, is this a PHP issue or a Javascript issue? If it is JS please move it there. Thanks.
Anyway, I have a website where the “src” of the iframe is chosen randomly from an array of links. My question is, how do I get this src using PHP(or JS), make it in to a link, and when a “Remove this frame” link is clicked, it will simply link directly to the source that was determined earlier.
Sorry if this doesnt make sense, I can post my code so far if need be. Thanks everyone.