Hi all,
I can't figure out how to make my iframe of coppermine images (using cpmfetch) open in document.window instead of the document.iframe that is default to the browser.
Thanks in advance.
In other words the Iframe opens the link in the Iframe itself, rather than the entire window.. Just to clarify.
I may even have to modify the coppermine gallery links so that they specify to open in the current window?
it's not in the iframe code...
it is in the php script for your cpfetch
I used this
<?php
include "./whatever/whatever/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./forwhatever/whatever/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewRandomMedia(1,4,array("windowtarget" => "_parent"));
$objCpm->cpm_close();
?>
notice the array.... winow parent? you can use blank too, it will open in a NEW window, or use new.
excellent work homie.. mad props to the nigga with the ansuz
no problem