On 20 July 2010 06:24, geoffcox g...@freeuk.com wrote:
Hello
I have this php code
for ($count=0;$countsizeof($units);$count++) {
echo a href='btec-first/index.php?unit= . $units[$count] .
folder=/ . $btec_first_folder[$units[$count]-1] . '
target='content'BTEC First - Unit .
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:
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 g.b.ya...@gmail.com wrote:
OK, sorry about the lack of details
here is the define of editorDocument
/**
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
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 ilpuccio.f...@gmail.com 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
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 div
class=effects
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
On 20 July 2010 17:59, Ralph Brickley i...@topsoftweb.com 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 div
class=effects
Then use $$('effects') to get each item and all effects...
You could have to create a form with am input type=hidden for each
unit and folder and a bit of JS to turn an a 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
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
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 martin.marq...@gmail.com wrote:
I'm trying to mix Effect.Morph and setTimeout() to
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
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
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
To:
2010/7/20 Rick.Wellman rick.well...@kiewit.com:
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
2010/7/20 Rick.Wellman rick.well...@kiewit.com:
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
AfterFinish!!! Brilliant.
Sent from my iPhone
On Jul 20, 2010, at 2:15 PM, Martín Marqués martin.marq...@gmail.com wrote:
2010/7/20 Rick.Wellman rick.well...@kiewit.com:
Oops, already made a mistake; Make that:
var cmd = $('masinfo' + id + ).show();
setTimeout(cmd,500,id);
Yeah, this
On 20 July 2010 20:58, geoffcox g...@freeuk.com wrote:
You could have to create a form with am input type=hidden for each
unit and folder and a bit of JS to turn an a 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
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
21 matches
Mail list logo