<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Le 07/03/2011 15:47, Nicolas Limare a écrit :
<blockquote cite="mid:20110307144741.GC19904@nashi.hw.39mm.net"
type="cite">
<blockquote type="cite">
<pre wrap="">Please try the demo on my webpage
<a class="moz-txt-link-freetext" href="http://www.math.ucla.edu/~getreuer/jqslider.html">http://www.math.ucla.edu/~getreuer/jqslider.html</a>
</pre>
</blockquote>
<pre wrap="">
Thanks for your efforts Pascal, these sliders are very nice. Did you
need to spend a lot of time to study and understand Jquery?
</pre>
<blockquote type="cite">
<pre wrap="">The advantage of the JQueryUI version is that the slider has more
features (like keyboard support), a well-developed JavaScript
interface that facilitates more readable code, and the library is
maintained by the web experts. I much prefer the JQueryUI version
over my previous implementation.
</pre>
</blockquote>
<pre wrap="">
Can I conclude that you recommend Jquery for the JavaScript parts of
IPOL? Who on the list has some JavaScript experience (I don't) and can
confirm this?
@Soufiane: Which JavaScipt framework did you use for the PLATO project?
</pre>
</blockquote>
For PLATO project, I use <b>Prototype </b>framework
(<a class="moz-txt-link-freetext" href="http://www.prototypejs.org/">http://www.prototypejs.org/</a>).<br>
But, I recommand also JQuery for IPOL. <br>
<br>
S.R.<br>
<br>
<blockquote cite="mid:20110307144741.GC19904@nashi.hw.39mm.net"
type="cite">
<pre wrap="">@Agustin: Do you think you could have a look at Jquery when implementing
the lens distortion and snakes demos?
</pre>
<blockquote type="cite">
<pre wrap="">If there is anything to complain about, the JQuery+JQueryUI libraries
are rather hefty (82 KB), which is enough to affect page load speed
[2]. My previous and very minimal implementation is much smaller (4
KB). Then again, we are probably also loading ~100 KB in images on
the demo page anyway, so it seems this point doesn't matter so much
here.
</pre>
</blockquote>
<pre wrap="">
And the libraries are only downloaded once and kept in the browser
cache for all the subsequent uses, so this load speed shouldn't be a
big problem. Moreover, the downloaded library can (and hopefully will)
be used for much more than sliders, it's quite like comparing apples
and oranges.
About the implementation:
1. Is it possible to write this part of the code in the document <body>?
$(document).ready(function() {
createLinkedSlider('#value1', '#slider1', 1, 8, 0.1);
createLinkedSlider('#value2', '#slider2', 0, 1, 0.01);
});
2. To use such sliders in IPOL, we will probably need to modify the
templates because for the moments one can only customize the HTML body
from the app/xxx/template/ folders. I think we should
* provide a way to customize the HTML head links to include references
to the 3 external files of the library when a demo needs it
* for the moment, include our custom javascript functions (such as
your createLinkedSlider()) in the document header, just as you did
on <a class="moz-txt-link-freetext" href="http://www.math.ucla.edu/~getreuer/jqslider.html">http://www.math.ucla.edu/~getreuer/jqslider.html</a>
* when a function is used by more than one demo, include it in a
jquery-ipol.js file available to all demos and included together
like the 3 jquery files
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:discuss@list.ipol.im">discuss@list.ipol.im</a>
<a class="moz-txt-link-freetext" href="http://tools.ipol.im/mailman/listinfo/discuss">http://tools.ipol.im/mailman/listinfo/discuss</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
--------------------------
Research engineer
<a class="moz-txt-link-abbreviated" href="http://www.tsi.enst.fr/~rital">www.tsi.enst.fr/~rital</a>
--------------------------------------
TELECOM ParisTech - TSI department
46 rue Barrault - 75013 Paris - France
+33 1 45 81 70 73 (temporairement)
--------------------------------------
CONFIDENTIALITY NOTICE: This e-mail communication and any attachments
may contain proprietary and privileged information for the use of the
designated recipients named above. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message. </pre>
</body>
</html>