# Object Link - help please

**URL:** <https://forum.kirupa.com/t/object-link-help-please/260025>\
**Category:** web dev\
**Created:** [May 11, 2008, 7:54pm UTC](https://forum.kirupa.com/t/object-link-help-please/260025 "2008-05-11T19:54:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jon\_d](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jon\_d](https://forum.kirupa.com/u/jon_d)\
**Post date:** [May 11, 2008, 7:54pm UTC](https://forum.kirupa.com/t/object-link-help-please/260025/1 "2008-05-11T19:54:14Z")

</div>

Hi all,

I have an object  
[FONT=Arial][COLOR=red]\<object width=“135” height=“173” type=“text/html” data=“modify\lastrates.htm” border=“0”  
style=“overflow: hidden; border: no; scrollbar: no” \>  
\<q lang=“he” dir=“rtl”\>  
\</object\>[/COLOR][/FONT]  
[COLOR=#ff0000][/COLOR]  
[COLOR=black]this object’s html page with a link \<A HREF\> in it.[/COLOR]  
whenever u click on the link, the new page comes inside the little object’s sqaure.  
**I want the link to go over the main html page**

is there a TARGET i can add in order to do this ?

10x  
Jon

---

<div class="post-metadata">

**Author:** ![Templarian](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/templarian/32/7152_2.png) [@Templarian](https://forum.kirupa.com/u/Templarian)\
**Post date:** [May 11, 2008, 9:19pm UTC](https://forum.kirupa.com/t/object-link-help-please/260025/2 "2008-05-11T21:19:08Z")

</div>

target="\_parent" is what you want.

---

<div class="post-metadata">

**Author:** ![jon\_d](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jon\_d](https://forum.kirupa.com/u/jon_d)\
**Post date:** [May 11, 2008, 10:14pm UTC](https://forum.kirupa.com/t/object-link-help-please/260025/3 "2008-05-11T22:14:30Z")

</div>

in the object’s html’s a href ?  
it doesn’t do the trick - i still see the link inside the object box…  
hmm…

maybe something needs to be written in the \<object\>\</object\> ?

:crying:

---

<div class="post-metadata">

**Author:** ![wes\_design](https://avatars.discourse-cdn.com/v4/letter/w/ad7895/32.png) [@wes\_design](https://forum.kirupa.com/u/wes_design)\
**Post date:** [May 11, 2008, 10:50pm UTC](https://forum.kirupa.com/t/object-link-help-please/260025/4 "2008-05-11T22:50:09Z")

</div>

do you want it to replace the html file? or float over it on another z-index?

---

<div class="post-metadata">

**Author:** ![jon\_d](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jon\_d](https://forum.kirupa.com/u/jon_d)\
**Post date:** [May 11, 2008, 10:52pm UTC](https://forum.kirupa.com/t/object-link-help-please/260025/5 "2008-05-11T22:52:16Z")

</div>

replace it.

i’ll be more specific:

index.htm contains an object (object.htm is the file i m calling)  
object.htm has a link in it

i want that when i click the link, it will go over (replace) index.htm

---

<div class="post-metadata">

**Author:** ![jon\_d](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jon\_d](https://forum.kirupa.com/u/jon_d)\
**Post date:** [May 12, 2008, 4:27pm UTC](https://forum.kirupa.com/t/object-link-help-please/260025/6 "2008-05-12T16:27:32Z")

</div>

bye the way - the TARGET="\_parent" works in FIREFOX, but IE remains in the little object sqaure…

---

<div class="post-metadata">

**Author:** ![jon\_d](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jon\_d](https://forum.kirupa.com/u/jon_d)\
**Post date:** [May 15, 2008, 10:00am UTC](https://forum.kirupa.com/t/object-link-help-please/260025/7 "2008-05-15T10:00:00Z")

</div>

anybody ?? help …

---

<div class="post-metadata">

**Author:** ![simplistik](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simplistik/32/7747_2.png) [@simplistik](https://forum.kirupa.com/u/simplistik)\
**Post date:** [May 15, 2008, 1:25pm UTC](https://forum.kirupa.com/t/object-link-help-please/260025/8 "2008-05-15T13:25:10Z")

</div>

why not use an iframe or a div and “ajax”? isn’t object generally meant for some sort of multimedia embed? all your doing is calling an html file, and an iframe can accommodate that

---

<div class="post-metadata">

**Author:** ![jon\_d](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jon\_d](https://forum.kirupa.com/u/jon_d)\
**Post date:** [May 16, 2008, 4:49pm UTC](https://forum.kirupa.com/t/object-link-help-please/260025/9 "2008-05-16T16:49:28Z")

</div>

an Iframe works well - thx - it haden’t came into my mind at all…

how would u suggest using a div or ajax ?  
bear in mind my data/text is located on a different file.

---

<div class="post-metadata">

**Author:** ![jon\_d](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jon\_d](https://forum.kirupa.com/u/jon_d)\
**Post date:** [May 23, 2008, 6:00am UTC](https://forum.kirupa.com/t/object-link-help-please/260025/10 "2008-05-23T06:00:12Z")

</div>

first - i suggest the commercial message be omitted…

second - here is the website incase someone has an idea how2use ajax or div instead of iframe there… thx!  
[http://www.paripassu.co.il](http://www.paripassu.co.il) (it’s in hebrew)
