Notes is ignoring base target setting

Hi

We have a site that uses Iframes. We open up to a page that holds three Iframes. We want all links inside the three Iframes to load into the larger containging iframe. For two of the frames it is working but for another it is not.

The source code looks identical (the only difference I can see is that the broken one doesn’t have a URL from the same database - is this significant?) but for some reason it is not working.

Can anyone suggest anything else ?

Many thanks

Paul

Source Code for working Iframe:

Source Code for broken Iframe:

Home Page

Subject: solved(ish) - base target ie7 workaround

Further to my posting I read that ie7 is a lot more stingy in its implementation of base target tags so I have created a workaround.

In the onload section I put this line of code:

document.getElementById(“bodytext”).innerHTML = document.getElementById(“bodytext”).innerHTML.replace(“href=”,“target="mimihome" href=”);

You also need a pair of pass thru html div tags around the field that has the links in it.

Can anyone see any major probs with my ‘workaround’ ?

cheers

paul

Subject: this version replaces all instances

update to the previous posting

// set the target value to mimihome

var newTarget = /\bhref\b/g

document.getElementById(“bodytext”).innerHTML = document.getElementById(“bodytext”).innerHTML.replace(newTarget,“target="mimihome" href”);