you may be able to get the clicked element with "this"
Example.
$('clones').observe('click',function(evt){
var elm = this;
.. var e=this.id;
- Original Message -
From: Yan Kovyakh
To: prototype-scriptaculous@googlegroups.com
Sent: Tuesday, July 21, 2009
He has trouble getting the element in the first place Getting the split
of it is not the problem
Alex
http://www.thevacancymarket.com
- Original Message -
From: "Chris"
To: "Prototype & script.aculo.us"
Sent: Tuesday, July 21, 2009 3:50 PM
Subject: [Proto-Scripty] Re: Delete php
try the follwing then.
$('clones').observe('click',function(evt,element){
var elm = element;
if (elm.hasClassName('remove')){
evt.stop();
- Original Message -
From: Yan Kovyakh
To: prototype-scriptaculous@googlegroups.com
Sent: Tuesday, July 21, 2009 3:
ment();
> if(elm.id){
> //your code goes here
> }
> });
>
> Walter
>
> On Jul 21, 2009, at 11:10 AM, Alex McAuley wrote:
>
>> try the follwing then.
>>
>> $('clones').observe('click',function(evt,element){
>> var elm = element;
&
x27;click',function(event){
var elm=Event.element(event);Rest of your code
Solution 2.
Listen to each inside the for the click like the following
$$('#clones li').invoke('observe','click',function(event) {
var elm=this; // this will now be the element (this.
and firebug says ?
you have an undefined error in there for a start with evt.stop();
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Yan Kovyakh"
To:
Sent: Tuesday, July 21, 2009 5:04 PM
Subject: [Proto-Scripty] Delete php
>
> Both of the
table.defer();
}
});
});
That works because i just tested it, it alerts 1234 for the follwing html
and 4567 for the second list element.
See the comments in the code to make it work for you.
ID = foo_1234
ID = foo_4567
Alex Mcauley
http://www.thevacancymar
change
elm.up('li').remove();
to
$(this).remove();
and it will remove the element that was clicked
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Walter Lee Davis"
To:
Sent: Tuesday, July 21, 2009 7:53 PM
Subject: [Proto-Scripty] Re: D
Good thing he said "performant" then init !! :P
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Diodeus"
To: "Prototype & script.aculo.us"
Sent: Tuesday, July 21, 2009 10:00 PM
Subject: [Proto-Scripty] Re: Need help
its $_POST['clone']
not $_POST['the_id']
thats why !!
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: Yan Kovyakh
To: prototype-scriptaculous@googlegroups.com
Sent: Tuesday, July 21, 2009 10:22 PM
Subject: [Proto-Scripty] Delete
I love semantical arguments !!
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Richard Quadling"
To:
Sent: Tuesday, July 21, 2009 10:20 PM
Subject: [Proto-Scripty] Re: Need help for performantly creating tooltips
>
> 2009/7/21 Alex McAu
Chris.
If you dont want to write your own may i suggest (proto fanboys dont scream
blasphomy at me !!)
http://flowplayer.org/tools/tooltip.html
Its very very lightweight and very configurable (relies on jQuery)
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From
(about
30 lines iirc)
HTH
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "ColinFine"
To: "Prototype & script.aculo.us"
Sent: Wednesday, July 22, 2009 12:05 PM
Subject: [Proto-Scripty] Re: Need help for performantly creating tooltips
Effect.BlindUp and BlindDown will do it for you you also will want to
look at effect queues in the github of scriptaculous
HTH
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "elggtester"
To: "Prototype & script.aculo.us"
Sent: We
Your script and some XML / HTML might help !!
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "chengshwu"
To: "Prototype & script.aculo.us"
Sent: Wednesday, July 22, 2009 8:40 AM
Subject: [Proto-Scripty] the problem of "this.XB
Most browsers limit the number of simultanious requests and or paralel
downloads not just IE
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "David Dyer"
To: "Prototype & script.aculo.us"
Sent: Wednesday, July 22, 2009 6:07 PM
Sub
because its being sent as an array.. php cannot directly read javascript
arrays and as such you have to json encode/decode it
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "geoffcox"
To: "Prototype & script.aculo.us"
Sent: Sunda
php's json_encode/decode functions... you may need to install them.
Good luck
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "geoffcox75"
To: "Prototype & script.aculo.us"
Sent: Sunday, July 26, 2009 6:23 PM
Subject: [Proto-
;+v;
window.sliderValue=v;
}
then you can add it to params easily
params: {
sliderValue: window.sliderValue;
}
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "autocat"
To: "Prototype & script.aculo.us"
Sent: Monday, July 27, 2009 7:43
Check the script that is calling it.
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "stegel"
To: "Prototype & script.aculo.us"
Sent: Tuesday, July 28, 2009 2:59 AM
Subject: [Proto-Scripty] Error in IE8
>
> I am running prototype.
In my usual "Not enough coffee" moments i just used an If/Else instead lol
Not sure why i was trying to cut code using a tenary ...
We live and learn
Sorry for useless post
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Jeztah&q
Most scripts on a page are evaluated by the interpereter first.
COmment out all of your functions and see if its still happening
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "stegel"
To: "Prototype & script.aculo.us"
Sent: Tuesda
I should add
the bottom Event.stop(event); after the ajax request is not an option as i
dont want it stopped there incase somethign went wrong in the request - i
would like the click to follow the href and work as normal.
Alex Mcauley
http://www.thevacancymarket.com
- Original
Found an easier way
Added "asyncronous: false," to the ajax options!!
Thanks for input
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Daniel Rubin"
To:
Sent: Wednesday, July 29, 2009 12:33 PM
Subject: [Proto-Scripty] Re: Event.stop(
that has a space in it no ?
ID's are not allowed spaces
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "evrim"
To: "Prototype & script.aculo.us"
Sent: Wednesday, July 29, 2009 12:29 PM
Subject: [Proto-Scripty] Re: Firefox v
easier to leave it as it is (working) than add more lines of code.
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Tobie Langel"
To: "Prototype & script.aculo.us"
Sent: Wednesday, July 29, 2009 1:45 PM
Subject: [Proto-Scrip
Misread sorry
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "evrim"
To: "Prototype & script.aculo.us"
Sent: Wednesday, July 29, 2009 1:59 PM
Subject: [Proto-Scripty] Re: Firefox v3.5
No there is not a space in ID e is expression
Thanks for the advice
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Tobie Langel"
To: "Prototype & script.aculo.us"
Sent: Wednesday, July 29, 2009 2:28 PM
Subject: [Proto-Scripty] Re: Event.stop(event);
>
> For the sake of ar
why not just port the jquery one... wont take long !
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Celso"
To: "Prototype & script.aculo.us"
Sent: Wednesday, July 29, 2009 10:22 PM
Subject: [Proto-Scripty] Re: Masked Input in Prototyp
Can you give an example of your code in a pastebin and i will ammend it to
do what it needs to.
Regards
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Andrew Dodd"
To: "Prototype & script.aculo.us"
Sent: Thursday, July 30, 2009
A couple of things i would do.
First i would remove the onlick and assign the elements a classname
something like this will work
http://pastie.org/565060
HTH
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Andrew Dodd"
To: "Prototype &a
There is some options in draggable
onEnd: function() {}
HTH
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Christophe"
To: "Prototype & script.aculo.us"
Sent: Wednesday, July 29, 2009 10:53 PM
Subject: [Proto-Scripty] Event
Sorry you missed the point i was trying to achieve.
I wanted the operator to in essence evaluate 2 responses for example.
alert('Element Does not exist'); alert('The second responsee');
However it cannot be achieved so it must be done usung if/else..
Regard
the original post is signed with my name !!
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: Rick Waldron
To: prototype-scriptaculous@googlegroups.com
Sent: Thursday, July 30, 2009 7:31 PM
Subject: [Proto-Scripty] Re: ternary operators
Huh?
Jeztah
Me too !!!
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: Rick Waldron
To: prototype-scriptaculous@googlegroups.com
Sent: Thursday, July 30, 2009 7:39 PM
Subject: [Proto-Scripty] Re: ternary operators
Hehe. I guess i missed that.
I read
thanks TJ,
The alert() was just an example - perhaps a bad one! ... i did not however
consider the || version.
Regards
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "T.J. Crowder"
To: "Prototype & script.aculo.us"
Sent: Thursda
onlick)!!
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Andrew Dodd"
To: "Prototype & script.aculo.us"
Sent: Friday, July 31, 2009 9:54 AM
Subject: [Proto-Scripty] Re: Effect.Morph query
Hi
Thanks for the help, I tried the above in
You;re more than welcome
That will give you he basis on how to do this kinda stuff without onclick!
Anything else just let me/the group know
Regards
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Andrew Dodd"
To: "Prototype & scr
dont exist after an Ajax.Updater.
You should call it in the 'onSuccess' part of your ajax
something like
onSuccess : function() {
initMorphing();
}
HTH
Regards
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Andrew Dodd"
To: "Pro
What was the original question ?
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "ferion"
To: "Prototype & script.aculo.us"
Sent: Friday, July 31, 2009 12:35 PM
Subject: [Proto-Scripty] Re: Eventchain click and drag
>
> Seems l
I would replace all of your code with the Ajax.Updater...
http://pastie.org/566564
I have put most of it into the pastie above You will want to check it
and replace your code with it if you are happy.
Regards
Alex Mcauley
http://www.thevacancymarket.com
- Original Message
erely a shortcut for document.getElementById()...
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Andrew Dodd"
To: "Prototype & script.aculo.us"
Sent: Friday, July 31, 2009 2:26 PM
Subject: [Proto-Scripty] Re: Effect.Morph query
Wicked.
I've
Sorry ANdy
Adjust the code form "params : {}"
to
"parameters"
Typo -> My mistake.
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Andrew Dodd"
To: "Prototype & script.aculo.us"
Sent: Friday, Ju
In that i mean
Change "params" to "parameters" ... incase that made no sense!!
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Alex McAuley"
To:
Sent: Friday, July 31, 2009 3:08 PM
Subject: [Proto-Scripty] Re: Effect.Morph q
You have the PHP echoing out class=morphable instead of class="morphable"
.. try changing that and it may work.
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Andrew Dodd"
To: "Prototype & script.aculo.us"
Sent: Friday, Jul
I'll consult the docs on morph to see if its compatible with TR's
Some effects are and some are not.
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Andrew Dodd"
To: "Prototype & script.aculo.us"
Sent: Friday, July 31, 2009 4
Onlick is bad ...
Is it now in the Event.observe(window wrapper?
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Andrew Dodd"
To: "Prototype & script.aculo.us"
Sent: Friday, July 31, 2009 4:28 PM
Subject: [Proto-Scripty
http://pastie.org/566774
you have a line ...
$(elem).morph('oddrow');Which will not work as "oddrow" is not a style.
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Andrew Dodd"
To: "Prototype & script.aculo.us"
You should always remove slashes from Json in php
Example below..
I had a similar problem with a PHP app i developed and had to escape it
properly
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "infringer"
To: "Prototype & script.acul
Sorry - Just tucked into my first beer ...
not remove slashes ... Santitize the $_POST
My mistake.
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "infringer"
To: "Prototype & script.aculo.us"
Sent: Friday, July 31, 2009 5:49 PM
Sub
If you are using "onsubmit" you need to do this ...
onsibmit="return theCoolFunction();"
then you may return false or true on certain things ...
As TJ recommended i would stay away from these old style handlers and look
at delegating it properly
HTH
onclick will go as its a DOM0 style handler.
Anything in the observe (attached as delegation) will not and you will have
to remove manauly with stopObserving();
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Kostil"
To: "Prototype & scr
Or before the code do this...
$jq=jQuery.noConflict();
then anything that you want to use jQuery's $ for just use $jq in its stead.
HTH
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Matt Foster"
To: "Prototype & script.aculo.us&q
Never mind i fixed it !..
Goddam IE8 i hate it already - only been using it 1 hour !
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Jeztah"
To: "Prototype & script.aculo.us"
Sent: Tuesday, August 04, 2009 2:21 PM
Subject:
addClassName() worked but the page had cached and not updated my code after
refresh ... shut the browser and tried again - worked first time
Now i am looking for a way to detect if the browser is IE8 or not as the css
renders the same as FF in IE8 but not in IE7 !
Alex Mcauley
http
Again found a fix .
if(document.documentMode >= 8) {
..
}
For anyone interested - detects IE8 !!
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Alex McAuley"
To:
Sent: Tuesday, August 04, 2009 2:33 PM
Subject: [
Can you explain it a bit better please... i cant really understand what you
mean by that
Thanks
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "DJJQ"
To: "Prototype & script.aculo.us"
Sent: Wednesday, August 05, 2009 8:22 PM
Subject:
what does the link look like ?
Click me
Like that ?
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "DJJQ"
To: "Prototype & script.aculo.us"
Sent: Wednesday, August 05, 2009 9:33 PM
Subject: [Proto-Scripty] Re: Browser scroller po
just goto the href of the link.
HTH
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "DJJQ"
To: "Prototype & script.aculo.us"
Sent: Wednesday, August 05, 2009 9:42 PM
Subject: [Proto-Scripty] Re: Browser scroller position after Ajax.
Seems the element does not exist...
Does it exist in the DOM ?
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Ash"
To: "Prototype & script.aculo.us"
Sent: Wednesday, August 05, 2009 10:04 PM
Subject: [Proto-Scripty] Re: Beginner
Ajax is Asyncronous so it gets executed along with other script ...
ergo its not serial like php and other stuff your prolly used to...
you can make a request synconous (script waits for the ajax request to
finish before continuing but its not recommended
Alex Mcauley
http
Walter...
The link in his post describes how to do XDR in FF3.5!
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Walter Lee Davis"
To:
Sent: Thursday, August 06, 2009 6:27 AM
Subject: [Proto-Scripty] Re: HTTP OPTION REQUEST with FireFox 3.5
>
In your first code $('toto') does not exist.
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Nicolas Terray"
To:
Sent: Thursday, August 06, 2009 12:47 PM
Subject: [Proto-Scripty] dom:loaded & exceptions
>
> Hello,
>
>
Just change the script to adjust a little
http://pastie.org/575168
HTH
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Krish"
To: "Prototype & script.aculo.us"
Sent: Friday, August 07, 2009 5:18 AM
Subject: [Proto-Scripty] Dete
Dude i am not sure why you use prototype and then revert to native
document.getElementById().. and other vanilla JS
Try putting a in your table is required HTML in tables
... some browsers add it if its missing and some dont - Safari might be one
that doesnt.
Alex
is it not "onmouseover" ?
Never knew there was an "onHover"
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Sebastien"
To: "Prototype & script.aculo.us"
Sent: Friday, August 07, 2009 11:24 AM
Subject: [Proto-Scrip
lue==element.defaultValue) {
element.value='';
}
});
$$('.access').invoke('observe','blur',function(element) {
if(element.value!=element.defaultValue || element.value=='') {
element.value=element.defaultValue;
}
});
});
(untested but shoul
You can prolly sort the order if you wanted it in some kind of order but its
not needed in my opinion!
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "T.J. Crowder"
To: "Prototype & script.aculo.us"
Sent: Monday, August 10, 2009
Matt foster wrote.
var keys = $H(obj).keys();
http://prototypejs.org/api/hash/keys
--
http://positionabsolute.net
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: ra kr
To: Prototype & script.aculo.us
Sent: Monday, August 10, 2009 5:0
Look @ the ghost option
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Drr"
To: "Prototype & script.aculo.us"
Sent: Monday, August 10, 2009 7:06 PM
Subject: [Proto-Scripty] Making a Draggable-"pool"
>
> Hi, is it
Thanks TJ, I'll look into it and see if i can hack something together
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "T.J. Crowder"
To: "Prototype & script.aculo.us"
Sent: Wednesday, August 12, 2009 9:54 AM
Subject: [Proto-Scripty]
Wrap the function in Event.observe(window,'load'
The DOM is not loaded and cannot fire the bits to the relavtive element
Somehing like
Event.observe(window,'load',function() {
var periode = new PeriodicalExecuter(f1,2);
});
should do the trick
HT
Can you explain it a bit better?
I dont quite understand what is going on
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "dpGoose"
To: "Prototype & script.aculo.us"
Sent: Thursday, August 13, 2009 9:18 AM
Subject: [Proto-Scripty] Usin
Thanks Douglas
My way works fine...
That is not the issue... the issue is with change or click
Thanks
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Douglas"
To:
Sent: Thursday, August 13, 2009 3:35 PM
Subject: [Proto-Scripty] Re: Observing
Thanks TJ...
I figured it was worth just using click in the end just to be on the safe
side!
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "T.J. Crowder"
To: "Prototype & script.aculo.us"
Sent: Friday, August 14, 2009 10:55 AM
Sub
Nizmo...
It seems bizzare to me that you are using Draggables (which relies on
prototypejs) yet you are still using vanilla JS methods to select dom
nodes/elements.
speed your code up with.
$$('.box').each(function(element) {
new Draggable(element, {ghosting:true})
});
//
I am sure that Droppables do that already dont they ?
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Floyd Resler"
To: "Prototype & script.aculo.us"
Sent: Thursday, August 13, 2009 9:55 PM
Subject: [Proto-Scripty] Dropping
>
Speed up was the wrong term - which i realised when i pressed "Send"
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "T.J. Crowder"
To: "Prototype & script.aculo.us"
Sent: Friday, August 14, 2009 12:17 PM
Subject: [Proto-Scri
If you want to do somehting like alert('blah'); you must wrap it in an
anonymous function like this...
onUpdate : function(event) {
alert('Blah');
}
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "JoJo"
To: "Prototy
You can do it with both.
Prototype will not send the email only the form element values to the script
so you still need to use php or whatever on the backend.
HTH
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "zion"
To: "Prototype & scr
Afternoon peoples.
Does anyone know if Protocheck is still maintained. I have it working
on FF & IEx but it seems not to work properly on Chrome or Safari 4.
The Crossed image (for an unchecked box) does not display properly.
Thanks in advance
Alex
--~--~-~--~~~---~
$('foo').stopObserving();
will stop observing all observers on id="foo"
$('foo').stopObserving('click');
will stop click observers on id="foo"
$('foo').stopObserving('change');
will stop change observers
which parts of it are not working
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "vk2tdt"
To: "Prototype & script.aculo.us"
Sent: Wednesday, August 19, 2009 6:46 AM
Subject: [Proto-Scripty] Prototype & grid/table maths
>
> I
You need to re-observe the listeners
Perhaps a pastie of your code would help us help you..
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "hass"
To: "Prototype & script.aculo.us"
Sent: Thursday, August 20, 2009 12:19 AM
Subject:
new defines an new instance of an Object / class.
Some things dont need "new" and some do.
It has nothing to dow tih Cross browser afaik
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Mojito"
To: "Prototype & script.aculo.u
earlier on in the month i posted on how to do some things with Ajax
requests genericaly like adding a loading message to all requests and
i got a couple of responses but not many.
I've been giving it alot of thought and i cam up with addMethods as a
way to add some things to the Ajax Class...
Co
Bill
You need to observe the form submit.
$('the-id-of-the-form').observe('submit',function(event) {
/// do the ajax that TJ said...
Event.stop(event); // will stop it doing its default action!
});
Alex Mcauley
http://www.thevacancymarket.com
- Original M
I replied to you with an example.
I wrote
Bill
You need to observe the form submit.
$('the-id-of-the-form').observe('submit',function(event) {
/// do the ajax that TJ said...
Event.stop(event); // will stop it doing its default action!
});
Jason.
How are you calling these functions ?
Are you using an tag by any chance
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Jason Frisvold"
To:
Sent: Thursday, August 20, 2009 9:17 PM
Subject: [Proto-Scripty] Div Fades
>
> Hi ther
,"); // check the syntax on this one!!
showPopup(this, varz[0], varz[1]);
Event.stop(event); // stops the continuing of following the href of the
tag
});
Its psuedo code but it will put you on the right track
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
F
In my quest to create a function that globaly tells a page when a
request is going on with the ability to disable certain form elements
i have been delving into Ajax.Responders.
I stumbled upon this page
http://www.mail-archive.com/rubyonrails-spino...@googlegroups.com/msg06312.html
It basicall
Your URL of the AJax.Updater needs wrapping in '' too -> currently its not
enclosed in '
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: bill
To: prototype-scriptaculous@googlegroups.com
Sent: Saturday, August 22, 2009 6:42 PM
Subje
example:
onEnd : function() {
alert('i ended');
}
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Rob"
To: "Prototype & script.aculo.us"
Sent: Sunday, August 23, 2009 7:29 AM
Subject: [Proto-Scripty] Draggable Callbacks
objects - you can find out those on the
prototype api page
Even if something passes back only the event you can always backtrack to the
element with Event.element(event);
Hope this helps
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Rob"
To:
Molo:
getValue will get the value of an element not its innerHTML.
http://www.prototypejs.org/api/element/update
i would use update();
$('someNode').update('My lovely html');
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: &q
Sorry been a long day - i didnt read the message properly!
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Andy Daykin"
To:
Sent: Monday, August 24, 2009 4:46 PM
Subject: [Proto-Scripty] Re: to InnerHTML or not to innerHTML?
>
> I think he
Effect.BlindUp()
Effect.BlindDown()
You will probably need to adjust your code if you want it to go up / down
On the github page there is some code for left/right too
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Metajake"
To: "Prototype &a
Could you post an example of your code to a pastie and send us the link -
perhaps we can work out whats going on for you
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "vunky"
To: "Prototype & script.aculo.us"
Sent: Tuesday, August
var request=new Ajax.Updater('element','/url',{
method: 'post',
evalScripts: true,
parameters :
{
id: id,
page: page
}
});
request=null;
- works fine...
Its probably a syntax error in your retu
Its just an accordian that uses mouseover/out
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: DJ Mangus
To: prototype-scriptaculous@googlegroups.com
Sent: Tuesday, August 25, 2009 5:58 PM
Subject: [Proto-Scripty] Re: yes, but Mootoolls do that
1 - 100 of 607 matches
Mail list logo