Hi guys,
Take a look at a script i coded some months ago but not yet published
on my weblog ajaxorized.com :
https://ajaxorized.com/goofyboxes
It integrates prototype/scriptaculous with some different web
services. I'm thinking of extending it further and eventually blog
about it.
Cheers,
On Mar 28, 2:03 pm, Ryan Gahl [EMAIL PROTECTED] wrote:
I believe, though, that these proposed solutions will be equally deemed by
the OP's company as too much work... otherwise they would just fix their
for..in loops to not be for..in loops, right?
Not necessarily, only the OP can answer
Hello,
I use a imageflow javascript (example:
http://194.95.111.244/~countzero/scripts/_myImageFlowLightbox2/). The
script offers the ability to adjust the startimage in the imageflow.js
Part of the imageflow.js:
window.onload = function()
{
if(document.getElementById(conf_imageflow))
Hi,
A function or property refering directly to the name/objectindex of
the obejct/class instance would be much more practical.
But, again, what you're looking for, as you've stated it, is
impossible. An instance can be referred to by any number of
variables, and the instance can have no
You have to dynamically parse the output into the function. Something
like this:
glideTo( ?php echo $iValue; ?, ?php echo $iValue2; ?);
On Mar 28, 11:47 am, dven [EMAIL PROTECTED] wrote:
Hello,
I use a imageflow javascript
Sorry, there's a copy-and-paste error in the above. The line in the
Prototype solution's initialize() function that reads
this.constructor.theClass = 'MyPrototypeThing';
should read
this.constructor.ctorName = 'MyPrototypeThing';
Sorry 'bout that.
--
T.J. Crowder
tj / crowder software /
Right, but how can i get the function glideTo( -450, 3); out of the
imageflow.js in my index.php.
It must be something like that, you know what i mean?:
script type=text/javascript
glideTo( ?php echo $iValue; ?, ?php echo $iValue2; ?);
/script
On 28 Mrz., 12:51, Will [EMAIL PROTECTED] wrote:
Right but how can i get the function out of the imageflow.js and place
it in my index.php?
It must me something like that, you know what i mean?:
script type=text/javascript
glideTo( ?php echo $iValue; ?, ?php echo $iValue2; ?);
/script
On 28 Mrz., 12:51, Will [EMAIL PROTECTED] wrote:
You have
But you can just tack on [0] to the end of the right side of the
assignment statement.
On Mar 27, 6:19 pm, shadenite [EMAIL PROTECTED] wrote:
Using $$ returns arrays.
On Mar 26, 9:53 am, Walter Lee Davis [EMAIL PROTECTED] wrote:
In this case, would it return a single object, or an array of
Meh... I see how this is an issue where people are using for..in
incorrectly, but I don't think the authors of Prototype should try changing
anything now to appease some (yes) poorly written legacy code. That would
force many people to have to $A() wrap their Arrays where they don't have to
right
Hello
I have given myself a headache! I would like to use Form.serialize to
get data from some forms and combine this with data obtained from
elsewhere and then use Ajax.Updater but do not know how to do this ...
I have code below - how do I use Form.serialize to get the checkbox
result into
I found the solution by myself! It was a wrong Content-type of the
AJAX response.
I don't know why, but the Content-type of the response was text/html
instead of text/javascript an so the response was not evaluated by
prototype.
If fixed this by explicitly setting the content type in the
Hello Folks,
I've got a problem on a type of event in IE.
It works perfectly on Firefox 2, Konqueror 3.5.8 but not on IE 6.
Here is a very simple test case :
http://paul.gregory.free.fr/prototype-IE-problem/bug.html
(I've also posted the source code on the bottom of this message)
In a
Hi,
Got something similar to this:
$$(#settings fieldset)[0].insert(new Element(input, {
type: button,
name: updateSettings,
id: updateSettings,
value: Update Settings
14 matches
Mail list logo