Forum Moderators: coopster
The question: how do I get the text link that appears in iframe A, when no image is available, to replace the entire page, and not just place the selected linked page inside iframe A?
Thanks for your wisdom.
OS: linux
PHP v 4.2.3
No error: but links show up inside iframe
Heres the code for iframe A
<td >
<iframe img src="
<?
// displays text if there is no coronal image selected
if ($var!= 'image') echo 'text_withlinks.html';
// displays image
else echo $image;
?>
>
</iframe>
</td>
It's "ok" to have a missing image in iframe A, but i want the user to be able to make a choice based on options within the text for missing images in iframe A. Also perhaps more importantly, the user can choose from buttons next and previous which actually loads new images in iframes A, B, and C. if the user is only interested in image B, then an empty A isn't an issue, so i don't want a reload.
Thank u, thank u very bunch.
i was complicating things thinking i would need some iframe php "this" type stuff, it was all basic html.
this is what happens when one doesn't drink coffee.
Thanks for your efforts
-enki