Trying to keep the thread reasonably shallow :)

I think I'm stuck with a choice of

i. Code <prefpane />'s directly into <prefwindow />,
   gain <menulist />'s for the panes,
   loose any <script /> for the page.

ii. Code <prefpane />'s in <overlay />'s,
    loose <menulist />'s for the panes,
    gain <script />'s for the page

iii. Back to prefs-by-hand (== another 6 month procrastinating out of
     sheer frustration)

(i) should work for 1.5.0.*, (ii) *may* work for 1.5.0.2+, though I don't know this yet, (iii) would work for everything if I ever got it finished.

Heres the query:

Given that I can't put a <script /> between the <prefwindow /> and the first <prefpane />, are there any tricks that might be out there to insert JS into the <prefwindow />?

I imagine (though admittedly I've not tried) that I could put <script /> elements into the <prefpane />'s, possibly even handle "onpaneload" events, but I have a feeling I'll bump into initialisation issues.

Bearing in mind I don't have any great inclination to maintain backwards compatibility with old versions of TB, it seems counter productive to adopt an implementation based on that criteria.

I'm tempted to got for (ii), comment out the offending <menulist /> until such time as it's working again. Unfortunately, that doesn't really get QF any closer to releasable code since it's a rather important list :(

*grumble grumble* -- beer in hand :)
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to