Displaying 20 results from an estimated 2000 matches similar to: "Bug? In scriptaculous -- double text drawn one pixel off"
2006 Jul 20
1
Scriptaculous + Sortable: onUpdate Not Firing
Hello all,
I''m using Scriptaculous 1.6.1 on a project I''m developing. My
generated HTML (generated by PHP) looks something like this:
<ul id="admin-list">
<li id="li-13">Singletary, Bob (President/CEO)</li>
<li id="li-12">Chatman, Jim (Vice President of Finance/CFO)</li>
...
</ul>
<script
2007 Jan 11
3
Strange behaviour with Scriptaculous v 1.7.0 beta 2
Hello,
I''m testing beta of scriptaculous and I''ve got a stange behaviour.
I''m using this RJS :
page << "$(''content'').morph({width:''308px''}, {duration:0.5});"
page.replace_html ''subcontent'', :partial => ''sub''
page.replace_html ''nav_path'', nav_path
2005 Nov 08
2
Scriptaculous insertion fails when XHTML Strict used in FireFox
Hi !
I'm getting an uncaught exception requiring the Scriptaculous
libraries when everything says XHTML 1.0 Strict:
class ApplicationController < ActionController::Base
before_filter :set_content_type
protected
def set_content_type
response.headers['Content-Type'] = 'application/xhtml+xml;
charset=ISO-8859-1'
end
end
<?xml version="1.0"
2007 Aug 31
2
Give focus to an input field of a form
Hi,
I am new to rails and I have setup Typo on my site. One little
thing bugs me, the login page doesn''t give focus to the "user_login"
field. I was wondering what do I need to do to make rails help with
this? I have seen some simple inline javascript to set the focus,
sort of like:
document.<form_name>.user_login.focus()
However the rails view doesn''t
2006 Apr 02
13
autocompletion: hooking ''afterUpdateElement'' in Rails
Hi everyone,
I need to trigger a Rails action after the autocompletion is completed
(when the user has selected an option).
From the scriptaculous doc, I figured out ''afterUpdateElement'' is the
place to be but I wonder if/how and where I can hook my javascript code
to this event in Rails code (I''d like to keep using the helper, if
possible)?
I tried passing many
2006 Mar 29
2
effects in 1.6.0
Hi all,
I just tried the latest version and saw that parts of my page stopped
working. I debugged some and found out that the error is somewhere in
the effects.js file. Cause if I upload the older effects.js with the
latest files then it all works. I also found out that the ''new
Draggable(..'' effect was the cause of the error since it works with the
latest effects.js if I
2006 May 20
1
Slider.js - Attemting to put values in form.
I can''t figure out how to take that value that the user has chosen in
the slider and put that into a form value. Does anybody know how to do
this?
Here is my code so far (It''s pretty much directly from script.aculo.us):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Text effects tests</title>
<script
2006 Apr 27
5
proposing $E & $T
Hey all,
I''ve had these functions for some time now, and would like to offer them
as two new dollar-sign functions - elements to be extended by Prototype
geniuses. :-)
makeText(string) as $T() - return text node element
Does just what it says... I''m sure someone could extend it nicely when
via Prototype.
(example) var x = $T(''hello world'');
2006 Apr 28
4
The Ajax Experience
Anyone on the list going to The Ajax Experience in San Francisco May 10?
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Apr 01
5
Upload a zip using a form and extract if afterwards on srv?
Hi all
It like my visitors to be able to upload a zip file (or any other
possible compressed file archive) to my server. After upload, my web app
should extract the content to the server and delete the zip file.
Is this possible somehow? I''m very thankful for help.
Have a nice weekend,
Joshua
--
Posted via http://www.ruby-forum.com/.
2006 Jan 29
1
RJS template problem!
hi all,
i have the following controller:
class UserController < ApplicationController
.
.
.
def login
@user = User.new(params[:user])
@logged_in_user = @user.try_to_login
if @logged_in_user
session[:user_id] = @logged_in_user.id
else
flash[:notice] = "ungültige Daten!"
end
end
.
.
.
end
with this rjs template:
login.rjs:
if @logged_in_user
2005 Dec 30
2
unwanted scrolling
Hi all,
I'm using Scriptaculous version 1.5.0 to make div's that are hidden at
first (display: none position : absolute) visible using the cool
effects of Scriptaculous. However when I use the effects (Appear,
BlindDown, BlindUp) on div's that are positioned low in a long page IE
and Firefox always scroll back to the top of the page, sometimes even
scrolling away from the effected
2006 Mar 18
3
Weird stylesheet_link_tag issue after moving servers
Dear experts,
I am in the process of switching servers for my application.
Before the move everything was working properly.
After the move
<%= stylesheet_link_tag ''/stylesheets/styles.css'' %>
generates
<link href="//stylesheets/styles.css" media="screen" rel="Stylesheet" type="text/css" />
2006 May 01
3
beta testers: tab panes
Hello,
I was wondering whether anybody is interested to do some beta testing on a
script I''m currently working on.
Here is a little preview: http://net4visions.com/dev/tabs/tabs.html.
A little doc file can be found here:
http://www.net4visions.com/dev/tabs/docs/readme.htm
_______________________________________________
Rails-spinoffs mailing list
2006 Apr 24
26
prototype-based color picker
has anyone in this list ever tried to make a javascript color picker
something like http://www.daantje.nl/blog/index.php?buttonID=37
or http://typetester.maratz.com/
i just thought i''d ask before i force myself to doing this.
thanks
mark renn
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Feb 26
3
Ajax training in Austria: "Ajax richtig verwenden"
Heya all,
I?m doing a one-day training on everything Ajax mainly focusing on
script.aculo.us, but naturally including Prototype and a look on Ruby
on Rails Ajax capabilities as well, plus a look on our product
fluxiom - on March 17, here in Vienna, Austria (for german speaking
audiences).
Here are the (in-german) details:
In diesem eint?gigen Seminar zeigt Ihnen Thomas Fuchs wie Sie die
2006 Mar 22
6
RE: Support for window scrolling fordraganddrop
I have two fixes in a text file. I created the diff using "diff -u", so
I hope you can apply the patch. The file is attached.
I never could get my optional ''scroll when the dragged element goes
outside the scrolled element'' thing to work. I got it to start
scrolling correctly, but then it would start making increasingly big
jumps and basically scroll out of control.
2006 Jun 28
12
Ajax.Updater
Hi,
someone can help me, I am ot able to find the way how to user
Ajax.updaterto test if the request give some positive or negative
result.
I am able only to return the result inside a div.
An example is appreciated.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Nov 24
5
Merge, Compact Ofuscate or Compress Javascript Lib ?
Hi !,
A little question about JS Lib manipulation...
- I found that DOJO toolkit gives a DOJO Compressor jar file to
compress JavaScript
http://dojotoolkit.org/docs/compressor_system.html
- On the other hand there''s no docs in Prototype or Scriptaculous and
prototype files are merged.
Why ???
1. Compacting file will reduce bandwidth but is it useful with a
server that gzip .js ?
2.
2006 Jun 28
1
Proxy
how to set my proxy, so that I can install rails with..
gem install rails --remote.
please, how to define the proxy? tks.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs