jquery - how to open a .php?id link in a div -
i'm having problems trying link open inside leftpan div.
the index page has auto load function opens page in leftpan without problem, , menu works jquery way without problems.
but open php page menu /content/ , inside page if click on link needs open page called moreinfo.php connected database id linked image click on, far good, problem i'm having doesn't open page inside leftpan, instead opens in new window , putting target leftpan results in page still opens own tab/window...
this doing without success:
echo "<a href='moreinfo.php?id=".$row['id']."'> <img src=\"content/uploads/" . $row['filename'] . "\" alt=\"\" height=\"219\" width=\"350\" target=\"leftpan\"/></a> <br />" . "<br />";
attribute target
should inside <a>
tag, not inside <img>
Comments
Post a Comment