Actually the github version is kinda pre 1.7.4 which drops support for old
browsers, fixes some bugs, and other enhancements. Its currently waiting on
Andrew to pull the trigger and get it tested and released.
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Fri, Aug 4, 2017 at 7:50
Walter Davis has a CDN that he runs
I added 1.7.3 and the current github build to that CDN. The current build
is tagged 1.7.4-dev
http://cdnadmin.freewaypro.com/libraries/16
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Fri, Oct 7, 2016 at 1:42 AM, Pong Mok <vtsuper...@gmail.
There has only been 2 commits to the scriptaculous repo since 1.9 was
tagged in 2010, so other than upgrading Prototype in the zip file that
scriptaculous is released with I dont think there will be an official
release - but I'll ask him just the same
Jason Westbrook | T: 313-799-3770 | jwestbr
Hi Everyone
Andrew just tagged and released 1.7.3
Read more about it on the blog post
http://prototypejs.org/2015/09/24/prototype-1-7-3/
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To unsubscribe from this group and stop
Hi All
Just an FYI JSFiddle has been updated with the latest PrototypeJS release,
1.7.2 has been added to the option list for base Frameworks/Libraries to
load
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
--
You received this message because you are subscribed to the Google
Do you know what version of PrototypeJS is loaded. Alot of times upgrading
to the latest version (1.7.2 April 2014) will solve problems
Is this a Magento environment? If so you might not be able to upgrade
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Fri, Jun 5, 2015 at 9:31 AM
I've used FCKeditor (now CKEditor) as well as nicedit in many of my
projects. Nicedit no longer has anyone supporting it - but still works
rather well.
neither of them require any dependencies and work out of the box
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Thu, Apr 23, 2015
/
technically as soon as you have the track element you can do whatever you
need - I put a data-* attribute on the track element to tell the callback
what element I would be updating - I hope this helps you
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Mon, Mar 23, 2015 at 4:22 PM
According to Andrew it has always been the same License MIT
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Wed, Jan 14, 2015 at 11:33 PM, Jungan222 bjorn.jungs...@gmail.com
wrote:
What open source license is used for Prototype.js 1.4? I can not find this
old version for download
ok thats good did trying the activate() method work?
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Wed, Aug 27, 2014 at 3:34 AM, Иван Иванов svjaz...@gmail.com wrote:
Yes, element is a child of a form element.
--
You received this message because you are subscribed
It looks like the method you are trying to call is activate() ?
http://api.prototypejs.org/dom/Form/Element/prototype/activate/
If so make sure the element you are trying to call this on is a child of a
form element
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Tue, Aug 26
But it does work
See this fiddle http://jsfiddle.net/4MUZ4/
also make sure you are running the observe method after the DOM has
finished loading and is ready to be manipulated
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Sun, Jul 13, 2014 at 11:33 PM, Иван Иванов svjaz
and the
abort() might only kill the callbacks but not the process in the server.
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Tue, Apr 15, 2014 at 6:13 PM, Walter Lee Davis wa...@wdstudio.comwrote:
I've looked through the API a couple of different times, and I can't see a
way
that fixes this problem and several others
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Mon, Mar 17, 2014 at 2:40 PM, gjergj sheldija
gjergj.sheld...@gmail.comwrote:
hi all,
i have the following code :
input type=text id=search name=search /
div id=hint/div
@savetheclocktower
I personally have already added my credit card and have started
contributing at $2 a week
Thanks Everyone!
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group
Please take a look at this presentation done by Phil Jackson
http://blog.philwinkle.com/prototype-js-for-jquery-afficionados/
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To unsubscribe from this group and stop receiving emails
Hi All
Just a fair warning Chome 32 deprecated document.body.scrollTop/scollLeft
-- so when implementing Draggables and Droppables in Scriptaculous the
location of the element that is dragged will not be in the correct place as
well as won't fire the dropped correctly.
I've added the
components
https://github.com/jwestbrook/bootstrap-prototype
I've also taken some of the libraries on scripteka that seem to either be
missing or outdated and have re-hosted them on my github so they dont get
lost.
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Fri, Jan 3, 2014 at 8:45
If you want to select any elements that are child of a specific element you
can do so like this
$('myparentelement').select('span');
will select all spans that are children of the element with id
myparentelement
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Tue, Jul 16, 2013
Hi Marco
There is nothing official other than those 2 pages - however there are
plenty of examples that the community has written all over Stack Overflow
http://stackoverflow.com/questions/tagged/prototypejs
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Mon, Jun 24, 2013 at 6
ECMA 5 introduced Function.prototype.bind() which is similar to the
PrototypeJS version that binds the context to the function. In a class
scope you can bind the this variable in the function scope to the this
of the class.
Here is a performance test between those 2
Chrome on OSX with Prototype winning as well - I was just curious as to why
the native implementation is slower than the Prototype implementation?
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Mon, Jun 3, 2013 at 5:06 PM, Walter Lee Davis wa...@wdstudio.com wrote:
I believe
If you want to use tooltips or popovers you could use the PrototypeJS
Twitter BootStrap tooltips or popovers
https://github.com/jwestbrook/bootstrap-prototype
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Thu, May 30, 2013 at 3:28 PM, Walter Lee Davis wa...@wdstudio.comwrote:
I
var cont=$('div');
var t=new Element('table',{'width':'200px'});
var tr=new Element('tr');
var td=new Element('td').update('hello');
tr.insert(td)
t.insert(tr);
cont.insert(t);
/script
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Sat, May 11, 2013 at 10:36 AM, Александр
with the changes I've suggested
http://jsfiddle.net/nB8PC/3/
take a look and see if that works for you
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Tue, May 7, 2013 at 4:30 AM, ayson...@gmail.com wrote:
I have created two divs. One is for draggable objects. Another for the
area
to be pointing to jQuery - all you need to to is replace the $()
with jQuery() and then it should work
Let me know if you need anymore help
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Sun, May 5, 2013 at 3:37 PM, Erik Sjaastad spudlo...@gmail.com wrote:
Hi!
Very happy to have found
)//but I'm not sure how Sizzle will
handle the bracket in the name
or
$(input[name^='kitcat']:checked) //this is probably more safe but it
will match more elements as it gets all elements that have a name attribute
that starts with kitcat (starts with is ^= instead of =)
Jason Westbrook | T
= $$(elmName).any(function(n) {
return n.checked;
});
anychecked will be true or false
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Mon, Apr 1, 2013 at 10:49 AM, Phil Petree phil.pet...@gmail.com wrote:
// this works with names that contain spaces and arrays
Try adding a separate class to all of your checkboxes that are in the group
and then do this
if( $$('.groupchecks:checked').length == 0 )
{
//no checked checkboxes
{
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Sun, Mar 31, 2013 at 8:30 AM, Phil Petree phil.pet...@gmail.com
I usually home brew one that looks for the required class and then adds
an error class to that element and then at the end of the function test
if there are 0 elements with the error class
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Tue, Mar 26, 2013 at 9:33 AM, Phil Petree
Sorry then I misunderstood where the CSS was being applied - yes the radio
input does get the pseudo class but not the parent elements
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Thu, Mar 21, 2013 at 11:40 AM, Walter Lee Davis wa...@wdstudio.comwrote:
Really? Can you show
the handler
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Fri, Mar 15, 2013 at 4:38 AM, Maciej Zaleski mzjadame...@gmail.comwrote:
Ok, seems to be fixed in about 80%.
I added line ondblclick = javascript:location.reload() to my div,
and every time user
Hey Walter - I don't think that Miguel is using Scriptaculous Autocomplete,
as I can't find the code snippet in the emails - plus I use
Scriptaculous Autocomplete
with some of my production sites with latest PrototypeJS
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Thu, Mar 14
loading it twice will give you problems
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Thu, Mar 14, 2013 at 9:28 AM, Walter Lee Davis wa...@wdstudio.comwrote:
On Mar 14, 2013, at 7:58 AM, Gretsch wrote:
My code used to work, but now the .morph no longer works - in the chrome
Are you set against using the Autocomplete in Script.aculo.us?
http://madrobby.github.com/scriptaculous/ajax-autocompleter/
It works with the latest PrototypeJS and Script.aculo.us is probably
already loaded on your site if you are using any of the effects
Jason Westbrook | T: 313-799-3770
://github.com/sstephenson/prototype/pull/97
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Wed, Mar 6, 2013 at 9:54 AM, Phil Petree phil.pet...@gmail.com wrote:
Not sure what you're expecting but under ie 9, neither worked for me...
not even in compatibility mode.
On Wed, Mar 6, 2013
you tried to use
http://api.prototypejs.org/dom/Element/prototype/getLayout/ ?
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Fri, Mar 1, 2013 at 4:42 PM, Walter Lee Davis wa...@wdstudio.com wrote:
Try this example in Safari, Chrome, and Firefox, latest versions. Please
let me
need one
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Mon, Feb 25, 2013 at 7:29 AM, Jeff Hight j...@jeffhight.com wrote:
Could someone shoot me a quick example of how to limit the number of
draggables a droppable can contain to just one?
Thanks!
jH
--
You received
fired - but if the interval is fired again while the ajax
request is still running you get stacked requests or a race condition. So
instead PeriodicalExecuter will prevent that from happening and handle the
interval firing
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Sun, Feb 17
Try this
http://stackoverflow.com/questions/623047/how-to-detect-render-mode-of-browser-for-current-page
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Wed, Feb 6, 2013 at 7:50 AM, kstubs kst...@gmail.com wrote:
When I do this:
document.viewport.getDimensions()
I get 0
No problem - I have a grid of inplaceeditor's running about 60 instances on
one page so it took a few trys to make it work like I needed
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Mon, Jan 28, 2013 at 6:28 AM, Phil Petree phil.pet...@gmail.com wrote:
Jason,
ended up
-duplicates-on-update/14313622#14313622
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Sun, Jan 27, 2013 at 3:24 PM, Phil Petree phil.pet...@gmail.com wrote:
Thanks Walter.
I tried that already and found the editor to be essentially disabled (you
could click but not get the form
Instead of running each() on each element to run the Effect take a look a
Effect.multiple()
http://madrobby.github.com/scriptaculous/effect-multiple/
it will do the heavy lifting for you and makes the code more readable
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Wed, Jan 23
Hey all
If you use Dash on OSX - there is a PrototypeJS docset available now
Dash 1.7.7 is live on the Mac App Store. Comes with @LaunchBar integration
and a @PrototypeJS documentation set https://t.co/XuY3HolE
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
--
You received
In the latest DEV version hosted on github you can remove the X-* HTTP
headers that PrototypeJS puts into the AJAX requests that make the CORS
pre-flight requests fail.
Check out this pull request
https://github.com/sstephenson/prototype/pull/88
Jason Westbrook | T: 313-799-3770 | jwestbr
did you also set the headers in the Ajax.Request object to null
ie
new Ajax.Request('/your/url',{ 'requestHeaders' : { 'X-Requested-With' :
null, 'X-Prototype-Version' : null}});
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Wed, Jan 16, 2013 at 5:42 PM, Dave Lazar hunkyb
file_get_contents(php://input);
to get the contents of the file
and the filename will be $_GET['filename']
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Wed, Jan 9, 2013 at 12:27 PM, fntzr fantaz...@gmail.com wrote:
It not possible, use Flash Uploader for it, for example
http
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Wed, Jan 9, 2013 at 12:55 PM, Walter Lee Davis wa...@wdstudio.comwrote:
On Jan 9, 2013, at 3:45 PM, Jason Westbrook wrote:
It is possible but you have to realize it will only work on browsers
that have the FileAPI available
it out
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Sat, Jan 5, 2013 at 11:20 AM, Alan Owen hermonscho...@gmail.com wrote:
Hi!
I apologize if i'm vague in my message as I'm not really a programmer. I
am running a website at http://www.mariyalivchikova.com . The page here
I was able to dig this one out of archive.org and I rewrote it a bit -
added a jsfiddle so that people can play with it etc
https://github.com/jwestbrook/Prototype.3DImageReflection
Just look at all of my github repos - they are all PrototypeJS libraries
Jason Westbrook | T: 313-799-3770
that is returned and do the
specified method on those items
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Sun, Dec 16, 2012 at 9:45 AM, Laurent Barre houpde...@gmail.com wrote:
Hi,
I have :
nav id=navigation role=navigation
ul id=menu role=menubar
li title=Hello World
This might help
http://www.w3schools.com/jsref/event_ctrlkey.asp
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Thu, Dec 13, 2012 at 11:43 AM, kstubs kst...@gmail.com wrote:
Does anyone know how to disable or stop and bound keyup event method when
the CTRL key is depressed
Also its a great way to show that prototypejs has an active community and
members that are willing to help coders that are new to prototype
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Fri, Dec 14, 2012 at 9:55 AM, Joseph Spandrusyszyn
illand...@illandril.net wrote:
You can
of this is what I meant
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Fri, Dec 14, 2012 at 1:10 PM, kstubs kst...@gmail.com wrote:
I have this
$('logins').select('li[class=\'' + group + '\']').invoke('show');
This seems to be matching on an exact class name though, but I have
make sense
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Sun, Dec 9, 2012 at 3:40 PM, Laurent Barre houpde...@gmail.com wrote:
Hi,
I have a function :
request:function (object) {
var chaine = var param = {;
for (var i = 0; i object.param.length; i
I'm actually planning on taking whatever is still available on scripteka
and rehosting it on github so that others can find it, see examples of it
working, post issues and comment on the scripts
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Sat, Dec 1, 2012 at 7:21 AM, kstubs kst
Hey all can someone get a message to the devs that prototypejs.org is down
- the API is still up though
Thanks!
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To view this discussion on the web visit
$('test').insert(a); // will try and add that content as the content of
that input (which you don't want)
$('test').insert({after:a}); //will insert that content AFTER the
specified element
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Fri, Nov 9, 2012 at 3:15 PM, Laurent Barre
Can you provide a code snippet, jsfiddle or a publicy viewable page?
also make sure that the CSS is not setting the display:none on that element
as Prototype/Scriptaculous will not override the display style
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Tue, Nov 6, 2012 at 11:39
If $(id) returns null (like in this instance) then the id does not exist
on the page
This might be handled better using a class on each of the panels and simply
holding which is the open/minimized index that way you don't have to worry
about what ids exist
Jason Westbrook | T: 313-799-3770
(system+t,U);
}
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Mon, Oct 15, 2012 at 4:32 PM, Peter Sysko petersy...@gmail.com wrote:
Thanks for the suggestion, Jason. Most people don't run into this problem
because they do not deal with dynamically assigned div ids from javascript
to be clear - the example I put is not a javascript array but a Prototype
Hash
you should be able to do the same thing with a javascript array though
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Mon, Oct 15, 2012 at 5:25 PM, Peter Sysko petersy...@gmail.com wrote:
whoa i had
my interpretation of the documentation is as follows
if that is inside a class then you might have to use bind to make sure that
this still refers to your class instance - vs this would refer to the
element the event was fired on
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
nth-child doesnt work in Internet Explorer CSS - can Prototype correctly
decode that in IE?
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Mon, Sep 24, 2012 at 9:55 AM, Victor vkhomyac...@gmail.com wrote:
$(#table-id td:nth-child(2))
will select 2nd cells in all rows of table
You could probably also use
$$('td .yui-dt-liner div[id^=yui-gen]')[2].setStyle('width:122px');
for individual calls - but if you are going through multiple elements I
would use each as Walter described
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Sun, Sep 23, 2012 at 3:19 PM
I agree that some code is not always written like that - but I've had many
instances where a javascript block would work in modern standards compliant
browsers yet fail silently in IE until I put quotes in, single or double.
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Thu, Aug
Hi All
If you haven't noticed, the Prototype dev(s) have just released an update
to 1.7.1
more details on the blog
http://prototypejs.org/2012/8/8/prototype-1-7-1
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
--
You received this message because you are subscribed to the Google
Internet explorer doesn't like object definitions without quotes around the
names
if(typeof Element.store == 'undefined'){
Element.addMethods({
store: function(elm, k, v){
elm[k] = v;
},
retrieve: function(elm, k){
return (elm[k]);
}
});
}
Jason Westbrook | T
that it would work - let me know if
this makes sense
http://jsfiddle.net/FPBkA/
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Fri, Jul 27, 2012 at 7:46 AM, Phil Petree phil.pet...@gmail.com wrote:
then perhaps we're not understanding what you mean by passed
normal process
Phil
setting the content of an element via the innerHTML property was deprecated
for the $(elmentid).update(content) function. Or by using
the $(elmentid).insert(content) function if appropriate.
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Fri, Jul 27, 2012 at 1:19 PM, Phil
can you either post the HTML that you are using or post the url where it is
located publicly?
you can simplify your javascript this way
$$('td a.delete').each(function(s){
s.observe('click', confirmDelete);
} );
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Wed, Jul 11
I don't see any problems with the HTML elements
and to answer your question the observe method identifies the function as
the handler and passes the event object to the handler
and you can get the javascript to one line if you want
$$(td a.delete).invoke(observe,click,confirmDelete);
Jason
Honestly I'm not exactly sure
there is a possibility that the observe method was calling confirmDelete
instead of just tagging it as the event handler
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Wed, Jul 11, 2012 at 12:06 PM, thinsoldier
thinsold...@thinsoldier.comwrote
,afterUpdateElement:foo2 });
foo2 is passed the DOM element that Autocompleter is tied to, in this
instance field1
so if you change foo2
function foo2(field) {
var val=field.value;
alert(val);// 'jason'
}
it will alert the desired value - let me know if you have any questions
FWIW there are still plenty of users that are still using Prototype
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Thu, Jun 14, 2012 at 1:04 PM, JJD johnjdev...@gmail.com wrote:
Whoops. Sorry to waste your time...
The error was in the onDrop callback
Hi Suresh
you can unsubscribe at any time by sending an email to
prototype-scriptaculous-unsubscr...@googlegroups.com
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Mon, Jun 4, 2012 at 5:53 PM, suresh V R sur...@gmail.com wrote:
Hi,
Please remove me from your mailing list
of elements with that classname in the
entire DOM
if you need to select all elements that are children of a certain node
$(element).select(.classname) will do that
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Fri, Jun 8, 2012 at 12:51 AM, nbezzala nbezz...@gmail.com wrote:
I am
will not work with IE - works in Firefox/Chrome/Safari
though
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Wed, May 16, 2012 at 11:48 AM, Marty Amberg mar...@edenstreet.comwrote:
Thanks Jason
Will give it a shot. A example would be great,
On 5/13/2012 12:32 AM, Jason wrote
Agreed - unless you want to maintain them yourself - linking to the google
version of the files will ensure they are always the latest version and you
could benefit from other site already caching the files on the user's
browser
-Jason
On Tuesday, May 15, 2012 5:42:37 AM UTC-7, ppetree
I would love to do this
On Friday, May 11, 2012 8:09:35 AM UTC-7, T.J. Crowder wrote:
Hi all,
I almost never read this group anymore. When I do, there are usually a
couple of messages from new members waiting to be allowed through. (I'm a
moderator of the group.)
Seems like the group
the IE problem chromeframe is a good solution as well
I can post an example if you need
Jason
On Sunday, April 22, 2012 4:54:45 PM UTC-7, nottobefound wrote:
Hi all,
Quick question.
I been trying to get a file to upload to a server via a form ( works
great in straight html calling a php
I have the following piece of code being automatically created by a
Ruby on Rails function call. It works great in Firefox and Chrome, as
well as IE8, but does not work in IE9.
form
action=/cms/quiz_questions/auto_populate
id=auto_pop_questions_form
method=post
onsubmit=new Ajax.Updater(
You are mixing HTML (the script tag) and javascript (the rest)
however using a dynamic scripting language like PHP this would be
doable
ie
jQuery.noConflict();
(function($) {
?php
include 'include_my_jquery_code';
?
})(jQuery);
this is messy and I never like putting php tags in the middle of
I actually user logic to solve your problem
if($('someid') != undefined)
{
$('someid').hide() // or whatever you plan to do
}
this cuts down on a function call of invoke and the CSS parser looking
for a CSS selector that matches
On Aug 30, 1:40 pm, Walter Lee Davis wa...@wdstudio.com
Eric - that is smoother, I'll update my scripts to run it that way
thanks!
On Aug 22, 5:01 am, Eric lefauv...@gmail.com wrote:
Jason,
Why do you copy the return array into an other one before using it?
(and why rewriting code already available as native PHP functions?)
This should do
I would use a small PHP script (assuming the first line is the field
names)
$fields = array();
$data = array();
$fh = fopen($filename);
$line = fgetcsv($fh);
foreach($line as $n)
{
$fields[] = $n;
}
while($line = fgetcsv($fh) !== false)
{
foreach($line as $key = $n)
{
$data[$fields[$key]][] =
related to the page's topic. Good comments could be incorporated into
the docs. It's a low-commitment way to encourage contributions (w/o
the need for git, patches, etc.)
TAG
On Jul 21, 9:42 pm, Walter Lee Davis wa...@wdstudio.com wrote:
On Jul 21, 2011, at 8:32 PM, Jason wrote:
I
I agree with both Richard and Sander - and there might be a middle
ground
I think that community comments, examples etc are a good addition to
documentation and help users that are starting out - it would also
give the new user a sense there was someplace to go for help. There
has been many
Hello all
I just wanted to share an experience I had with Effects and Google
Maps API
environment
- Firefox 4
- Google Maps API v3
- latest Script.aculo.us Effects SlideDown (and Slide Toggle())
when the hidden div that was being SlidDown to show, the google map
below it was getting
Also make sure you exit; after the print json_ecode() so there is not
additional output that will corrupt your JSON string
Jason
On Jun 6, 6:15 am, Eric lefauv...@gmail.com wrote:
Hello,
This is a little out of topic, but here are few hints:
The easiest way to do that is to build a PHP array
I also agree with TJ as I started developing before utility JS
libraries started becoming useful and had to manually code all my AJAX
requests (30-40 lines down to one - :-))
but because I had to code those requests manually I understand what
Ajax.Request is doing under the hood and it allows me
I agree and would like to see Prototype start returning to the
forefront as the powerful JS library it is
On Mar 14, 10:53 am, Walter Lee Davis wa...@wdstudio.com wrote:
Sorry for the rant, but I came to Prototype by way of early
exploration with Rails. I found Prototype approachable and
, though. That's the part I'm having trouble with.
I've done some googling, but I guess I'm not hitting the correct keywords. Can
someone please assist?
Thanks,
- ---
Jason 'XenoPhage' Frisvold
xenoph...@godshell.com
- ---
Any sufficiently advanced
Hello,
I am modifying this: http://cpicker.com/
I have made good progress, everything is working great. I now need to
make one last modification.
I think I need to do something like this but I am new to prototype and
don't really get it.
$(document.body).descendants().observe('click',
. Crowder
Independent Software Engineer
tj / crowder software / com
www / crowder software / com
On Sep 20, 11:47 am, Jason jasonstanle...@gmail.com wrote:
Hello,
I am modifying this:http://cpicker.com/
I have made good progress, everything is working great. I now need to
make one
if it's not there.
Which would, I suppose, extend the framework to be even more generic.. Hrm..
Presumably this is just a simple subroutine call? Not much of a performance
hit, is it?
FWIW,
--
T.J. Crowder
- ---
Jason 'XenoPhage' Frisvold
xenoph...@godshell.com
way to pass that
information back to the ajax application? Is it ok to use a custom 4xx
error? Or should I be using JSON or XML to handle this?
Thanks!
- --
- ---
Jason 'XenoPhage' Frisvold
xenoph...@godshell.com
- ---
Any sufficiently advanced
page refreshes with the die results in the proper div. Under IE
8, the browser simply stares at me like I have three eyes and does
nothing at all.
Real-life example here:
http://www.infinitemonkeysgames.com/campaign_manager/dice.cgim
Can anyone lend a hand?
-- Jason
--
You received
many draggables
and many droppables (determined at run time).
Thanks,
Jason
On Nov 19, 5:32 pm, Alex McAuley webmas...@thecarmarketplace.com
wrote:
If i recall correctly there is an onDrop function that you can call when
initialising the droppable...
So what i would do is ondrop count
I fixed the issue. The trick is to set the html body element as a
droppable.
Droppables.add('body',{accept:'dragme',onDrop:dropBody});
function dropBody(dragged, dropped, event)
{
dropped.appendChild(dragged);
}
And add the ID to the body tag:
body id=body
On Nov 18, 12:27 pm, Jason
1 - 100 of 165 matches
Mail list logo