I used Dreamweaver to create a web page that has several layers that are initially hidden. Then I use a behavior (javascript) to show (visible) a layer when I mouseover a graphic. This works OK locally and also works OK when I place the html file in the root html directory of my web server.
But when I create a Moodle resource and upload the html file, then run it, I get a javascript error (object expected). If I try to access it directly (http://webserver/vle/file.php/2/test_hide_show.html) I again get a javascript error. I also tried having the resource point to http://webserver/test_hide_show.html and that works. So if the file is somewhere under the vle (Moodle) directory I get the javascript error.
I searched Adobe site and Googled the problem, but the only similar problems I foumd were fixed several browser versions ago.
I don't know PHP, so it wouldn't do me any good to look at the Moodle code. Any suggestions for solving this problem are greatly appreciated. I attached the html code but not the graphic.
I am using Moodle 1.5.2. and PHP 1.5.2. I have tested with both IE 6 and Firefox 1 and get the same results with both.
Thanks
Rich