The following is the best I can do, unfortunately:

var modalWin = new Class({
>   Implements: [Events,Options],
>   options: {
>       //defaults width, height, closeable, draggable, title, etc.
>   },
>   initialize: function(options){
>       var win = this;
>       //sets name, options, creates modal but hides it
>   },
>   show: function(){
>       var win = this;
>       win.fireEvent('beforeshow', {target: win.popup});
>       var url = win.options.url;
>       if(typeof(parent.frames[win.name]) == 'window'){
>           //setStyle display; document.location.href = url;
>           }
>       else{
>           win.popupContent.empty().adopt( 
>               //new Element().setStyles();
>               );
>           }
>       win.curtain.removeClass('hidden');
>       win.repositionWindow();
>       win.popup.removeClass('hidden');
>       win.fireEvent('aftershow',{target: win.popup});
>       return win;
>        }),
> hide: function(){
>       var win = this;
>       win.fireEvent('beforehide', {target: win.popup});
>       
> parent.frames[win.name].$('idofcontainer').setStyle('display','none');
>       win.popup.addClass('hidden');
>       var visibleWindows = 
> win.curtain.getElements('.windowPopup').filter(function(e){ return 
> !e.hasClass('hidden')});
>       if(visibleWindows.length == 0){
>           win.curtain.addClass('hidden');
>           }
>       else{
>           visibleWindows.each(function(thisWindow){
>               
> thisWindow.setStyle('z-index',(thisWindow.getStyle('z-index').toInt() == 49 
> ? 51 : thisWindow.getStyle('z-index').toInt() + 1)
>               );
>               });
>           }
>       win.fireEvent('afterhide', {target: win.popup});
>       return win;
>       },
> setTitle: function(content){},  // too much code to type
> getTitle: function(){},  // too much code to type
> setURL: function(newURL){},   // too much code to type
> repositionWindow: function(){},   // too much code to type
> setHeight: function(newHeight){},  // too much code to type
> setWidth: function(newWidth){}  // too much code to type
> });
>


On Monday, September 23, 2013 3:06:47 PM UTC-5, Sanford Whiteman wrote:
>
> > Plus, it's for DoD; my development system is isolated from the 
> > internet, so I can't copy/paste anything.  The .js file that creates 
> > the class is quite large (340 lines of code.) 
>
> Doesn't matter to me how big it is, but there's no way to fix it if I 
> can't see it.   
>
> -- S. 
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mootools-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to