Dear Niphlod, Thanks SO MUCH for being a GREAT technical contributor to my FAVORITE web framework.
I have a suggestion for you regarding tone of the first part of your answer. In your answer to *fsp*, the first sentence could have been *profitably skipped*. I think that first sentence is discouraging to newcomers. I have, myself, been discouraged by some of the "first sentences" in your answers to my questions. I think that sentence is not in keeping with Massimo's "No question is a stupid question. No answer is detailed enough" in about web2py and this mailing list <https://groups.google.com/forum/#!topic/web2py/kdjXSyvUqKo>. Having said all that, I want to *thank you again for being a GREAT TECHNICAL CONTRIBUTOR* to web2py, and *encourage you to continue to answer the questions for everyone *on this group. Love and peace, Joe On Sunday, November 30, 2014 at 4:47:28 AM UTC-8, Niphlod wrote: > > use some javascript 101 course before digging into javascript. One issue > with your code is that you're not waiting the document to be ready before > calling the javascript bit. Use $(document).ready(function() {}) to wrap > any javascript in the page. > > On Friday, November 28, 2014 8:49:35 PM UTC+1, fsp wrote: >> >> Hy everyone. >> >> I'm working with web2py since one year. In most cases it's a fine and >> easy way to develop a nice working web app. >> >> Now i want to create a new web application in web 2.0 design. >> For this i want to use more bootstrap components >> >> i need to use the bootstrap slider >> http://seiyria.github.io/bootstrap-slider/ >> >> and the autocomplete extension >> https://twitter.github.io/typeahead.js/examples/ >> >> i've downloaded the java scripts and css files and placed them to the js >> and css directory. >> >> After this, i added >> <link href="{{=URL('static', 'css/bootstrap-slider.css')}}" rel= >> "stylesheet" type="text/css" /> >> <script src="{{=URL('static','js/bootstrap-slider.js')}}"></script> >> >> in my view html file. >> >> i also added a sample in my view file.. >> >> <input id="ex1" data-slider-id='ex1Slider' type="text" data-slider-min= >> "0" data-slider-max="20" data-slider-step="1" data-slider-value="14"/> >> >> >> <script> >> $('#ex1').slider({ >> formatter: function(value) { >> return 'Current value: ' + value; >> } >> }); >> >> >> </script> >> >> >> <style> >> #ex1Slider .slider-selection { >> background: #BABABA; >> } >> </style> >> >> But it does not work. >> Just a empty input filed is displayed.. >> >> I added a alter in the slider.js file. This works -> alter call is >> displayed. >> >> Can anybody help me?? >> >> Regards >> Florian >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.