Displaying 20 results from an estimated 2000 matches similar to: "div and loop help"
2005 Oct 10
3
Scrollable DIV causes flicker in FF - SlideDown & SlideUp
I have a fixed height scrollable div inside another
div that controls the slideDown and slideUp effects.
This causes a really bad flicker in Firefox (1.0.7)
for the entire duration of the slide down and up.
While on the other hand it works smoothly in IE
(except that on a slideUp it causes a last second
flash that shows the entire div).
Any ideas on how I can fix this?
Thanks.
2005 Dec 03
1
SlideDown/SlideUp question
Hi ,
i jotted down this script here
http://awstagingserver.net/snehal/ajax/prototype/rssget/news.asp#
its a RSS reader thing , what i am trying to achieve here is save
browser space here by using SlideDown and SlideUp , as you might see
whats happening with the script when you click on the newsbar name ,
what i want is when initially WorldNews is displayed and when you
click on Slashdot ,it
2006 Feb 22
2
''this.initialize'' is null or not an object
Hi, working on the accordion widget and it''s actually working nice (doesn''t
seem to be jumpy) now but I am receiving a javascript error in IE 6. Does
anybody have any ideas why it is happening? Thanks
<script language="javascript">
sbr_stretch(el) {
thisBodyId = el.parentNode.id + "_body";
thisBody = $(thisBodyId);
if
2006 Jul 10
17
Effect.SlideDown/Up() and HTML issues
Hello,
I''m hoping this is the right place to ask these kind of questions. If not,
please excuse me. Anyway, the problem I''m having is that I have a HTML table
showing some tabular data and I want to use Effect.SlideDown/Up to allow the
user to interactively show "details" for each item (<tr><td> etc) in that
list.
I''ll do some pseudo-code for
2005 Sep 13
6
flicker in IE with SlideDown/SlideUp
The flicker I am seeing in IE is really really bad with SlideDown/SlideUp.
The element I am sliding is a div that contains a table. The tables are
stacked on top of each other so that the presentation actually appears as a
single table.
When I SlideDown, the toggled element flashed into view then disappears
before sliding down. On SlideUp it slides up then flashes into view for a
split
2006 Feb 27
0
Example code for select_from_db (a.k.a. combo box)
I''m not asking for help this time! :) :) In almost every Rails
project I create, I find that I want a select() popup menu that is
pre-populated by data from the database. Also, I want an "Other..."
option that presents a text_field_tag to input another (not
presented) option (basically a combo-box). In an attempt to be as
DRY as possible, I''ve come up with
2007 Feb 03
7
Interesting radio button behavior with "onclick"
Hello:
I have radio buttons like this:
<% fields_for :goalhist do |g| %>
<table>
<tr>
<td align=left><%= radio_button_tag (''duedate'', 0, checked = false,
options = {:onclick => ""}) %>
Start now
</td>
</tr>
<tr id="detailed" style="display: none"><td colspan=2>
2005 Oct 19
6
how to prevent "blinking" when adding an element with an effect
Hi,
I add a div to my document and use an effect to make it apear gracefully.
Unfortunatly, when adding the element, the element apears shortly, then
the effect (slideDown) lets it apear nicely - so the page flickers abit -
What is the best practice to avoid it?
Cheers,
Ron
2006 Jan 20
5
Height problem after interrupting SlideDown/SlideUp effects
Hi,
i have a problem with the the SlideDown and SlideUp effects. Since a similiar
problem is also visible on the script.aculo.us homepage, i''m going to explain
it this way.
- Go to http://script.aculo.us/
- On the main site below "visual effects", click "Advanced options", the sub
panel will scroll down.
- Hit the close button, and while the panel is still
2007 Jan 31
0
radio buttons => What if the value is a FK?
Hi:
I have radio buttons like this in my view:
<%= radio_button :goals, :goaltype_id, ''Recurring'', { :onclick => "new
Effect.SlideDown(''recurring''); return false;" }
%> Recurring<br />
<%= radio_button :goals, :goaltype_id, ''One-time'', { :onclick => "new
2005 Dec 22
2
using slidedown and slide up in a multiple level menu
can someone take a look at a menu I am trying to build using slideUp and
slideDown. I finally got it working in IE and now in Firefox, it works
fine on the first level, but not on the submenus. They just slide over the
top of the divs that follow them. Where am I going wong?
http://mod.dreamchasers.com/menutest.php
Thanks!
Chad
_______________________________________________
2006 Feb 06
10
Urgently Need Solution
I''m using scriptaculous'' SlideUp and SlideDown effects to animate a menu.
Specifically, I SlideUp, make some CSS changes, and SlideDown. All works
well, except that for a split second in between, the element''s display
becomes ''none'' and the other menu item jump into the space. I haven''t been
able to find any way to force an element to retain
2006 Apr 27
4
effect.SlideDown question
Hello,
I want to have my box that I''m sliding down hidden when I start and then
slidedown to 100px. What is the best way to do this? I don''t see
anything on the wiki about it.
Thanks,
<http://zend.com/zce.php?c=ZEND002524&r=212822110>
Jon Whitcraft
Indianapolis Motor Speedway
jwhitcraft-1LwPDYEpVrH2eFz/2MeuCQ@public.gmane.org
Phone: (317) 492-8623 ::
2007 Apr 23
3
getElementsBySelector problem in IE
I''m having this problem with IE and getElementsBySelector, but am a
relative js novice, so quite possible -- likely even -- that I''m doing
something stupid. Either way, a fresh pair of eyes would help.
Basically I''m duplicating a fieldset within a form (so you can upload
more than one photo). [BTW, the fieldsets have a CSS id which relates
to the object id of the
2005 Jul 27
4
safari vs. firefox on mac os x: flickering combination effects
Hi.
I''m wondering if this is a documented problem. Combination effects
such as .BlindDown or .SlideDown exhibit a not so fun flicker at the
end of their rendering process in Firefox on Mac OS X. This does NOT
happen in Safari.
Does anybody know how to fix this or if it will get fixed in a next
release?
All best,
Tench
2007 Dec 28
11
LIKE clause in rails
Hello,
I am trying to achieve a search functionality in the following manner
i have an table called people
which has
first_name,last_name,etc...
After the user form to search people is submitted i get the params hash
as params[:persons]={"first_name"=> "%John%","last_name"=>"%Stevens%"}
NOTE : I have changed the params hash to include the %.
Now
2008 Feb 12
0
button_to problem http://localhost:3000/art/151470;edi
hi all,
now i am facing problem with button_to , it shows the path like
http://localhost:3000/art/151470;edit instead of
http://localhost:3000/art/edit/151470
the path is not displaying problem, so i got the error , no route found.
in application_helper :
def button_to(name, options = {}, html_options = nil)
html_options = html_options.stringify_keys
2007 Mar 09
0
link_to_remote with onmouseover event
Anyone have a better method for having the onmouseover event (or any
other mouse event) instead of onclick when using link_to_remote:
This is what I did, but I''d i have to create one for every mouse
event, can''t figure out how to call a mouse event via an argument .
anyone else run into this problem. Thanks
def link_to_remote_mover(name, options = {}, html_options
2009 Feb 09
0
submit_to_remote change from 2.1 to 2.2 now gives wrong number of arguments
Hi,
this snippet
<%= submit_to_remote(''create_button'', ''Add Phone'',
:submit =>
"phone_form",
:url =>
send( "#{@phonable_type.to_s.downcase.singularize}_phones_path",
@phonable_id),
2006 Jan 26
2
javascript in link_to?
having trouble finding how to include a random chunk of javascript (an
onclick event handler) in a link_to generated link.
at first i thought i could use the html_options field, but if i understand
correctly, that only supports :confirm, :popup, and :post options.
hope i''m wrong. anyone know different?
john
_______________________________________________
John McGrath