[Typo3-dev] AJAX in TYPO3: call for volunteers
Christian Welzel
gawain at camlann.de
Sat Dec 10 09:38:18 CET 2005
Sebastian Kurfuerst wrote:
> There are lots of AJAX frameworks around, some I noticed:
Another library worth to look at is
* http://script.aculo.us/
It not only implements AJAX functionality but also provides
many functions to implement a nice user interface (drag'n'drop,
highlighting, etc).
This is an example on how to implement a vertical list that
is sortable by drag and drop.
<script type="text/javascript" language="javascript">
// <![CDATA[
Sortable.create("list",
{ tag:'div',
overlap:'vertical',
constraint:'vertical',
handle:'handle',
onUpdate:function(){
new Ajax.Updater('status', '/admin/admin_portfolio_ajax.php', {
parameters: Sortable.serialize('list')+'&action=order',
asynchronous: true
})
}
});
// ]]>
</script>
Scriptaculous is very well documented and easy to use.
--
MfG, Christian Welzel
(Ex-Admin AG DSN Gerokstrasse)
GPG-Key: http://www.camlann.de/key.asc <-> ID: 70A1AD15
Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15
More information about the TYPO3-dev
mailing list