search for: 200px

Displaying 20 results from an estimated 35 matches for "200px".

Did you mean: 200p
2005 Aug 04
12
Sortable table
Hi guys, I have a question that I haven''t been able to find an answer to yet. I''m hoping I can find an answer here. I would like to be able to allow a user to visibly sort the order of rows of a table. I have a table that is used to display tabular data. It allows users to dynamically add rows of tabular data to an existing table. I would like to enable the user to be
2006 Jun 16
4
Depot App: Upload Images
...for a client, so apologies if the information is not articulated very well. I would like to upload a main image that would automatically create a thumbnail sized to 400px by 400px. And then to also upload a number of supplementary images that would automatically create thumbnail images of size 200px by 200px and then obviously to be able to click on these to view the larger images using some fancy ajax. If anyone has any samples of code that they would be willing to share, then that would be great. :) Thanks, Neil. -- Posted via http://www.ruby-forum.com/.
2007 Apr 06
5
Getting a dynamically generated elements dimensions
...ate a container element with some new html using Element.update and then retrieve the new dimensions of the containig element. Here is a bit of code snippet that I would think should work.. but doesn''t: ==== start snippet ==== <style> .bigBox { height: 100px; width: 200px; } </style> <script> var content = ''<span class="bigbox">hello world</span>''; $(''debug'').update(content); var dim = $(''debug'').getDimensions(); $(''debugLog'').update(''height: '...
2006 Mar 02
0
Select from Many to Many
Here is what I have: add_core_content.rhtml: <select id="resource_core_content_ids" name="resource[core_content_ids][]" size="15" style="width: 200px;" multiple="multiple"> <% @core_contents.each do |c| %> <option value="<%= c.id %>" <% if @resource.core_contents.include? (c) %> selected="selected"<% end %>> <%= c.code %> </option> <% end %>...
2006 Mar 11
3
Widen in_place_editor ?
Is it possible to make that groovy in_place_editor wider? As is, it''s only about 20 chars wide. thanks Joe -- Posted via http://www.ruby-forum.com/.
2011 Jul 01
0
trouble with rails-ckeditor gem "form_tag"
...ing on FORM_TAG, it giving errot "undefined method `ckeditor_textarea_tag'' for #<#<Class:0x9180348>:0x917e848>". My view field is <%= ckeditor_textarea_tag :msg, :toolbar=>''Full'', :width => ''100%'', :height => ''200px'' %> Here i c''t put <%= ckeditor_textarea("object", "field", :width => ''100%'', :height => ''200px'') %> because it is for FORM_FOR. it will expect object and field from me which i have not in FORM_TAG. So what i...
2005 Nov 23
0
Drop Area BUG
...lt;/script> <script src="scriptaculous.js" type="text/javascript"></script> <style type="text/css"> .drag { position: relative; background-color: #00FF00; width: 100px; height: 100px; } .drop { position: relative; background-color: #0000FF; width: 200px; height: 200px; border: 5px solid #0000AA; } .over { background-color: #0000AA; border: 5px solid #000000; } </style> </head> <body> <div style="position: relative; margin-left: 50px; background-color: #CCCCCC;"> <div class="drag" id="drag&quot...
2005 Aug 10
1
overflow and drag&drop?
...ag to the center area. So far, I''m using the drag & drop calls and this works perfectly. I''ve run into a problem now because I gave the div an overflow setting and fixed height so if the palette list gets long it won''t stretch out the page: <div style="height:200px;overflow:scroll;">...</div> The problem I''m running in to is when I try to drag something out of that div it remains in the div. Basically, the scrollbars kick in and force it inside of that div -- does that make sense? Is there a way to pop what I''m dragging out o...
2006 Apr 24
1
implementing a Slider control
...9;).innerHTML = "slide"; }; </script> <body> <div id="image"> <%= image_tag("/picture/filename/1/scaler_1.jpg") %> </div> <p><strong>Standard horizontal slider</strong> <div id="track1" style="width:200px;background-color:#aaa;height:5px;"> <div id="handle1" style="width:5px;height:10px;background-color:#f00;cursor:move;"> </div> </div> <div id="debug1" style="padding-top: 5px;"></div></p> </body> </html&gt...
2007 Oct 25
4
""throw $continue" is deprecated, use "return" instead"
...t; <style type="text/css"> * {font-family:Tahoma,Arial,sans-serif;} #helloTitle{color: #48f;} .sidebar { background-color: #adf; color: Navy; border: solid blue 1px; width: 180px; height: 200px; padding: 2px; margin: 3px; float: left; } </style> <script type=''text/javascript''> window.onload = function() { debugger; $(''helloBtn'').onclick = function() {...
2006 May 20
1
Slider.js - Attemting to put values in form.
...head> <body> <h1>Sliders</h1> <h2>Slider with predefined values [2,4,6,8] and a non-default range [2,15]</h2> <form name="myform"> <input name="test" value="helloworld"> <div id="track3" style="width:200px;background-color:#aaa;height:5px;"> <div id="handle3" style="width:5px;height:10px;background-color:#f00;"> </div> </div> <p id="debug3"> </p> <a href="#" onClick="javascript:submit()">Submit</...
2006 Jan 06
3
Protoype problem
Hey everybody, I encountered an interesting problem today. Here is what I have: I used the prototype function "Position.clone(src, target)" which actually copies the top, left, offsetWidth and offsetHeight from the src to the target. interestingly, my src-object had a css-styled border of 1px, and a total offsetWidth of 320px. my target-object had the same properties, but once I
2005 Sep 21
8
Slider controls
...! Thanks to Marty Haught, script.aculo.us (as of changeset 2281) now sports a new Control for horizontal and vertical sliders. See the functional test file (test/functional/slider_test.html) for information on how to use it. Basically, you do: <div id="track1" style="width:200px;background-color:#aaa;height:5px;"> <div id="handle1" style="width:5px;height:10px;background- color:#f00;"> </div> </div> new Control.Slider(''handle1'',''track1'',{ onSlide:function(value){ // do something...
2006 Mar 28
0
Moving all items from one Scriptaculous box to another
...an get the "choose_none" button working! ) <table width="800px"> <tr><td width="40%"><h3 style="text-align:center">Selectable Items</h3> <ul class="sortabledemo" id="firstlist" style="height:200px; margin:2px; overflow:auto; border:1px solid black;"><li id="id_1">Item 1</li>;"><li id="id_2">Item 2</li> .. </ul></td> <td width="20%"><center><table> <tr><td><input type=&quot...
2005 Sep 29
14
Draggables and overflow div''s revisited
...39;'item_list_scroll''> <div id=''drag1''>[*] Draggable Element</div> <%= draggable_element "drag1", :ghosting => true, :revert => true %> </div> .item_list_scroll { | height: 200px; | width: 300px; | overflow: auto; | background-color: #ccc; | border: solid 1px #666;...
2006 Jun 09
0
Sortable list with non ajax submission
...ing set. member.save end render :action => ''index'' end with view <%=start_form_tag :action=>''reorder_group_members'', :id => @group%> <ul class="group_members" id="memberlist" style="height:150px;width:200px;"> <% for member in @group.group_members-%> <li id="memberlist_<%=member.id%>"><%=member.name%></li> <%end%> </ul> <%=submit_tag%> <%=end_form_tag%> <%= sortable_element ''memberlist'' -%> Thi...
2010 Jul 12
0
Having problem with ckeditor rubygem
...hrough the <%= javascript_include_tag :ckeditor %> - except that to make it work I have to replace :ckeditor with "ckeditor". When I try to use the helper: <%= ckeditor_textarea("object", "field", :width => ''100%'', :height => ''200px'') %> (I''m copying it verbatim from the documentation and will tailor it after I have it generating the editor), it fails with the following error message: undefined method `ckeditor_textarea'' for #<ActionView::Base:0xb5e7abe8> Obviously, I''m omittin...
2006 Jul 10
0
draggables in IE visible outside div with overflow=hidden
...relative style applied by prototypes makepositioned function, but am unsure how to work around this. Below is the sample html I''m using (the img''s postion relative is there as the draggable code generates that for the element): <style> #scrollcontainer{ width:200px; height:100px; border:1px solid #666666; overflow:auto; } img{ float:left; width:60px; } #inner{ width:890px; border:1px solid red; } </style> <div id="scrollcontainer" > <table bor...
2012 Dec 05
1
Ajax response in a modal box
....click(function(e) { clicked1 = $(this).text(); $.ajax({ type: ''GET'', url:''/controller_path'', async: false, data:{ foo1:clicked1 }, success:function(data){ $(".inline").colorbox({inline:true, width:"35%",height:"200px"}).show(); } }); }); }); And my div is hidden at the beginning. <div class="inline" style="display:none;"> </div> I want to display the controller response in the div and show it as a modal box. I am getting the response from controller but how do I put it...
2006 May 23
0
Slider.js - Attemting to put values in form.
...head> <body> <h1>Sliders</h1> <h2>Slider with predefined values [2,4,6,8] and a non-default range [2,15]</h2> <form name="myform"> <input name="test" value="helloworld"> <div id="track3" style="width:200px;background-color:#aaa;height:5px;"> <div id="handle3" style="width:5px;height:10px;background-color:#f00;"> </div> </div> <p id="debug3"> </p> <a href="#" onClick="javascript:submit()">Submit</...