Posts by user31050 • 440 points
20 posts
-
1
votes1
answer103
viewsQ: How to create the mechanics and appearance of the zoom effect used in the Reveal.js framework?
Example: Zoom of the Reveal Goal: Study the mechanics and appearance of Zoom with the best algorithmic solutions. - Of the problem of appearance: 1 - When inspecting the tag < Section >…
-
0
votes2
answers366
viewsA: How to split an image (which can have different sizes) into 3 x 3 using javascript?
var tmpImg = new Image(); tmpImg.src = "https://upload.wikimedia.org/wikipedia/commons/thumb/a/aa/CitroenC-Metisse21.JPG/400px-CitroenC-Metisse21.JPG"; $(tmpImg).one('load', function() { widthImg =…
-
0
votes2
answers366
viewsQ: How to split an image (which can have different sizes) into 3 x 3 using javascript?
Criterion: - Split the original image into 9 Ivs (3 x 3) of equal size. - Each (one of the 9) div with the respective partial mirror image (of the original image) of its respective position.…
-
2
votes1
answer212
viewsA: How to invoke countdown every click on the button?
var slide = ["procurando_dory.jpg","big_buck_bunny.jpg","madagascar_2.jpg","monstros_sa_2.jpg"]; var i = 5; // Atribui o valor 5 a variável 'i' function clic()…
-
2
votes2
answers82
viewsA: Error showing and hiding a div with Jquery
It seems we missed the " : "between display and block. Try it this way: $("#cancel1").css('display':'block'); $("#cancel2").css('display':'block'); $("#cancel3").css('display':'block'); *Note that…
-
1
votes4
answers2194
viewsA: How to block the click on an input
I tested here and it worked, miss you test there, hug! https://jsfiddle.net/ccmq8eub/1/ $("#txtDataBlocked").focus(function(){ $("#txtDataBlocked").off("click"); $('#txtData').datepicker("hide");…
-
5
votes1
answer2694
viewsQ: How to detect collision between two squares/rectangles
Who provide an answer that explains all the necessary nuances for this in javascript will earn the points.
-
1
votes1
answer57
viewsQ: How to collect and insert gradient properties from one div to another div
There is this website CSS gradient generator. And there, as you can see, when we click on the little squares of choice with gradient it carries all the gradient properties to another larger div. I…
-
1
votes1
answer256
viewsQ: Left alignment with element collision detection
Alignment criteria: - Align left from element with lower value of 'left'. - Collision elements shall remain adjacent to the impacted element. In the example the algorithm searches for the leftmost…
-
2
votes1
answer43
viewsQ: How to make array2 have the same ratio between indexes after array1 shuffle
array1 = [1,2,3]; array2 = ["one","two","three"]; array1 and array2 have a direct relationship between the indices. Shuffled array1 -> array1 = [3,1,2]; How to make array2 have the same relation…
-
2
votes1
answer121
viewsQ: Mounting an html frame from a php array
The tables: Ciencias (ex: Mathematics, Biology, Chemistry). Areas (e.g.: Algebra I, Biochemistry, Botany, Chemical Bonding). Exercises (e.g.: Water, Algae, Bryophytes, Progressions, Chemical Bonds).…
-
0
votes2
answers283
viewsQ: How to launch/stop via jquery a css animation (which is being triggered by css Hover)
https://jsfiddle.net/x1mmgryw/2/ Follow the example above that I created, from a page animation driven by Hover css http://ianlunn.github.io/Hover/. But animation only works if the mouse is on top…
-
2
votes3
answers2476
viewsA: How to list json by separating key and value correctly
The solution to stay in the same order was to change the json so: [ {"id":"1","ciencia":"Administra\u00e7\u00e3o"}, {"id":"2","ciencia":"Agronomia"}, {"id":"3","ciencia":"Arquitetura e Urbanismo"},…
-
0
votes3
answers2476
viewsQ: How to list json by separating key and value correctly
I created this example to illustrate an attempted listing of JSON seeking to separate key and value: var meuArray = { "1": "Administra\u00e7\u00e3o", "2": "Agronomia", "3": "Arquitetura e…
-
2
votes1
answer37
viewsQ: Placing a form-inline within a panel-group and continuing all elements online
I am not able to align the "Collapsible Group Item #1" with the "form(s)" as can be seen in this example: https://jsfiddle.net/mzygnyb2/ I sought to put the 'in-line' class in some parts of the code…
-
1
votes1
answer34
viewsQ: Moving (drag) three Ivs at the same time and disabling with a checkbox
I’m using this code to move Ivs simultaneously: https://github.com/someshwara/MultiDraggable The logic: If checkbox is checked, use drag in group, otherwise use drag per unit'. But once unchecked…
-
2
votes1
answer434
viewsQ: Generating valid Php Array for json conversion
Explaining a bit of the purpose of the code: Through the sql query returns data, the only data needed is the 'id' and the name of the 'area', then two arrays are created, one to receive the 'id’s…
-
3
votes0
answers62
viewsQ: Local application(Pc) opening in ipad/iphone browser does not show checkbox
I have an application running normally with wamp on the computer, which uses html jquery css and php. But when opening by default IOS browser (safari) using ipad or iphone over local network, the…
-
5
votes2
answers536
viewsQ: Using Animate() jquery to animate the place change in a puzzle
https://fiddle.jshell.net/sLa0q4yh/ This example above is not yet fully functional, the logic of the puzzle is: 1 - Click on at least two Ivs (or 2 pieces of the puzzle) and so both Ivs would have…
-
2
votes1
answer48
viewsQ: How to break an image into pieces using javascript and place it in their respective Ivs
I would like to know how is made this separation of the image in smaller Ivs within the div itself following the example of this link: http://www.2meter3.de/jqPuzzle/demos/o1.html…