Oscar Cabrero Oscar Cabrero - 4 months ago 5x
HTML Question

<base target="FrameName"> doesn't work on IE7

It seems that the following piece of HTML is ignored in IE7 but works ok in IE6/FF. It supposes to override all the html links to be opened in the desired frame

<base target="rightFrame">

The above code is the header of a left frame that holds an Infragistics UltraWebTree (tree menu) which doesn't support the TargetFrame property.

Is there another way to add the target attribute to all the links elements on the desired page.

Any server or client-side code workarounds?

The site is built on ASP.Net 1.1 and Infragistics V 2.0

the web page is aspx an the doctype is

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >


i dont know what was the issue because i test the base target in pure HTML and it works, wondering if ASP.net has to do something with it. but here is a piece of javascript code that add the target attribute to all link elements that doesnt have one

<script language="javascript">

    var tags=document.getElementsByTagName("a");
    for (i=0;i<tags.length;i++)