I've got a frames page with 3 frames
When I rollover a graphical menu bar in the top frame, I need to perform a
rollover so the image appears drop-shadowed. This is easy.
But, I also need for a 'preview' of the item selected to appear in the
bottom frame simultaneously on the same rollover event.
Any ideas? Does anyone know how I can accomplish this?
Dave
Joe Fawcett - 30 Sep 2003 10:04 GMT
> I've got a frames page with 3 frames
> When I rollover a graphical menu bar in the top frame, I need to perform a
[quoted text clipped - 6 lines]
>
> Dave
Not sure what you mean by preview. You access the bottom frame, assuming
it's called "main" from the menu frame by:
var fraMain = top.frames["main"];
and then you can set properties, e.g. if you have a div with id "divPreview"
in "main":
var fraMain = top.frames["main"];
var oDiv = fraMain.document.getElementById("divPreview");
oDiv.innerHTML = "Preview here";

Signature
Joe