# Targeting an iframe?

**URL:** <https://forum.kirupa.com/t/targeting-an-iframe/9806>\
**Category:** Uncategorized\
**Created:** [December 18, 2002, 10:35pm UTC](https://forum.kirupa.com/t/targeting-an-iframe/9806 "2002-12-18T22:35:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lily](https://avatars.discourse-cdn.com/v4/letter/l/97f17d/32.png) [@lily](https://forum.kirupa.com/u/lily)\
**Post date:** [December 18, 2002, 10:35pm UTC](https://forum.kirupa.com/t/targeting-an-iframe/9806/1 "2002-12-18T22:35:44Z")

</div>

Can a flash button be coded to target an iframe on a website so that the url will open inside the iframe?

---

<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:** [December 18, 2002, 10:37pm UTC](https://forum.kirupa.com/t/targeting-an-iframe/9806/2 "2002-12-18T22:37:23Z")

</div>

Yes you can make it do that, just make a second prameter for the window/frame:

```php
getURL("http://www.yoursite.com/page.html", "my_iframe");

```

---

<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:** [December 18, 2002, 10:39pm UTC](https://forum.kirupa.com/t/targeting-an-iframe/9806/3 "2002-12-18T22:39:42Z")

</div>

Man, your fast! Thanks!!!

---

<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:** [December 18, 2002, 11:18pm UTC](https://forum.kirupa.com/t/targeting-an-iframe/9806/4 "2002-12-18T23:18:46Z")

</div>

It’s like the wild west, I’m from Arizona so I have to be quick to the trigger. :cowboy:

I reckin’ we got ourselves a showdown :bad:

---

<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:** [December 18, 2002, 11:58pm UTC](https://forum.kirupa.com/t/targeting-an-iframe/9806/5 "2002-12-18T23:58:29Z")

</div>

_plays cool music_

Bow na na…  
NOW NOW NOW…  
Bow na na…  
NOW NOW noowwww…

_lol_

---

<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:** [December 19, 2002, 12:13am UTC](https://forum.kirupa.com/t/targeting-an-iframe/9806/6 "2002-12-19T00:13:48Z")

</div>

You so :crazy: but you make me =) and 😛

We can be :cowboy: together and kill all the :pirate:
