Your welcome, happy to help as I have been trying to do something similar. The target of the links is set in the wl page from the program that the iframe is loading. You could retrieve it, change the target attribute of all the links, and then load that modfied page into your iframe. If you have PHP on your server and want to do so, create a file named say wl.php and put the following in it:
Code:
<?php
// Retrieve white label page
$wlpage = @file_get_contents("http://www.foreignwebcams.com/exports/tour_20/index.php?cols=4&rows=5&clr_ln=FF0000&df=4096");
// Rewrite _blank targets with _top target
$wlpage = ereg_replace("_blank","_top",$wlpage);
// Return modified page and exit
echo $wlpage;
exit();
?>
Then modify the iframe code they gave you from:
Code:
<iframe src="http://www.foreignwebcams.com/exports/tour_20/index.php?cols=4&rows=5&clr_ln=FF0000&df=4096" width="650" height="1200" frameborder="0" scrolling="no"></iframe>
to
Code:
<iframe src="http://www.bedroomviewer.com/wl.php" width="650" height="1200" frameborder="0" scrolling="no"></iframe>
which will load the modified page you just created instead of theirs. The thumbnail links will still go to their site but not in a new window.
If you want to keep loading everything in your site, including the join form, add a name attribute to the iframe lets call it mainframe so:
Code:
<iframe src="http://www.bedroomviewer.com/wl.php" width="650" height="1200" frameborder="0" scrolling="no" name="mainframe"></iframe>
and modify the original _blank target to the new iframe name "mainframe" and all the links should keep opening in the iframe on your site.
Code:
<?php
// Retrieve white label page
$wlpage = @file_get_contents("http://www.foreignwebcams.com/exports/tour_20/index.php?cols=4&rows=5&clr_ln=FF0000&df=4096");
// Rewrite _blank targets with mainframe target
$wlpage = ereg_replace("_blank","mainframe",$wlpage);
// Return modified page and exit
echo $wlpage;
exit();
?>