J
jeanor72
Hi all,
I'm trying to fix some javascript code to make it work also with
firefox.
I have the following function in a href link in a frame used to make
another frame ("uno") visible or invisible.
--- start here --
function resizeMenu() {
var stretto = '0%,100%';
var largo = '20%,80%';
if ( window.parent.uno.cols == largo ) {
window.parent.uno.cols=stretto;
} else {
window.parent.uno.cols=largo;
}
document.location.reload();
}
--- end here ---
This works with MSIE, but doesn't with firefox.
I read a lot over the internet, but didn't find anything useful to make
the function also works for firefox.
Note that Firefox console tells me:
"Errore: window.parent.uno has no properties"
But I don't know what to do to fix this.
Can anybody help me please?
Thank you,
Gianluca
I'm trying to fix some javascript code to make it work also with
firefox.
I have the following function in a href link in a frame used to make
another frame ("uno") visible or invisible.
--- start here --
function resizeMenu() {
var stretto = '0%,100%';
var largo = '20%,80%';
if ( window.parent.uno.cols == largo ) {
window.parent.uno.cols=stretto;
} else {
window.parent.uno.cols=largo;
}
document.location.reload();
}
--- end here ---
This works with MSIE, but doesn't with firefox.
I read a lot over the internet, but didn't find anything useful to make
the function also works for firefox.
Note that Firefox console tells me:
"Errore: window.parent.uno has no properties"
But I don't know what to do to fix this.
Can anybody help me please?
Thank you,
Gianluca