Posts by Danylo Santoro • 84 points
5 posts
-
0
votes2
answers729
viewsA: How to invoke methods directly in jQuery’s HTML elements?
Use $('seu seletor').click(function(){ meuMetodo(); });
jqueryanswered Danylo Santoro 84 -
-2
votes3
answers341
viewsA: CSS condition for when you don’t have SRC in the image
Puts a None display on ALL your imgs and display block on those that have src: img[src] { display: block; }
-
0
votes3
answers2739
viewsA: Maintain the Hover effect when clicking on the link (active)
Puts any class on the body of your page, a data-menu in the li of your menu and makes a Javascript similar to this: $(suaUlDoMenu). each(Function(){ var menu = $(this). date('menu');…
-
-1
votes2
answers182
viewsA: Full screen images
Use jQuery to scroll through your UL and dynamically assign a width of the size of your view port in the times the amount of images on your slider. I won’t put the code, the logic is very simple, I…
-
5
votes1
answer1604
viewsA: How to do "position: Fixed;" on top of everything?
Put a z-index on it, larger than any of its z-index elements.