I''ve been testing my page, which not only includes my new slider code but the drag and drop code as well. You can see it here: http://hoover.razorstream.com/preference.htm My issue is that in IE, I get the annoying security warning across the top saying ''IE has restricted this file from showing active content that could access your computer''. If I allow the content then everything works fine, but I''m concerned users won''t see it and won''t allow it and thus render the page unusable. I don''t recall seeing javascript trigger this in most cases. Is there some way I can get around this? Cheers, Marty
Martin Bialasinski
2005-Aug-25 11:48 UTC
[Rails-spinoffs] IE and the activeX security warning
On 25/08/05, Marty Haught <marty@razorstream.com> wrote:> I''ve been testing my page, which not only includes my new slider codeNice! Do you think it would be difficult to add ordinal version? That is, the slider has 5 possible values the user can select, and the handle will snap to the nearest.> My issue is that in IE, I get the annoying security warning across the > top saying ''IE has restricted this file from showing active content that > could access your computer''.I do not get a warning. Maybe you load the page from your hard disk and not over http? Bye, Martin
Am 25.08.2005 um 19:04 schrieb Martin Bialasinski:> On 25/08/05, Marty Haught <marty@razorstream.com> wrote: > >> I''ve been testing my page, which not only includes my new slider code >> > > Nice! Do you think it would be difficult to add ordinal version? That > is, the slider has 5 possible values the user can select, and the > handle will snap to the nearest.+1 please do release it :) it''s one of the things on the wish-list :)> >> My issue is that in IE, I get the annoying security warning across >> the >> top saying ''IE has restricted this file from showing active >> content that >> could access your computer''. >> > > I do not get a warning. Maybe you load the page from your hard disk > and not over http?No warning here either. IE6 on W2K. Thomas
Michael Schuerig
2005-Aug-25 12:37 UTC
[Rails-spinoffs] Sliders (was: IE and the activeX security warning)
On Thursday 25 August 2005 18:42, Marty Haught wrote:> I''ve been testing my page, which not only includes my new slider code > but the drag and drop code as well. ? You can see it here: > > http://hoover.razorstream.com/preference.htmNice :-) I think this is the first slider implementation I''ve seen that works on Konqueror. With a glitch, though. After loading the page, all sliders have overshot their maximum positions so that they lie next to the scale also they are not centered. I''ll send you a screenshot privately. Michael -- Michael Schuerig Failures to use one''s frontal lobes mailto:michael@schuerig.de can result in the loss of them. http://www.schuerig.de/michael/ --William H. Calvin
>Do you think it would be difficult to add ordinal version? That>is, the slider has 5 possible values the user can select, and the >handle will snap to the nearest. No, I don''t think it would be too difficult. You can set a minimum and maximum value on the slider currently. These represent the beginning and end points on the track and are more important for creating a numeric value from the pixels as you slide. The slider, as it''s updated, verifies that the mouse won''t drag it over the maximum or under the minimum and if it does, sets the value. A rounding function (such as these five points) could be added fairly easily. What I''m not clear on is the best way to inform the slider of these points. I suppose an array from lowest to highest might work. Any thoughts? Now, I actually have a case on this page where a slider has a certain range but in the particular situation it can only go so far down on the range. So I''ll need to code that in as well. The final big piece that I''ll need to do on the actual slider code is to allow key strokes to increment the slider. Such as up, down, home, end, etc. If you peek at the slider code, I started setting them up but I''ve got a problem. The focus only exists when you are dragging the slider and it doesn''t seem that while you''re dragging the key strokes work. That''s probably okay because who grabs a slider with a mouse click and then tries to use the keyboard to move it? But I might need to make a second focus value that is shared among all sliders that would incidate which slider was focused on last (after the mouse up event). That way it could get the keystroke commands. I''m heading into unchartered waters here as I''m not sure if that''s how the event code works. So if anyone has any ideas on this, that would be helpful. I based the slider code heavily on the drag and drop stuff. Cheers, Marty
Martin Bialasinski
2005-Aug-30 09:40 UTC
[Rails-spinoffs] IE and the activeX security warning
Hello, On 25/08/05, Marty Haught <marty@razorstream.com> wrote:> >Do you think it would be difficult to add ordinal version? That > >is, the slider has 5 possible values the user can select, and the > >handle will snap to the nearest. > > No, I don''t think it would be too difficult. [...] What I''m not clear > on is the best way to inform the slider of these points. I suppose an > array from lowest to highest might work. Any thoughts?How about: * min_number..max_number * Just as it is now. * number, number, number, number * First and last number are min and max, the middle ones define points at linear interpolated locations. Or we can sort the numbers in any case, so the passed order does not matter. * string, string, string, string * Evenly spread the points on the scale. Slider length is configurable, no?> But I might need to make a > second focus value that is shared among all sliders that would incidate > which slider was focused on last (after the mouse up event). That way > it could get the keystroke commands.That sounds good. You need to register an event handler on <body> (or <html>?) to capture the keystrokes. And there need to be a way to remove the "keyboard focus" from the sliders, as other elements need to process keystrokes as well (e.g. autocompleter). And as you also asked: I would pack the code in a seperate file, inherating from the draggable object. Later, it can be refactored if needed. Bye, Martin
Has anybody solved the issue of using the ActiveX Object to make AJAX calls? This is a real issue for some corporations that don''t allow activex objects to be installed for security reasons. I have been working on a solution for IE that would create a hidden iframe and call a page in the iframe and get back the result. I am running into issues getting back the repsonse header, not sure if it is even possible to return that information from an iframe. Has anybody else come up with a solution to this? Gotta love IE. -- Eric Fleming efleming@gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050831/6f6f87b4/attachment.html
On 8/31/05, Eric Fleming <efleming@gmail.com> wrote:> Has anybody solved the issue of using the ActiveX Object to make AJAX calls? > This is a real issue for some corporations that don''t allow activex objects > to be installed for security reasons. I have been working on a solution for > IE that would create a hidden iframe and call a page in the iframe and get > back the result. I am running into issues getting back the repsonse header, > not sure if it is even possible to return that information from an iframe. > Has anybody else come up with a solution to this? Gotta love IE.JSRS is a remote scripting solution implemented in javascript. It''s totally unrelated to XmlHttpRequest and all that. This is what I first used to write "ajax" applications in 2001. Just thought I''d throw this out. It seems like it''d be better than using an iframe for remote scripting. http://www.ashleyit.com/rs/ -- rick http://techno-weenie.net
On Aug 31, 2005, at 3:37 PM, Rick Olson wrote:> On 8/31/05, Eric Fleming <efleming@gmail.com> wrote: > >> Has anybody solved the issue of using the ActiveX Object to make >> AJAX calls? >> This is a real issue for some corporations that don''t allow >> activex objects >> to be installed for security reasons. I have been working on a >> solution for >> IE that would create a hidden iframe and call a page in the iframe >> and get >> back the result. I am running into issues getting back the >> repsonse header, >> not sure if it is even possible to return that information from an >> iframe. >> Has anybody else come up with a solution to this? Gotta love IE. >> > > JSRS is a remote scripting solution implemented in javascript. It''s > totally unrelated to XmlHttpRequest and all that. This is what I > first used to write "ajax" applications in 2001. Just thought I''d > throw this out. It seems like it''d be better than using an iframe for > remote scripting. > > http://www.ashleyit.com/rs/And on that note, here are some more links to check out, circa 2001: http://www.ibm.com/developerworks/library/wa-resc/ http://www.ibm.com/developerworks/library/wa-rich/ I got into MSRS and JSRS "back in the day" and somehow I''ve managed to be known as a pioneer in the AJAX-before-it-was-called-AJAX world: http://www.ajaxian.com/archives/2005/05/ajax_summit_bre.html :)) In reality, I''m tinkering with Rails, scriptaculous, and AJAX, but not using it hardcore just yet. Erik
JSRS just uses iframes, but thanks for that, should be a good addition to my ajax methods. On 8/31/05, Rick Olson <technoweenie@gmail.com> wrote:> > On 8/31/05, Eric Fleming <efleming@gmail.com> wrote: > > Has anybody solved the issue of using the ActiveX Object to make AJAX > calls? > > This is a real issue for some corporations that don''t allow activex > objects > > to be installed for security reasons. I have been working on a solution > for > > IE that would create a hidden iframe and call a page in the iframe and > get > > back the result. I am running into issues getting back the repsonse > header, > > not sure if it is even possible to return that information from an > iframe. > > Has anybody else come up with a solution to this? Gotta love IE. > > JSRS is a remote scripting solution implemented in javascript. It''s > totally unrelated to XmlHttpRequest and all that. This is what I > first used to write "ajax" applications in 2001. Just thought I''d > throw this out. It seems like it''d be better than using an iframe for > remote scripting. > > http://www.ashleyit.com/rs/ > > > -- > rick > http://techno-weenie.net > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >-- Eric Fleming efleming@gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050831/83dbc8b1/attachment.html
Claude Hussenet
2005-Aug-31 17:17 UTC
[Rails-spinoffs] 2 issues with Sortable control [Version 1.5-pre3]
I have the two following issues with Sortable. 1-If two list are created and u drag all the objects from one list to the second one,u can not drag back the object in the empty list. 2-The onUpdate function is not triggered when a change is done within the same list however it''s triggered when the change affects two lists ! See an example of my current usage.. U can customize the portlet page by moving the portlet from one column to an other column or within the same column.. http://www.claudehussenet.com/portal/Welcome2.do Thx u for your help ! Claude Hussenet Independent J2EE Architect Consultant http://claudehussenet.com ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
Jonathan Barrett
2005-Aug-31 17:32 UTC
[Rails-spinoffs] 2 issues with Sortable control [Version 1.5-pre3]
On 31 Aug 2005, at 11:04, Claude Hussenet wrote:> 1-If two list are created and u drag all the objects > from one list to the second one,u can not drag back > the object in the empty list.This stopped me using sortables in a recent CMS project. I had a hacky workaround that involved keeping a dummy <li> element that had an invisible drag handle, but this was kinda clunky, and I ended up abandoning it as deadlines were looming. If this was addressed, I''d be a happy man :) -J
Thomas Fuchs
2005-Aug-31 17:52 UTC
[Rails-spinoffs] 2 issues with Sortable control [Version 1.5-pre3]
See http://wiki.script.aculo.us/scriptaculous/show/SortableListsDemo -- uses SVN trunk code, and the new dropOnEmpty option. Thomas Am 01.09.2005 um 00:26 schrieb Jonathan Barrett:> On 31 Aug 2005, at 11:04, Claude Hussenet wrote: > > >> 1-If two list are created and u drag all the objects >> from one list to the second one,u can not drag back >> the object in the empty list. >> > > This stopped me using sortables in a recent CMS project. I had a > hacky workaround that involved keeping a dummy <li> element that > had an invisible drag handle, but this was kinda clunky, and I > ended up abandoning it as deadlines were looming. If this was > addressed, I''d be a happy man :) > > -J > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >
Dave Strus
2005-Aug-31 19:38 UTC
[Rails-spinoffs] 2 issues with Sortable control [Version 1.5-pre3]
You should be a happy man then. The option is dropOnEmpty: true Right? -----Original Message----- From: rails-spinoffs-bounces@lists.rubyonrails.org [mailto:rails-spinoffs-bounces@lists.rubyonrails.org] On Behalf Of Jonathan Barrett Sent: Wednesday, August 31, 2005 5:26 PM To: rails-spinoffs@lists.rubyonrails.org Subject: Re: [Rails-spinoffs] 2 issues with Sortable control [Version 1.5-pre3] On 31 Aug 2005, at 11:04, Claude Hussenet wrote:> 1-If two list are created and u drag all the objects > from one list to the second one,u can not drag back > the object in the empty list.This stopped me using sortables in a recent CMS project. I had a hacky workaround that involved keeping a dummy <li> element that had an invisible drag handle, but this was kinda clunky, and I ended up abandoning it as deadlines were looming. If this was addressed, I''d be a happy man :) -J _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Martin Bialasinski
2005-Sep-05 18:46 UTC
[Rails-spinoffs] IE and the activeX security warning
On 31/08/05, Eric Fleming <efleming@gmail.com> wrote:> Has anybody solved the issue of using the ActiveX Object to make AJAX calls? > This is a real issue for some corporations that don''t allow activex objects > to be installed for security reasons. I have been working on a solution for > IE that would create a hidden iframe and call a page in the iframe and get > back the result.I have a Object, that shows the XMLHttpRequest interface, but uses an IFrame internally. It is against the ajaxtoolbox.com code, but it should be really easy to extract. But it needs help from the server-side (PHP in my case), it breaks the browser back button (adds the current location to history on every request), no responseXML. THe broken back button is the tragic part of it. Bye, Martin
Do a Google search for "deep linking" there is some discussions on various ways to control the back forward and bookmark features while using AJAX, maybe the solution will work for what you are trying to do. I am a n00b when it comes to javascript so I cannot implement it myself, but it would be nice to see prototype.js have this functionality integrated. Many of the cases that cover this say that there is a huge problem with browser compatibility when using this method a different procedure has to be written for each browser. I do know backpack has accomplished this in their code if you want to take a look there. -----Original Message----- From: rails-spinoffs-bounces@lists.rubyonrails.org [mailto:rails-spinoffs-bounces@lists.rubyonrails.org] On Behalf Of Martin Bialasinski Sent: Monday, September 05, 2005 4:30 PM To: rails-spinoffs@lists.rubyonrails.org Subject: Re: [Rails-spinoffs] IE and the activeX security warning On 31/08/05, Eric Fleming <efleming@gmail.com> wrote:> Has anybody solved the issue of using the ActiveX Object to make AJAXcalls?> This is a real issue for some corporations that don''t allow activexobjects> to be installed for security reasons. I have been working on a solutionfor> IE that would create a hidden iframe and call a page in the iframe and get > back the result.I have a Object, that shows the XMLHttpRequest interface, but uses an IFrame internally. It is against the ajaxtoolbox.com code, but it should be really easy to extract. But it needs help from the server-side (PHP in my case), it breaks the browser back button (adds the current location to history on every request), no responseXML. THe broken back button is the tragic part of it. Bye, Martin _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
In regards to my last reply to you if you do figure out the solution with deep linking, would you mid sharing? -----Original Message----- From: rails-spinoffs-bounces@lists.rubyonrails.org [mailto:rails-spinoffs-bounces@lists.rubyonrails.org] On Behalf Of Martin Bialasinski Sent: Monday, September 05, 2005 4:30 PM To: rails-spinoffs@lists.rubyonrails.org Subject: Re: [Rails-spinoffs] IE and the activeX security warning On 31/08/05, Eric Fleming <efleming@gmail.com> wrote:> Has anybody solved the issue of using the ActiveX Object to make AJAXcalls?> This is a real issue for some corporations that don''t allow activexobjects> to be installed for security reasons. I have been working on a solutionfor> IE that would create a hidden iframe and call a page in the iframe and get > back the result.I have a Object, that shows the XMLHttpRequest interface, but uses an IFrame internally. It is against the ajaxtoolbox.com code, but it should be really easy to extract. But it needs help from the server-side (PHP in my case), it breaks the browser back button (adds the current location to history on every request), no responseXML. THe broken back button is the tragic part of it. Bye, Martin _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Martin Bialasinski
2005-Sep-09 05:24 UTC
[Rails-spinoffs] IE and the activeX security warning
On 07/09/05, Stephen Major <smajor@gmail.com> wrote:> ways to control the back forward and bookmark features while using AJAX,You are confusing things. The topic is about using IFrame instead of XMLHttpRequest to do remote scripting, not about adding to history after an Ajax call. Bye, Martin