html - Use <a> in iframe (1) to load page into iframe (2) -
i setting iframe
styled page. have iframe
s each piece of page (header, menu, sidebar, content, etc).
my menu iframe
had links in it;
<ul id="workmenuitems" style="display:none"> <li><a target="contentframe" href="work/courier.php" id="hrefcourier">courier</a></li> <li><a target="contentframe" href="work/scout.php" id="hrefscout">scout</a></li> <li><a target="contentframe" href="work/hunt.php" id="hrefhunt">bounty hunt</a></li> <li><a onclick="back()" href="javascript:void(0)" id="back">back</a></li> </ul>
when click on of these (courier example) opens new tab instead of loading .php
contentframe
. checked spelling , matches.
also - using chrome - not sure if that's known issue off hand.
thanks!
as shot in dark, added name
element iframe , worked. id=""
apparently isn't enough on one. looked!
Comments
Post a Comment