Posts by Boni • 170 points
6 posts
-
1
votes2
answers816
viewsA: Turn vertical gallery to horizontal
Just set the width of the #gallery to 1280px (320px each image x 4 images) and set the height to be the same as the images when they are in :Hover. #gallery { padding:0; margin:0;…
-
0
votes1
answer796
viewsQ: Show a <select> by clicking on a particular <option>
I am inexperienced in javascript, and would like a help in this case: I have two selects in my document: <select id="estado"> <option value="MG">MG</option> <option…
javascriptasked Boni 170 -
3
votes2
answers1400
viewsA: Adjust horizontal and vertical orientation on Bootstrap
No need to mecher in css, just remove the class col-Xs-4 that refers to "Extra Small Devices", and so the Divs stay in rows and not in columns on devices smaller than 768px. Here comes the edited…
-
2
votes1
answer246
viewsQ: In a Wordpress gallery, use the Alt attribute of the images as html comment
I’m developing a Wordpress theme and I’m having a problem. In my functions.php, I use the following code that changes the composition of [gallery] and so I can customize the gallery of posts. The…
-
2
votes1
answer295
viewsA: Div with superior z-index cancels another div with lower z-indez
I don’t know if I understand it very well, but I believe you can use this css: .button-click{ Pointer-Events: auto; } "button-click" would be the button class. *EDIT I made some changes to your…
-
7
votes1
answer9060
viewsQ: How to take the height of the div, leasing it to the nearest multiple of 24 and apply the result in the style="height" of the div itself?
I need a script that does just that: get the height of the div, round it to the nearest multiple of 24 and apply the result in the style="height" of own div. It needs to be pure Javascript, no…
javascriptasked Boni 170