As long as the path to the document (ml/ml.html) you specify is correct, it should work. If you place the html document in the same directory as the rest of your pages you can just use 'ml.html' as your path. The 'http' was just for the pupose of my example.
As to your question asking if IE supports the onclick event handler in table cells...well, it depends on the version. In IE 6, yes. Did the example I posted for you work?
Using the onclick event handler in a table cell is not very cross-browser and probably not too good of an idea unless you creating an intranet site where everyone with access to the page has a browser that supports it.
See here for more information on the onclick event handler:
I am using IE6. I still get the following error message:
parent.main is null or not and object
would you know why?
DHTMLHELP
Perhaps top.main instead of parent.main?
Nested framesets may be causing the problem with parent...
HI dhtmlhelp,
You would only get that kind of error when the frame isn't there.
So don't test it alone. You must test it within a frameset with one of the frames called main. It will work then.
If it doesn't then try this (but in a frame)
<td onClick="javascript:parent.main.location.href='ml/ml.html';">
Bla Bla
</td>
Hope this helps:):)
Hi,
maybe I should have specified that the table is in an iframe within another iframe. The iframe with the table is called sg while the main iframe is called main. I have tried: