Posts by Skramewell • 59 points
9 posts
-
1
votes3
answers3976
viewsA: Align Text vertically with Bootstrap without fixed height
Vertical alignment: .parent { position: relative; } .child { position: absolute; top: 50%; transform: translateY(-50%); } Vertical and horizontal alignment: .parent { position: relative; } .child {…
-
1
votes2
answers691
viewsA: Open calendar from a link
(function() { if (window.addtocalendar) if (typeof window.addtocalendar.start == "function") return; if (window.ifaddtocalendar == undefined) { window.ifaddtocalendar = 1; var d = document, s =…
-
0
votes2
answers508
viewsA: How to save several radiobuttons in Mysql database?
Well, I’m not sure I understand your question yet here it goes.. You can for example in the "value" of each "radio", put 0 or 1, and consider 0 as no and 1 as yes. From there it is playing with…
-
-2
votes2
answers66
viewsQ: What is the best way to create a cross-platform game?
Good, I wanted to know the best way to create a cross-platform game (iOS, Android, ...). I’ve already researched the subject and fixed the Cocos2d-x, what do you think about this framework?…
-
1
votes2
answers862
viewsA: Change the color of the panel by hovering the mouse
You can change with css using Hover in the panel-Danger ex class: .panel-danger:hover { background: cor; } Or change the class in jQuery with the mouseover ex:…
-
-2
votes3
answers123
viewsA: check a string with php
Experiment with the strpos. if (strpos($mystring, ".") !== false) { //código }
phpanswered Skramewell 59 -
1
votes3
answers170
viewsA: Why use layout before loading information?
When a web application has to load a lot of information, it is best to present the user with a screen like this and load the data "underneath" instead of a simple blank page with no information. It…
-
0
votes3
answers3209
viewsA: Chart JS - hide caption
Remove the caption Chart.defaults.global.legend.display = false; Remove the Tooltip Chart.defaults.global.tooltips.enabled = false; Source:…
-
1
votes2
answers1596
viewsA: Get cursor position with jquery
I hope it helps: PS: Executes the code and moves the mouse in the gray area of execution. $( document ).on( "mousemove", function( event ) { $( "#log" ).text( "pageX: " + event.pageX + ", pageY: " +…