search for: nelement

Displaying 5 results from an estimated 5 matches for "nelement".

Did you mean: element
2008 Dec 10
3
rspecing rjs - form.reset(''form'')
Hello, > > I couldn''t find much info on this. > > How do you rspec this: page.form.reset("form") > > I looked in the have_rjs source code and I can''t find anything on form > reset. > > Thanks, > > -- > Andrei > -------------- next part -------------- An HTML attachment was scrubbed... URL:
2004 Jun 23
2
legend
DeaR UseRs: I want to put a legend in my plot. In the first line of the legend I want to put a box filled but in the second one I would like to put a lty=2 Of course it must appear with different colors. Thanks.
2006 Mar 31
3
RJS templates outputting bloated code?
...ment.update("header", "RJS Template Test Complete"); } catch (e) { alert(''RJS error:\n\n'' + e.toString()); alert(''new Insertion.Bottom(\"list\", \"<li>Fox</li>\");\nnew Effect.Highlight(\"list\",{duration:1}) ;\nElement.update(\"header\", \"RJS Template Test Complete\");''); throw e } It looks to me like the exception handling logic sent in the response causes too much bloat. I think it''s better to send only the "meat": new Insertion.Bottom("list", "...
2006 Apr 25
2
JRS problem
Hi all, I''m playing with the new RJS stuff. Very cool! But I have a problem. The following code works ok: page.select(''div.blogcomment'').each do |element| page.visual_effect :highlight, element end All div''s with class blogcomment are highlighted correctly. But I just want the last elemen to be hightlighted. The following code is not working:
2005 Dec 15
1
Some handy methods - perhaps cool enough to be committed some time
...visibility; } else{ width=element.offsetWidth; height=element.offsetHeight; } return new Geometry.Size(width,height); }, setSize:function(element,size){ element=$(element); //alert("Setting size: "+size+"\nelement: "+element); element.style.width=size.width; element.style.height=size.height; }, setOpacity:function(element, opacity) { element=$(element); opacity = (opacity == 100)?99.999:opacity; // IE/Win element.style.filter = "alpha(opacity:...