css - How to change pictures without leave the webpage in html? -
i'm making html page, in have several small button pictures array vertically on left side, , huge picture on right side. when click left side button pictures, right side huge picture should change correspond button.
i know use can show pictures in different areas. i've no idea how change picture clicking picture. how it?
i know how change now! reviewing own html code written months before, i've got idea.
you can add target attribute in <'a'> label point iframe target! can click picture or txt change content in iframe.
for example:
<a href="/html/pink.html" target="iframe">pink world</a>
when click "pink world" text, you'll change content of iframe content of pink.html under /html document.
just simple!
Comments
Post a Comment