Sorry, the link I posted the last time for the fileuploader demo is wrong. try this one: www.ehu.es/invertebrados/demofileuploader.rar

2006/6/8, [EMAIL PROTECTED] <[EMAIL PROTECTED] >:
Send Rails-spinoffs mailing list submissions to
       [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
       http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
or, via email, send a message with subject or body 'help' to
       [EMAIL PROTECTED]

You can reach the person managing the list at
       [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Rails-spinoffs digest..."


Today's Topics:

  1. RE: Scriptaculous Problem (Gregory Hill)
  2. RE: Including scriptaculous.js causes page to     "hang"
     (Jason Harwig)
  3. Autocomplete multiple item (Lei Sun)
  4. Re: Re: File upload (Jim Geurts) (Danial Tzadeh)
  5. Ajax vs JS Object scope (Jean-Philippe Encausse)
  6. Re: Autocomplete multiple item (Thomas Fuchs)


----------------------------------------------------------------------

Message: 1
Date: Wed, 7 Jun 2006 16:15:05 -0600
From: "Gregory Hill" <[EMAIL PROTECTED]>
Subject: RE: [Rails-spinoffs] Scriptaculous Problem
To: <[email protected]>
Message-ID:
       <[EMAIL PROTECTED] >
Content-Type: text/plain;       charset="us-ascii"

It's a browser limitation.  If you set display: none in the css, when
you do:

$('id').style.display = '';

It doesn't revert the value to the default of block, inline, list-item,
or whatever.  It's like it forgets it magically.  Would be nice if every
item had a 'defaultDisplay' or something, so you could say:

$('id').style.display = $('id').style.defaultDisplay;

To revert it back to the default, but then you'd have problems when
dealing with altered display attributes like an inline element set to
display: block.  When you wanted to make it reappear, it would go back
to inline instead of block.

So... yeah, there's nothing you can do about it.

Greg

> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto: rails-spinoffs-
> [EMAIL PROTECTED]] On Behalf Of Glenn Nilsson
> Sent: Wednesday, June 07, 2006 3:47 PM
> To: [email protected]
> Subject: Re: [Rails-spinoffs] Scriptaculous Problem
>
> As the documentation
> (http://wiki.script.aculo.us/scriptaculous/show/Effect.Appear ) states:
>
> "Effect.Appear
>
> Make an element appear. If the element was previously set to
> display:none; inside the style attribute of the element, the effect
> will automatically show the element. This means that it must be places
> under the style attribute of an object, and not in the CSS in the head
> of the document or a linked file."
>
> So no, you don't do anything wromng, but I agree, it would be rather
> nice not having to add that attribute.
>
> /Glenn
>
> On 6/7/06, Bryce Fischer <[EMAIL PROTECTED]> wrote:
> > The following works:
> >
> > <body>
> >         <a href="" Effect.Appear($('mydiv'));">Click
to
> display</a>
> >         <div class="example" id="mydiv" style="display: none;">
> >                 <h1>My Div</h1>
> >         </div>
> > </body>
> >
> > (style is inline)
> >
> > but the following does not:
> >
> > <head>
> >   ...
> >         <style>
> >                 #mydiv {
> >                         display: none;
> >                 }
> >         </style>
> > </head>
> > <body>
> > <body>
> >         <a href="" Effect.Appear($('mydiv'));">Click
to
> display</a>
> >         <div id="mydiv">
> >                 <h1>My Div</h1>
> >         </div>
> > </body>
> >
> > Am I doing something wrong?
> > _______________________________________________
> > Rails-spinoffs mailing list
> > [email protected]
> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
> >
> _______________________________________________
> Rails-spinoffs mailing list
> [email protected]
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs


------------------------------

Message: 2
Date: Wed, 7 Jun 2006 19:26:01 -0400
From: Jason Harwig <[EMAIL PROTECTED]>
Subject: [Rails-spinoffs] RE: Including scriptaculous.js causes page
       to      "hang"
To: [email protected]
Message-ID: < [EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

I've had problems like this when importing some rich text editor
libraries after scriptaculous.  TinyMCE, in particular would cause
browsers to hang unless it was imported before prototype/scriptaculous.


>> When I say hang, I mean the browsers spinner keeps spinning and
>> Firefox's info bar at the bottom says "Transfering data from ...... "
>>
>> I'm just including the js like this:
>>
>> <script src="" type="text/_javascript_"></script>
>> <script src="" type="text/_javascript_"></script>
>>
>> which I cribbed from the demo pages anyway.
>>
>> If I remove the 2nd line, and just have prototype loaded, the page
>> loads Ok.
>>
>> I'm only interested in the Blind[Up|Down] functions, so I've also
>> tried :
>>
>> <script src="" type="text/
>> _javascript_"></script>
>>
>> but the same thing happens.
>>
>> I'm using  v1.6.1 of scriptaculous, and the prototype version that
>> comes with that.
>>
>>
>> -S


------------------------------

Message: 3
Date: Wed, 7 Jun 2006 18:58:07 -0700
From: "Lei Sun" <[EMAIL PROTECTED]>
Subject: [Rails-spinoffs] Autocomplete multiple item
To: [email protected]
Message-ID:
       <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi

I was using the Autocompleter for multiple tags of a post using token
feature. It works great!

But later, I discovered that the Autocompleter is only able auto
complete the very last tag.

Is it possible to be able to auto complete the earlier tags? Like del.icio.us?

Thanks

Lei


------------------------------

Message: 4
Date: Thu, 8 Jun 2006 08:34:01 +0200
From: "Danial Tzadeh" <[EMAIL PROTECTED]>
Subject: Re: [Rails-spinoffs] Re: File upload (Jim Geurts)
To: [email protected]
Message-ID:
       <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Daniel,

It looks very promising. I would be pleased if you send us the codes too.

Danial

On 6/7/06, Daniel Herrero <[EMAIL PROTECTED]> wrote:
>
> I have actually one library for uploading files in my web page, if you
> like the way it runs I can send you all the files I use. I didn´t create it
> form zero, I obtained the inspiration from other libraries and made one I
> liked. It has onStart event, onEnd, onError, etc...
> My web page is: www.trintxerpe.tk
> - if 'Continue to trintxerpe.tk' appears click on it
> -  wait until the page is fully loaded, it will take several minutes
> because I don´t have a good server yet, and it is a test page by now.
> - rigth click, a menu should appear, if it doesn´t appear reload the page
> and try again
> - choose 'añadir nueva imagen' and try it'
>
> I wish you like it.
>  <http://212.145.207.60/>
> --
> Daniel Herrero Dávila
>
> _______________________________________________
> Rails-spinoffs mailing list
> [email protected]
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20060608/6d3a80f5/attachment-0001.html

------------------------------

Message: 5
Date: Thu, 8 Jun 2006 10:29:51 +0200
From: "Jean-Philippe Encausse" < [EMAIL PROTECTED]>
Subject: [Rails-spinoffs] Ajax vs JS Object scope
To: [email protected]
Message-ID:
       <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

A cool _javascript_ programming techniques is used in GoogleTalk and
Google Spreadsheet.
They leave opened an XmlHttpRequest to send and receive data. That's
why they are so reactive. It works because there's no navigation
(request) only ajax.

My questions are:

1. Does prototype allow that kind of long ajax request ?

2. Is it possible to store _javascript_ Object in the scope of the navigator ?
-> Firefox allow storing vars in object "Navigator". But not IE. The
vars are available during single tab navigation. But I don't know if
XmlHttpRequest stay opened ?


Best Regards,
Jp

--
Jean-Philippe Encausse - R&D Jalios SA
Jp [at] encausse.net - http://www.encausse.com - http://www.jalias.com
GTalk: jp.encausse [at] gmail.com - SMS: sms [at] jp.encausse.net
Mob: +33 6 82 12 56 99 Jalios: +33 1 39 23 92 83 Tel: +33 1 39 18 90 15
Do it Once, Use it Twice ~ Do it Twice, Make It Once


------------------------------

Message: 6
Date: Thu, 8 Jun 2006 10:46:45 +0200
From: Thomas Fuchs <[EMAIL PROTECTED]>
Subject: Re: [Rails-spinoffs] Autocomplete multiple item
To: [email protected]
Message-ID: <[EMAIL PROTECTED] >
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Yes.

Look at  the functional demos of the autocompleter included with the
script.aculo.us download.

Look at ajax_autocompleter2_test.html

The feature is called the "incremental" autocompleter.

-Thomas

Am 08.06.2006 um 03:58 schrieb Lei Sun:

> Hi
>
> I was using the Autocompleter for multiple tags of a post using token
> feature. It works great!
>
> But later, I discovered that the Autocompleter is only able auto
> complete the very last tag.
>
> Is it possible to be able to auto complete the earlier tags? Like
> del.icio.us?
>
> Thanks
>
> Lei
> _______________________________________________
> Rails-spinoffs mailing list
> [email protected]
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

--
Thomas Fuchs
wollzelle

http://www.wollzelle.com

questentier on AIM
madrobby on irc.freenode.net

http://www.fluxiom.com :: online digital asset management
http://script.aculo.us :: Web 2.0 _javascript_
http://mir.aculo.us :: Where no web developer has gone before






------------------------------

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs


End of Rails-spinoffs Digest, Vol 13, Issue 28
**********************************************



--
Daniel Herrero Dávila
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to