# Iframe question

**URL:** <https://forum.kirupa.com/t/iframe-question/11866>\
**Category:** Uncategorized\
**Created:** [January 23, 2003, 2:05pm UTC](https://forum.kirupa.com/t/iframe-question/11866 "2003-01-23T14:05:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@Ryan](https://forum.kirupa.com/u/Ryan)\
**Post date:** [January 23, 2003, 2:05pm UTC](https://forum.kirupa.com/t/iframe-question/11866/1 "2003-01-23T14:05:07Z")

</div>

lets say i have two iframes on my page, one is blank so that when your at the site you dont know its there its name is “auxilary” the other one is shere your main context is, its name is “main” now, if i wanted to load something in both windows when certain links are clicked, but only one if others are picked what would you do?

i hope that makes sense. i guess i just want to load pictures in an auxilary iframe at certain parts of my site.

any help is ever so greatly appreciated 🙂

=ryan=

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 23, 2003, 5:05pm UTC](https://forum.kirupa.com/t/iframe-question/11866/2 "2003-01-23T17:05:03Z")

</div>

so… you basically want

iframe1 -\>links  
iframe2 -\>blank

when you click on a link in iframe1, then picture shows up in iframe2?

If so, I think it’s just as simple as putting target=“theiframename” in your a href code

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 23, 2003, 5:47pm UTC](https://forum.kirupa.com/t/iframe-question/11866/3 "2003-01-23T17:47:12Z")

</div>

i have a link on the actual html not in an iframe at all, and when i click the link i want “iframe1” to loard one html file and “iframe2” to load a different one, so is there a way you can say something like

a herf=“[www.blablabla.com/one.html](http://www.blablabla.com/one.html)” target=“main” herf=“[www.blablabla.com/two.html](http://www.blablabla.com/two.html)” target=“auxilary”

or something, that didnt work, but thats kinda what i need, is one click opens two links. thanks.

=ryan=

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 23, 2003, 6:19pm UTC](https://forum.kirupa.com/t/iframe-question/11866/4 "2003-01-23T18:19:08Z")

</div>

wow, I dont know about that… let me do some searching, I’ll get back to you.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 23, 2003, 6:23pm UTC](https://forum.kirupa.com/t/iframe-question/11866/5 "2003-01-23T18:23:00Z")

</div>

nothing ☹

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 23, 2003, 6:26pm UTC](https://forum.kirupa.com/t/iframe-question/11866/6 "2003-01-23T18:26:18Z")

</div>

thanks a lot man. maybe ill find a way around it or something maybe when the site loads it could have a load command to open the other html file in the other iframe, il mess around, thanks for lookin though.

=ryan=

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 23, 2003, 6:48pm UTC](https://forum.kirupa.com/t/iframe-question/11866/7 "2003-01-23T18:48:42Z")

</div>

np. sorry I wasnt much help. 😊
