Skip to content
Advertisement

Tag: jquery

Javascript: multi level menu slide on button click

Could you help me with this code? I would like to make a menu slide with multi level but the element “slide-panel” is not showing up… Answer I’m not a big fan of mixing pure javascript with jquery .. so the next code is in jquery .. Also I prefer to use add/remove/toggleClass instead of hide/show() Note: The problem when

Don’t preload video, but still show “thumbnail”

I’m trying to display many video thumbnails/posters without actually loading the video… Bascially what I’ve got is the following: That hole thing is in a foreach loop and with that, it loads up to 100 videos on one page… My problem now is that this gets super slow, the more videos there are load at once.. Now I found this

How to iterate over js elements

I have this java class: Objects of this class are in List: I am adding this element to the page and want to display the sum of the quantity parameters for the entire List. Similar Java code: I am trying to do this now, but my attempts fail because I don’t know much Js. The logic is as follows: there

Advertisement