BYK
04-21-2008, 05:51 PM
Hello again everyone :)
And I cannot think of another easy and unobtrusive way of implementing it but any idea is welcomed.
I have found a much more easier and an unobtrusive way! :D
I'll cut this short,
The demo is located at http://amplio-vita.net/JSLib/demos/quickEdit_3/final.htm
a quick tutorial can be found at http://code.google.com/p/av-jslib/wiki/aVquickEditTutorial
You can change anything in the demo as you can see. But they are not recorded and for the image change, whatever you send, it shows another image always which is again for security concerns of the public demo.
If you take a look at the source code, you can see the '<style type="text/quickEdit">' section which is used to define editable elements and their editability properties. As you can see it is a harmony of CSS selector syntax and the Javascript's JSON format.
Please have a look at the demo, if you have time download it with the JS files
and play around with it and PLEASE do comment on it :)
Thanks for your attention.
BTW, you can download all the files zipped from
http://amplio-vita.net/zip/JSLib/js for JS files and
http://amplio-vita.net/zip/JSLib/demos/quickEdit_3 for the demo.
Note: The '<style type="text/quickEdit">' system is not the only way. You may use an external file (http://amplio-vita.net/JSLib/demos/quickEdit_2) or you can use an inline syntax (http://amplio-vita.net/JSLib/demos/quickEdit).
And I cannot think of another easy and unobtrusive way of implementing it but any idea is welcomed.
I have found a much more easier and an unobtrusive way! :D
I'll cut this short,
The demo is located at http://amplio-vita.net/JSLib/demos/quickEdit_3/final.htm
a quick tutorial can be found at http://code.google.com/p/av-jslib/wiki/aVquickEditTutorial
You can change anything in the demo as you can see. But they are not recorded and for the image change, whatever you send, it shows another image always which is again for security concerns of the public demo.
If you take a look at the source code, you can see the '<style type="text/quickEdit">' section which is used to define editable elements and their editability properties. As you can see it is a harmony of CSS selector syntax and the Javascript's JSON format.
Please have a look at the demo, if you have time download it with the JS files
and play around with it and PLEASE do comment on it :)
Thanks for your attention.
BTW, you can download all the files zipped from
http://amplio-vita.net/zip/JSLib/js for JS files and
http://amplio-vita.net/zip/JSLib/demos/quickEdit_3 for the demo.
Note: The '<style type="text/quickEdit">' system is not the only way. You may use an external file (http://amplio-vita.net/JSLib/demos/quickEdit_2) or you can use an inline syntax (http://amplio-vita.net/JSLib/demos/quickEdit).