sonicsnail
Technical User
I'm using...
function showBottFrame() {
parent.document.body.rows = "*,300"
}
to make a bottom frame appear... (initially the bottom frame has a height of "5" - the function above changes it to a height of 300.
This works fine, however what I want to do is be able to have onclick="showBottFrame(300);" and change the function to something like...
function showBottFrame(heightChoice) {
parent.document.body.rows = "*,heightChoice"
}
but its not working... I'm sure I have the right idea but I'm getting the syntax wrong...
any ideas anyone?
function showBottFrame() {
parent.document.body.rows = "*,300"
}
to make a bottom frame appear... (initially the bottom frame has a height of "5" - the function above changes it to a height of 300.
This works fine, however what I want to do is be able to have onclick="showBottFrame(300);" and change the function to something like...
function showBottFrame(heightChoice) {
parent.document.body.rows = "*,heightChoice"
}
but its not working... I'm sure I have the right idea but I'm getting the syntax wrong...
any ideas anyone?