html - Prevent iframe from loading "src" page upon refreshing -
i'm creating static website , using iframes. problem is, when navigate page, example, code iframe:
<iframe marginheight="0" align=top src="aboutus1.php" frameborder=0 scrolling=no border=0 width=800 framespacing=0 id="bodyframeid" name="bodyframename" onload="autoresize('bodyframeid');>" ></iframe>
the src
attribute pointing aboutsus1.php. now, when navigate page, example, go aboutus2.php reload page, goes aboutus1.php executed src="aboutus1.php"
. question is, how stay on current page (aboutus2.php) if reload page?
edit: click here live example
click link above. first page see about cti
. now, try clicking on partners
menu refresh page. goes about cti
page. how prevent going about cti
page when page reload?
you store current page location in session, , on reload load url stored in session. you'd need server side technology. in html don't store things. might able use value.
Comments
Post a Comment