Re: [web2py] Re: jQuery not working with web2py

2020-04-02 Thread Maurice Waka
Thanks team. Take care Regards On Thu, Apr 2, 2020, 19:59 Maurice Waka wrote: > My biggest apology. > > I edited a wrong html file (the one outside web2py) by removing the > {{extend 'layout.html'}} > > So with the right file edited, it now works. > > But I also need the top navbar > > Kind

Re: [web2py] Re: jQuery not working with web2py

2020-04-02 Thread Lovedie JC
Yes Thanks a lot Regards On Thu, Apr 2, 2020, 20:49 Jim Steil wrote: > Whoops, I read the wrong post. > > So, if you need the top navbar, then you'll need to rework this html > file. If you notice how the include works, your respecifying the html, > head and body tags in your new html file. Th

Re: [web2py] Re: jQuery not working with web2py

2020-04-02 Thread Jim Steil
Whoops, I read the wrong post. So, if you need the top navbar, then you'll need to rework this html file. If you notice how the include works, your respecifying the html, head and body tags in your new html file. They're already specified in your layout.html. If it were me, I'd put the jquery in

Re: [web2py] Re: jQuery not working with web2py

2020-04-02 Thread Jim Steil
Same effects, yes, but what error messages are you seeing in the console? -Jim On Thu, Apr 2, 2020 at 9:55 AM Lovedie JC wrote: > I did that, without the layout.html but still getting the same effects. > Regards > > On Thu, Apr 2, 2020, 17:42 Jim S wrote: > >> You are including layout.html at

Re: [web2py] Re: jQuery not working with web2py

2020-04-02 Thread Maurice Waka
My biggest apology. I edited a wrong html file (the one outside web2py) by removing the {{extend 'layout.html'}} So with the right file edited, it now works. But I also need the top navbar Kind regards On Thursday, April 2, 2020 at 6:07:11 PM UTC+3, Jim S wrote: > > What is your browser

Re: [web2py] Re: jQuery not working with web2py

2020-04-02 Thread Jim Steil
What is your browser console showing for errors? Can you post the entire .html file with no web2py requirements? -Jim On Thu, Apr 2, 2020 at 9:55 AM Lovedie JC wrote: > I did that, without the layout.html but still getting the same effects. > Regards > > On Thu, Apr 2, 2020, 17:42 Jim S wrote

Re: [web2py] Re: jQuery not working with web2py

2020-04-02 Thread Lovedie JC
I did that, without the layout.html but still getting the same effects. Regards On Thu, Apr 2, 2020, 17:42 Jim S wrote: > You are including layout.html at the top of your code snippet. > > I would suggest that you test this all by itself (remove the include of > layout.html) before trying to int

Re: [web2py] Re: jQuery not working with web2py

2020-04-02 Thread Jim S
You are including layout.html at the top of your code snippet. I would suggest that you test this all by itself (remove the include of layout.html) before trying to integrate with web2py. Create one html file with the code you need, get that working and then take what you learned there and pul

Re: [web2py] Re: jQuery not working with web2py

2020-04-01 Thread Maurice Waka
I don't have firefox but on opera & chrome it gives this: web2py-bootstrap3.js:2 Uncaught TypeError: Cannot set property 'ajax_fields' of undefined at web2py-bootstrap3.js:2 at web2py-bootstrap3.js:82 On Thursday, April 2, 2020 at 6:17:36 AM UTC+3, Jim S wrote: > > But have you looked at

Re: [web2py] Re: jQuery not working with web2py

2020-04-01 Thread Jim Steil
But have you looked at the browser JavaScript console to see what it is telling you? In Firefox press F12 and then click on the console tab. That will tell you what JavaScript errors are occurring in the browser. Jim On Wed, Apr 1, 2020, 9:35 PM Maurice Waka wrote: > On page reload it should

Re: [web2py] Re: jQuery not working with web2py

2020-04-01 Thread Maurice Waka
On page reload it should ; ... Slide to testimonials then after 3 seconds Slide to contact. In Web2py nothing happens. When I do it from the folder it works. Do the error is that it doesn't slide as normal Regards On Thu, Apr 2, 2020, 03:54 Jim S wrote: > What errors are you seeing in your

[web2py] Re: jQuery not working with web2py

2020-04-01 Thread Jim S
What errors are you seeing in your browser console? -Jim On Wednesday, April 1, 2020 at 4:56:07 PM UTC-5, Maurice Waka wrote: > > Any help on this? > I can't get the code to work with jQuery > > {{extend 'layout.html'}} > > > > > > > > > > > > > > > > /*QuickReset*/ > *{

[web2py] Re: jQuery not working with web2py

2020-04-01 Thread Maurice Waka
Any help on this? I can't get the code to work with jQuery {{extend 'layout.html'}} /*QuickReset*/ *{margin:0;box-sizing:border-box;} html,body{height:100%;font:14px/1.4 sans -serif;} article { height: 150vh; } WELCOME (wait 3 sec) ABOUT OUR WO