Dialog script has been update. A demo can be seen here: http://net4visions.com/dev/dialog/dialog.htm . Please see changelog for changes. The dialog script can be downloaded from here: http://www.net4visions.com/dev/downloads/dialog.zip . _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
The dialog script has been updated - thanks to Jerod we were able to add themes - please see changelog for further details and fixes. The latest version can be downloaded from here: http://www.net4visions.com/dev/downloads/dialog.zip _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Marco M. Jaeger wrote:> The dialog script has been updated – thanks to Jerod we were able to add > themes – please see changelog for further details and fixes. > > > > The latest version can be downloaded from here: > http://www.net4visions.com/dev/downloads/dialog.zipThe only problem I had was that I need to get rid of a string method you were using called strip(). I''m not sure which library was supposed to provide this method, but it didn''t exist. line #372 was: function(include) { themes.push(include.strip()); Dialogs.require(path,include.strip()); } was changed to: function(include) { themes.push(include); Dialogs.require(path,include); } -- Michael Peters Developer Plus Three, LP
Sorry, we''re using the SVN version of script.aculo.us...which has v1.5pre0of prototype. Its a new function. Careful when removing the strip() function, it *could* cause themes to break. You can just replace it with a regex to remove whitespace if that''s the case. -Jerod On 3/3/06, Michael Peters <mpeters-aUYv5hkjw45l57MIdRCFDg@public.gmane.org> wrote:> > > > Marco M. Jaeger wrote: > > The dialog script has been updated – thanks to Jerod we were able to add > > themes – please see changelog for further details and fixes. > > > > > > > > The latest version can be downloaded from here: > > http://www.net4visions.com/dev/downloads/dialog.zip > > The only problem I had was that I need to get rid of a string method you > were > using called strip(). I''m not sure which library was supposed to provide > this > method, but it didn''t exist. > > > line #372 was: > function(include) { themes.push(include.strip()); > Dialogs.require(path,include.strip()); } > > was changed to: > function(include) { themes.push(include); Dialogs.require(path,include); > } > > -- > Michael Peters > Developer > Plus Three, LP > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
I''m using this on a secure site, and in IE, when the ''new Dialog'' is called, it tells me "This site contains both secure and nonsecure items." I''ve tried creating the dialog element ahead of time, but that didn''t help. Any suggestions? On 3/3/06, Jerod Venema <jvenema-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Sorry, we''re using the SVN version of script.aculo.us...which has v1.5pre0of prototype. Its a new function. Careful when removing the strip() > function, it *could* cause themes to break. You can just replace it with a > regex to remove whitespace if that''s the case. > > -Jerod > > > On 3/3/06, Michael Peters <mpeters-aUYv5hkjw45l57MIdRCFDg@public.gmane.org> wrote: > > > > > > > > Marco M. Jaeger wrote: > > > The dialog script has been updated – thanks to Jerod we were able to > > add > > > themes – please see changelog for further details and fixes. > > > > > > > > > > > > The latest version can be downloaded from here: > > > http://www.net4visions.com/dev/downloads/dialog.zip > > > > The only problem I had was that I need to get rid of a string method you > > were > > using called strip(). I''m not sure which library was supposed to provide > > this > > method, but it didn''t exist. > > > > > > line #372 was: > > function(include) { themes.push(include.strip()); > > Dialogs.require(path,include.strip()); } > > > > was changed to: > > function(include) { themes.push(include); Dialogs.require(path,include); > > } > > > > -- > > Michael Peters > > Developer > > Plus Three, LP > > > > _______________________________________________ > > Rails-spinoffs mailing list > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > >_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
What license is this released under? Matt On 3/2/06, Marco M. Jaeger <mail-yVS5avHIROZWk0Htik3J/w@public.gmane.org> wrote:> > The dialog script has been updated – thanks to Jerod we were able to add > themes – please see changelog for further details and fixes. > > > > The latest version can be downloaded from here: > http://www.net4visions.com/dev/downloads/dialog.zip > > > > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > >_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
On Wednesday 29 March 2006 12:59, Aaron Meier wrote:> I''m using this on a secure site, and in IE, when the ''new Dialog'' is > called, it tells me "This site contains both secure and nonsecure items." > I''ve tried creating the dialog element ahead of time, but that didn''t help. > Any suggestions?after line 346 put in a line like so: iframe.src = "about:blank" IE complains if you try to display an iframe with no src and you''re using https -Jeremy -- Jeremy Kitchen ++ kitchen-RA8HwDor7flnDGu+y90WmgC/G2K4zDHf@public.gmane.org In the beginning was The Word and The Word was Content-type: text/plain -- The Word of Bob. And the lord said unto John; Come forth and receive eternal life. John came fifth and won a toaster. _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
On 3/29/06, Jeremy Kitchen <kitchen-RA8HwDor7flnDGu+y90WmgC/G2K4zDHf@public.gmane.org> wrote:> On Wednesday 29 March 2006 12:59, Aaron Meier wrote: > > I''m using this on a secure site, and in IE, when the ''new Dialog'' is > > called, it tells me "This site contains both secure and nonsecure items." > > I''ve tried creating the dialog element ahead of time, but that didn''t help. > > Any suggestions? > > after line 346 put in a line like so: > iframe.src = "about:blank" > > IE complains if you try to display an iframe with no src and you''re using > httpsIn my experience, IE still complains about secure and nonsecure items when using about:blank. We''ve just kind of standardized on a 0-byte blank.html which is still an extra hit on the server, but it gets around the message. I''ve had on-again/off-again success using a src like javascript:; Todd
On Wednesday 29 March 2006 18:04, Todd Ross wrote:> On 3/29/06, Jeremy Kitchen <kitchen-RA8HwDor7flnDGu+y90WmgC/G2K4zDHf@public.gmane.org> wrote: > > On Wednesday 29 March 2006 12:59, Aaron Meier wrote: > > > I''m using this on a secure site, and in IE, when the ''new Dialog'' is > > > called, it tells me "This site contains both secure and nonsecure > > > items." I''ve tried creating the dialog element ahead of time, but that > > > didn''t help. Any suggestions? > > > > after line 346 put in a line like so: > > iframe.src = "about:blank" > > > > IE complains if you try to display an iframe with no src and you''re using > > https > > In my experience, IE still complains about secure and nonsecure items > when using about:blank. > > We''ve just kind of standardized on a 0-byte blank.html which is still > an extra hit on the server, but it gets around the message. I''ve had > on-again/off-again success using a src like javascript:;hrm, maybe that''s what it was. Yea, it definitely works with using a 0byte file from the server. I had read somewhere that about:blank worked, too, and thought that was less ''obtrusive'' so that''s what I suggested. My bad for not actually testing it ;) -Jeremy -- Jeremy Kitchen ++ kitchen-RA8HwDor7flnDGu+y90WmgC/G2K4zDHf@public.gmane.org In the beginning was The Word and The Word was Content-type: text/plain -- The Word of Bob. And the lord said unto John; Come forth and receive eternal life. John came fifth and won a toaster. _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Thanks guys! In addition, you also need to add it after line 717. On 3/29/06, Jeremy Kitchen <kitchen-RA8HwDor7flnDGu+y90WmgC/G2K4zDHf@public.gmane.org> wrote:> > On Wednesday 29 March 2006 18:04, Todd Ross wrote: > > On 3/29/06, Jeremy Kitchen <kitchen-RA8HwDor7flnDGu+y90WmgC/G2K4zDHf@public.gmane.org> wrote: > > > On Wednesday 29 March 2006 12:59, Aaron Meier wrote: > > > > I''m using this on a secure site, and in IE, when the ''new Dialog'' is > > > > called, it tells me "This site contains both secure and nonsecure > > > > items." I''ve tried creating the dialog element ahead of time, but > that > > > > didn''t help. Any suggestions? > > > > > > after line 346 put in a line like so: > > > iframe.src = "about:blank" > > > > > > IE complains if you try to display an iframe with no src and you''re > using > > > https > > > > In my experience, IE still complains about secure and nonsecure items > > when using about:blank. > > > > We''ve just kind of standardized on a 0-byte blank.html which is still > > an extra hit on the server, but it gets around the message. I''ve had > > on-again/off-again success using a src like javascript:; > > hrm, maybe that''s what it was. > > Yea, it definitely works with using a 0byte file from the server. I had > read > somewhere that about:blank worked, too, and thought that was less > ''obtrusive'' > so that''s what I suggested. My bad for not actually testing it ;) > > -Jeremy > > -- > Jeremy Kitchen ++ kitchen-RA8HwDor7flnDGu+y90WmgC/G2K4zDHf@public.gmane.org > > In the beginning was The Word and The Word was Content-type: text/plain > -- The Word of Bob. > > And the lord said unto John; Come forth and receive eternal life. John > came > fifth and won a toaster. > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > >_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Thanks for the info guys, I''ll throw that in the main script. On 3/30/06, Aaron Meier <avalanche256-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Thanks guys! > > In addition, you also need to add it after line 717. > > On 3/29/06, Jeremy Kitchen <kitchen-RA8HwDor7flnDGu+y90WmgC/G2K4zDHf@public.gmane.org > wrote: > > > On Wednesday 29 March 2006 18:04, Todd Ross wrote: > > On 3/29/06, Jeremy Kitchen < kitchen-RA8HwDor7flnDGu+y90WmgC/G2K4zDHf@public.gmane.org> wrote: > > > On Wednesday 29 March 2006 12:59, Aaron Meier wrote: > > > > I''m using this on a secure site, and in IE, when the ''new Dialog'' is > > > > > called, it tells me "This site contains both secure and nonsecure > > > > items." I''ve tried creating the dialog element ahead of time, but > that > > > > didn''t help. Any suggestions? > > > > > > after line 346 put in a line like so: > > > iframe.src = "about:blank" > > > > > > IE complains if you try to display an iframe with no src and you''re > using > > > https > > > > In my experience, IE still complains about secure and nonsecure items > > when using about:blank. > > > > We''ve just kind of standardized on a 0-byte blank.html which is still > > an extra hit on the server, but it gets around the message. I''ve had > > on-again/off-again success using a src like javascript:; > > hrm, maybe that''s what it was. > > Yea, it definitely works with using a 0byte file from the server. I had > read > somewhere that about:blank worked, too, and thought that was less > ''obtrusive'' > so that''s what I suggested. My bad for not actually testing it ;) > > -Jeremy > > -- > Jeremy Kitchen ++ kitchen-RA8HwDor7flnDGu+y90WmgC/G2K4zDHf@public.gmane.org > > In the beginning was The Word and The Word was Content-type: text/plain > -- The Word of Bob. > > And the lord said unto John; Come forth and receive eternal life. John > came > fifth and won a toaster. > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > >_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs