javascript thread: Problem with resizing frame in Netscape-Browser...
Hello everybody,
we have a page with defines a frameset, in the upper frame search items are
shown, and in the lower one the search result.
To have more place for the search results, a button is shown, which hides
the search items by setting the height of the upper frame to 0. And another
click restores the previous height. Here is the event handler:
<script Language="javascript">
var SearchVisible=true;
</script>
.....
<img name="imgSearch" src="../images/LensOff.gif" alt="Suchbegriffe
ausblenden" border="0" hspace="5"
onclick="if(SearchVisible==true){SearchVisible=false;imgSearch.src='../images/LensOn.gif';imgSearch.alt='Suchbegriffe
einblenden';window.parent.document.all.item(8).rows='0,*'}else{SearchVisible=true;imgSearch.src='../images/LensOff.gif';imgSearch.al
t='Suchbegriffe
ausblenden';window.parent.document.all.item(8).rows='76,*'}">
The collection "all" has on its 8. position the tag "FRAMESET", wich
attribute 'ROWS' I can change by this way.
This works fine with Internet-Explorer, because it knows the collection
'all'. Netscape doesn't !!! (I havn't found anything like this)
Is there any other possibility to change any tag with netscape, or to solve
this problem by another way ??
It's very important for us, so I would thank you very much, if you have a
solution for us...
With best regards,
Tilman Riediger