I am developing a web that is split into 2 frames in IE 5.0. The top frame holds a set of navigation buttons that will load the relevant page into the second frame.
The buttons are src jpg images and the code uses the onclick function to load the page.
The problem is after initial loading of the start page clicking on one of the buttons to move to a new page causes the button set in the top frame to dissappear, and is replaced by the browser looking into the current directory, (normal directory window).
If the 'back' button of the browser is clicked the top frame reappears and the page selected in the second frame remains available.
I have tried the 'location.reload' function, .self .window
.parent to attempt to reload the top frame each time the onclick function is used, to no avail.
Can anyone tell me what I am doing wrong or what piece of code I need to solve this?
The buttons are src jpg images and the code uses the onclick function to load the page.
The problem is after initial loading of the start page clicking on one of the buttons to move to a new page causes the button set in the top frame to dissappear, and is replaced by the browser looking into the current directory, (normal directory window).
If the 'back' button of the browser is clicked the top frame reappears and the page selected in the second frame remains available.
I have tried the 'location.reload' function, .self .window
.parent to attempt to reload the top frame each time the onclick function is used, to no avail.
Can anyone tell me what I am doing wrong or what piece of code I need to solve this?