I have a site split into two frames, one defined in the frameset page as 'menu' (containing a navbar and some JS functions) and one defined as 'main'.
Some HTML and ASP pages that appear in the 'main' frame call the functions in the 'menu' frame by referencing the window object's 'top.' property, thus:
window.top.menu.(function)
When I was testing this on MS Personal Web Server, everything worked fine, and the functions in 'menu' operated. However, after uploading the site to a remote server, every time a page calls a function in 'menu', I get a
" 'window.top.menu' is null or not an object "
Javascript error. Why does this happen, when the HTML, ASP and JS is the same as it was when I was using PWS?
Some HTML and ASP pages that appear in the 'main' frame call the functions in the 'menu' frame by referencing the window object's 'top.' property, thus:
window.top.menu.(function)
When I was testing this on MS Personal Web Server, everything worked fine, and the functions in 'menu' operated. However, after uploading the site to a remote server, every time a page calls a function in 'menu', I get a
" 'window.top.menu' is null or not an object "
Javascript error. Why does this happen, when the HTML, ASP and JS is the same as it was when I was using PWS?