Turns out the problem with the window disappearing in IE6...
You cannot use overlay: 0 doh! Took me 2 hours to figure out, you need
to specify a minimum of 1 for it work like so:
$("#cssmizer")
// initialize CSSmizer
.cssmizer(settings)
// setup modal
.jqm({
trigger: "#cssmizer-launch",
// note we don't want to grey out the rest of the screen
// we can't set this to 0, otherwise everything disappears
in IE6
overlay:1,
// because tabs are being shown in a jqModal window which is
hidden by default
// we can only show the tabs *after* the window is shown
// otherwise we get oddities across browsers
onShow: function(hash) {
// we show the window using a speed of 1 to be as
instaneous as possible
// and for the tabs to render as fast as possible to avoid
flickering
hash.w.show(1, function() { $
("#container").tabs(); });
}
})
.jqDrag('h3.title');
Notice how many comments I've had to add -- took me hours to figure
out these little gotchas ;-)
Will be announcing the plugin very soon, it's going to rock and amaze
people, based on the current feedback ;-) [yes, it's called CSSmizer]
However, found another bug -- onShow is called the first time the page
loads, but if you close the window and try it again, onShow is not
fired... doh!