0

I'm building a FRAME solution for my CMS. But, before you all start showing me disrespect about the entire frame thing keep in mind that this is a solution that would be visible only to administrators, and the reason why I'm doing this in frames is because then I don't have to keep reloading the administration controls. So the entire visitors-can't-bookmark issue doesn't really apply here. Still, I'll probably look into other ways of doing this in the future (possibly with a popup).

Anyway, it's been some fifteen years since I last used frames, and for some reason my target attributes doesn't work. If you go here:

http://www.eklundh.com/admin/structure/frame.php?path=/index.php

The links in the left "pane" should open in the right pane, but doesn't. And I can't seem to understand why. What am I doing wrong?

If you have a good suggestion on how to solve this by not using frames (but still not having to reload the left pane for each page load) then I'm all ears, but I'd also like to hear about solutions to my target problem :)

4

1 回答 1

3

在主框架的页面中,您有:

window.name = "mainwindow";

所以你需要定位mainwindow而不是main. 或者只是把那个代码拿出来,这似乎更明智......

于 2009-11-11T14:09:48.927 回答