Hi Torsten, Sven, Esteban

as some of the examples are not working for me like "collapse" "dropdown"

I came across this in the
https://getbootstrap.com/docs/5.0/getting-started/introduction/

Ques: Is the script indicated below required and there else how to add it
in the SBSExample ?

"Many of our components require the use of JavaScript to function.
Specifically, they require our own JavaScript plugins and Popper. Place one
of the following <script>s near the end of your pages, right before the
closing </body> tag, to enable them.
...
Components requiring JavaScript

   - Alerts for dismissing
   - Buttons for toggling states and checkbox/radio functionality
   - Carousel for all slide behaviors, controls, and indicators
   - Collapse for toggling visibility of content
   - Dropdowns for displaying and positioning (also requires Popper)
   - Modals for displaying, positioning, and scroll behavior
   - Navbar for extending our Collapse plugin to implement responsive
   behavior
   - Toasts for displaying and dismissing
   - Tooltips and popovers for displaying and positioning (also requires
   Popper)
   - Scrollspy for scroll behavior and navigation updates

...
<script src="
https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js";
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
"

Regards
Sanjay



On Fri, 30 Jul 2021 at 19:08, Sanjay Minni <s...@planage.com> wrote:

> Thanks Esteban
>
> I was looking at BS5 and am starting from scratch ... nearly
> I am trying to understand why the examples like "Collapse" "Dropdown" are
> not working or how can i get them to work.
> then I can try building further
>
> with warm regards
> Sanjay Minni
> +91-9900-902902
>
>
>
> On Fri, 30 Jul 2021 at 19:02, Esteban Maringolo <emaring...@gmail.com>
> wrote:
>
>> Hi Sanjay,
>>
>> Have you looked at the differences between BS4 and BS5?
>>
>> Among the main differences are:
>> - removes jQuery as a dependency and uses vanilla JS instead.
>> - replaces default looking form elements by styled ones
>>
>> If you're starting from scratch it might be worth trying it, and maybe
>> fix whatever glitch there is, otherwise BS4 is pretty stable and suits
>> most needs.
>>
>> Regards!
>>
>> Esteban A. Maringolo
>>
>> On Fri, Jul 30, 2021 at 10:17 AM Sanjay Minni <s...@planage.com> wrote:
>> >
>> > Hi Torsen
>> >
>> > some of the examples seem to be not working, probably same for BS4, BS3
>> > for instance
>> > - Collapse
>> > - dropdowns
>> >
>> > Does Javascript have to be also loaded,
>> > I tried to add "aRoot javascript url: '
>> https://code.jquery.com/jquery-3.6.0.min.js'.  per your other post but
>> still couldn't get it to work.
>> > How can I make it work ?
>> >
>> > thanks
>> > Sanjay
>> >
>> >
>> >
>> > On Fri, 30 Jul 2021 at 17:53, Sven Van Caekenberghe <s...@stfx.eu>
>> wrote:
>> >>
>> >> Hi Torsten,
>> >>
>> >> Great, thanks for doing the Bootstrap series, it has been very useful
>> for me/us, we use it in several production web apps. We're still on 3
>> though ;-)
>> >>
>> >> Sven
>> >>
>> >> > On 30 Jul 2021, at 09:24, Torsten Bergmann <asta...@gmx.de> wrote:
>> >> >
>> >> > Hi,
>> >> >
>> >> > after some of you are using
>> https://github.com/astares/Seaside-Bootstrap4
>> >> > I wanted to let you know that I just published the new / updated
>> project to
>> >> > support for Bootstrap 5 web development (https://getbootstrap.com)
>> in Seaside
>> >> > using Pharo.
>> >> >
>> >> > Project location is on GitHub:
>> >> >
>> >> >    https://github.com/astares/Seaside-Bootstrap5
>> >> >
>> >> > It might not be fully complete by 100% with all new possibilities of
>> BS5 - but
>> >> > it is usable and tests are green in Pharo 8 and Pharo 9. Examples
>> are included,
>> >> > just follow the instructions on the Github page.
>> >> >
>> >> > Feel free to send contributions via PR's.
>> >> >
>> >> > Have fun!
>> >> > T.
>>
>

Reply via email to