similar to: Newbie Syntax Q: to new or not to new?

Displaying 20 results from an estimated 9000 matches similar to: "Newbie Syntax Q: to new or not to new?"

2005 Sep 29
0
scriptaculous: Filed Bug #2339: XHTML comments can cause Firefox to throw an error on Sortable.create()
The Wiki page "TheWishList" indicates that bugs should be reported into Trac and to this list. The bug report is here: http://dev.rubyonrails.org/ticket/2339 Description: If there is an XHTML comment in a document at the same level as the elements that are being activated by the Sortable, Firefox 1.0.6 will throw this error: Error: item.id has no properties Source File:
2008 Jul 29
1
Flax support for docx
Anyone used Flax to search for docx? I'm testing on XP. Installed msxml6.msi and FilterPackx86.exe but Flax dosen't seem to register *.docx as a document type. Is there a way for me to add it in? Thanks, Frank
2005 Dec 08
6
Bug in Effect.Highlight ?
Hi All, I''ve just discover scriptaculous and it is a really good library. Even if I have some difficulties with short syntax in javascript code :/ I have a strange behaviour with Effect.Highlight, and as it''s said on bug report page : "It''s also a good idea to discuss this on the Mailing List beforehand, maybe it''s already known and in the works, or it
2010 Mar 19
1
GetSpellingSuggestion returns no results.
I'm testing out the flax binaries in a .net 4.0 solution. I've built an index containing about 20k items (the complete magic the gathering card database). I've managed to get search results, and get the query to filter on numerical parameters. However I'm totally unable to get the spellchecker to work. I'm using Strout = database.GetSpellingSuggestion(text); And I always get
2008 Apr 04
4
Auto Complete Problems
Hello All, I''m a RoR newbiew, trying to experiment with Autocomplete, but I''m having some difficulties. When I start typing in my input box, instead of getting a nice drop down, the styling on my page is getting all out of wack (ie my background colours change, link styling changes, etc) and I''m not seeing any autcompletion data. Here are the steps I''ve taken
2005 Dec 08
6
What does mean $(element) ?
Hi All, In scriptaculous scripts, I don''t understand this syntaxe : $(element) --8<--------------------------------- Effect.Highlight = Class.create(); Object.extend(Object.extend(Effect.Highlight.prototype, Effect.Base.prototype), { initialize: function(element) { this.element = $(element); ... --8<--------------------------------- I had never seen this syntaxe, I
2006 Jun 24
4
Correct syntax for using the Effects Queue ?
this works: onclick=''new Effect.Scale(this,50);'' but this does not: onclick=''new Effect.Scale(this,50,{queue:front}); new Effect.Scale (this,200,{queue:end});'' what is the correct syntax for using queue ? many thanks as I have just started wrapping my head around scriptaculous g
2005 Dec 11
1
redering CDATA wierdness
I am attempting to do the sortable_element tutorial from scriptaculous. (http://demo.script.aculo.us/ajax/sortable_elements) Upon viewing the script.aculo.us source, I see this line is generated... <script type="text/javascript">Sortable.create(''list'', {onUpdate:function(){new Ajax.Updater(''list-info'', ''/ajax/order'',
2005 Jul 20
0
Syntax Highlighting library
Hi, first of all let this message serve as presentation and to stop lurking. I have a current project, which I am not sure that it fits the script.aculo.us library, so I thought that before anything else I''d ask here. The project is a client-side syntax highlighter, to bring some life to those <pre> and <code> blocks, so that no matter which server-side technology you are
2010 May 03
0
Scriptaculous, snap draggable to droppable or revert
Hello community, I am a fairly new RoR programmer and I need some help with Scriptaculous Drag and Drop: So I have <%= draggable_element(@div_id, :revert => "failure", :snap => 5) -%> and a droppable: <%= drop_receiving_element(@team_div_id, :with => "''player='' + (element.id)+ ''&position='' + #{draft_position}"
2008 May 30
1
Drag and Drop with scriptaculous
Hello, I''m making my first steps with prototype and scriptaculous. I''m playing around with drag and drop. What I try to do: I have some Draggables and some Droppables. You can drag each Draggables to each Droppables. When I drop a Draggables I want to center the Draggables inside the Droppable. And here I get my first problems:-( I use this code: Droppables.add(
2006 Feb 17
0
Strange Effect.Highlight behavior
I have the following code in my template: <div id="message1"> <%= link_to_remote ("Delete", :update => "contents", :url => { :action => :delete, :id => message.id }, :before => "Element.show(''message_spinner'')", :success => "Element.hide(''message_spinner''); new
2006 Apr 03
4
page.visual_effect :highlight not working
I just upgraded Ruby to 1.8.4 and Rails to 1.1 and I''m in the middle of changing my Javascript code over to the Scriptaculous helper functions. page.visual_effect :highlight, "some_div" seems to be broken. Instead of fading, the background color of the element stays highlighted. page.visual_effect works for other effects, though. Any ideas? Thanks. -- Posted via
2005 Nov 07
2
question about Effect.Highlight and IE 5.5
I''ve recently begun testing some of the scriptaculous functionality in IE 5.5, since my company wants me to support as many browsers as possible. When I do an Effect.Highlight on a <tr>, it doesn''t quite work right. I''ve figured out a few things, but I''m not sure whether you want to change them or not. Here''s what I know: In
2005 Sep 07
4
merging flac files
Hi! I was hoping there was a tool which would let me do something like: #flax -o existing.flac --append mytune.flac To merge the 2 files! Also; is it possible to change the velocity/gain of a flac track ? I would love to know how! Regards, Frans
2006 Jun 14
0
Bad behaviour in Internet Explorer
Hello, I''m using scriptaculous and it is great but they are very slow and don''t show the element when I drag it in IE6. Someone know something about drag and drop in IE? I''m using the latest version, 1.6 The code is: <div id="list[1]" > <div id="item_2" onclick="CSSUtils.show(''list[2]'')">Obras <div
2010 Oct 14
1
Windows Binaries
Hi All, I've tried to grab the Windows binaries from here: http://www.flax.co.uk/xapian_binaries but seem to be running into a problem with the Xapian-Tools packages. I've downloaded version 1.0.22, 1.2.3, and 1.0.21 and all three are giving me errors when I try to decompress the archive. I've tried downloading using Safari, Chrome, and IE; all with the same results. I also grabbed
2004 Sep 10
1
vorbis+flac compression
It seems, that oggenc-ing audiofile, and then flac-ing diffrences between original file and vorbis compressed file gives a little better compression than simply flac-ing. I've tested it on one file only: file.wav 55829468 bytes flac -8 file.wav file.flac 37924329 bytes (0.6793 of original) oggenc file.wav file.ogg 4784799 bytes oggdec -o ogg.wav file.ogg sox tmp.wav ogg-.wav vol
2006 Feb 18
2
Effect queues with RJS templates and scriptaculous
Hi. I was wondering if it''s possible to combine effects for individual elements with RJS templates. I notice that scriptaculous has support for a concept called effect queues (http://www.railsdevelopment.com/2006/01/15/effectqueue/). Is there anyway to use these queues from rjs?
2006 May 05
6
RJS implementation question
Why is RJS so dependant on programatic creation of Javascript? RHTML is a great implementation in that it puts HTML first, and Ruby second. I would have thought RJS would be the same way: a .js with ERb helpers for generating Javascript functions. RJS putting Javascript second means: - I have to learn a whole new set of commands to use Scriptaculous. - Developers have to constantly chase the