On 20 July 2010 06:24, geoffcox wrote:
> Hello
>
> I have this php code
>
> for ($count=0;$count echo " target='content'>BTEC First - Unit " . $units[$count] . "\n";
> }
>
> which sends the data to file index.php as part of the URL.
>
> Is it possible to use POST instead so that the path info is n
Hi,
I don't think it's possible to help with this without a lot more
information. What's `editorDocument`, for instance? You said that the
failure occurs in `setStyle`; so you're going to need to show us your
call to `setStyle` at the very least (or your call to whatever else in
Prototype called `
OK, sorry about the lack of details
here is the define of editorDocument
/** Iframe exists already? **/
if ( $("PearServicesEditor_" + this.editorID +
"_IFrame") )
{
this.editorFrame=
Hello,
I'd like to use the toggle effect on multiple object at the same time
I tried with
Effect.multiple(['id_1','id_2','id_n'], Effect.toggle)
but it doesn't work, also I don't know where/how to pass the 'appear'
parameter
I'm used to call toggle in this way:
Effect.toggle('my_id_of_interest',
Hi,
And at what point does the error occur? One of the setStyle calls?
Which one? I mean, I could guess, but guessing is a waste of time.
-- T.J.
On Jul 20, 1:33 pm, Gindi Bar Yahav wrote:
> OK, sorry about the lack of details
> here is the define of editorDocument
>
> /** Iframe ex
OK, the bug in here
setStyle: function(element, styles) {
2206 element = $(element);
2207 var elementStyle = element.style, match;
2208 if (Object.isString(styles)) {
2209 element.style.cssText += ';' + styles;
2210 return styles.include('opacity') ?
2211 element.setOpacity(styles.match(/opacity:\s
Hi,
I meant where in _your_ code (but that's still useful info), e.g.,
this call to setStyle:
this.editorFrame.setStyle( 'border: 1px inset;' );
(BTW, the semicolon inside the quotes there is an error, although most
browsers will ignore it.)
...or this one:
this.editorFrame.setStyle( {
On 20 July 2010 15:55, Febo wrote:
> Hello,
> I'd like to use the toggle effect on multiple object at the same time
> I tried with
>
> Effect.multiple(['id_1','id_2','id_n'], Effect.toggle)
>
> but it doesn't work, also I don't know where/how to pass the 'appear'
> parameter
>
> I'm used to call t
This is a revelation to me. I didn't know Effect had a multiple. Also, what is
curry?
My solution has been to tag those elements with a class, ie
Then use $$('effects') to get each item and all effects... On each
Sent from my iPhone
On Jul 20, 2010, at 9:08 AM, Richard Quadling wrote:
> On
On 20 July 2010 17:59, Ralph Brickley wrote:
> This is a revelation to me. I didn't know Effect had a multiple. Also, what
> is curry?
>
> My solution has been to tag those elements with a class, ie class="effects">
>
> Then use $$('effects') to get each item and all effects... On each
>
> Sent
> You could have to create a form with am for each
> unit and folder and a bit of JS to turn an into a form submitter -
> or just use a button.
>
> If you want to use ajax, then the same mechanism - create the form,
> but use an ajax submitter to process the forms.
Thanks for your reply.
Isn't
I'm trying to mix Effect.Morph and setTimeout() to enlarge a div and
after the div finishes enlargening another div inside it appears (this
is where I use setTimeout()). The problema is that I get a error and
can't find out why.
Here is the code:
function expandir(id,newh){
new Effect.Morph('
JavaScript doesn't know what the +id is because it's within the double quotes.
Do this instead
> setTimeout("$('masinfo'"+id+").show()",500,id);
> }
Sent from my iPhone
On Jul 20, 2010, at 12:59 PM, Martín Marqués wrote:
> I'm trying to mix Effect.Morph and setTimeout() to enlarge a div and
The setTimeout only knows what the value of id is when it is created,
not when it is invoked. So it's telling you the truth. At the moment
when the page loaded, there was no value for id, so there still isn't
one inside of setTimeout's little bubble.
There's a nice feature in all the Effect
I'm pretty sure Ralph's suggestion will work. I prefer to write this in a way
which will hopefully highlight the potential "bug" to a less-experienced
maintenance developer after I have moved onto a 6-digit consulting career that
I run two-hours a day from the Bahamas (boy, sure hope my idea wo
Oops, already made a mistake; Make that:
var cmd = "$('masinfo'" + id + ").show()";
setTimeout(cmd,500,id);
-Original Message-
From: prototype-scriptaculous@googlegroups.com
[mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Rick.Wellman
Sent: Tuesday, July 20, 2010 3:42 PM
2010/7/20 Rick.Wellman :
> I'm pretty sure Ralph's suggestion will work. I prefer to write this in a
> way which will hopefully highlight the potential "bug" to a less-experienced
> maintenance developer after I have moved onto a 6-digit consulting career
> that I run two-hours a day from the B
2010/7/20 Rick.Wellman :
> Oops, already made a mistake; Make that:
>
> var cmd = "$('masinfo'" + id + ").show()";
> setTimeout(cmd,500,id);
Yeah, this is how I made it work, but it's not pretty at all.
Walter gave me the beautiful afterFinish.
Thanks Walter!
--
Martín Marqués
select 'martin.
AfterFinish!!! Brilliant.
Sent from my iPhone
On Jul 20, 2010, at 2:15 PM, Martín Marqués wrote:
> 2010/7/20 Rick.Wellman :
>> Oops, already made a mistake; Make that:
>>
>> var cmd = "$('masinfo'" + id + ").show()";
>> setTimeout(cmd,500,id);
>
> Yeah, this is how I made it work, but it's
On 20 July 2010 20:58, geoffcox wrote:
>
>> You could have to create a form with am for each
>> unit and folder and a bit of JS to turn an into a form submitter -
>> or just use a button.
>>
>> If you want to use ajax, then the same mechanism - create the form,
>> but use an ajax submitter to pr
Thanks Richard and Ralph,
I'm studing the code but my feeling is that Effect.toggle can't handle
the Object which is always passed by Effect.multiple as last parameter
or let's say "effect".
I don't know very much JavaScript, so I came up with this solution.
I added a funciton to public/javascrip
> That sort of thing. But I'd use a form and add an observer on the
> submit. This would allow for graceful degradation.
OK - thanks,
Geoff
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to pr
22 matches
Mail list logo