Jump to content

[SOLVED] image link not showing up


jiggens

Recommended Posts

<?php

$window = "'http://homes.pacificscene.com/popup.php?type=maps&ID=" . $row[0] . "','popUp','width=825,height=625,scrollbars=yes'";
			if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/images/browse/maps/" . $ID . ".jpg")) {
			    print '<p><a href="javascript:;"><img border="0" src="http://homes.pacificscene.com/images/browse/maps/' . $row[0] . '.jpg" onclick="MM_openBrWindow(' . $window . ')" />View Map</a></p>';
			}?>

 

 

Its showing up as a image instead of a link, am i missing something?

 

 

http://homes.pacificscene.com/browse/community.php?ID=43

 

Link to comment
Share on other sites

the link is there, its just off to the side

 

 

if you don't want the map to show untillyou click the link, get rid of teh img tag.

<?php

$window = "'http://homes.pacificscene.com/popup.php?type=maps&ID=" . $row[0] . "','popUp','width=825,height=625,scrollbars=yes'";
			if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/images/browse/maps/" . $ID . ".jpg")) {
			    print '<p><a href="javascript onclick="MM_openBrWindow(' . $window . ')" />View Map</a></p>';
			}?>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.