Questions tagged as 'javascript'

1
answer

How to make collapsible divs open without the buttons of other divs going down?

I'm doing a portfolio gallery, based on Bootstrap so you're responsive. So I have a set of thumbnails that will correspond to a job that should be aligned: ClickingthemopensacollapsibleDIV.Iintendthatwhenthisdivopens,theotherthumbnailsonthesamel...
asked by 27.03.2014 / 23:32
1
answer

WebRTC JavaScript with Java / PHP server

Does anyone have any examples or documentation, how to create a WebRTC client (browser), using a Java or PHP server to make a handshake between them? I can not use node.js, and the documentation I find is getting some information from the nod...
asked by 10.03.2014 / 19:28
4
answers

Create infinite menu with PHP + CSS + JS

I have a menu (vertical) that works as an accordion, this in turn, needs to open the "children" unlimited (my problem is solved, and I can not), since it will be a menu for a store. p> As follows: -CATEGORIA PAI - CATEGORIA FILHO - CATEG...
asked by 28.02.2014 / 15:43
1
answer

Add item in a pie chart template Telerik

I'm developing a chart using Telerik. In the graphic I need to show in the template some relevant information, such as training, percentage and total. But I can only show two (training and percentage), which in the case Telerik comes by default,...
asked by 29.04.2015 / 16:52
1
answer

Add current page to browser bookmarks

The code below is working, but the technique is old and probably outdated vis-à-vis the current versions of browsers: function addFavorite( a, b ) { title = document.title; url = document.location; try { // Internet Explorer wind...
asked by 08.05.2015 / 18:54
2
answers

How to print a page directly, without browser dialog, using Javascript?

How to print, that is, send a page directly to physical print, without displaying the browser dialog before? I see many examples on the internet but everyone asks for print confirmation.     
asked by 18.03.2015 / 17:27
1
answer

Colorbox responsive

I'm using Colorbox in a project and need to be responsive. I was able to change the size of all divs with Media Queries in CSS, but the #colorbox does not change the size! This makes the page scroll horizontally. How can I re...
asked by 19.03.2015 / 15:52
3
answers

How to update PHP timezone with javascript using the Date.getTimezoneOffset function?

I'm getting the TMZ end user with this code: TMZ = new Date().getTimezoneOffset() For me it returns 180 and this number I send to the server, so that it adjusts the time of it with mine, but the date_default_timezone_set...
asked by 19.04.2015 / 16:42
1
answer

html5 audio latency on mobile devices

I'm starting in javascript and I have a simple project in hand but they're breaking my head. The project consists of creating a multitrack player (such as those recording studio software) where when clicking on play, the client can hear all the...
asked by 17.04.2015 / 21:31
1
answer

Summer time error in bootstrap-datepicker

The plugin stopped working with the start of DST in Brazil. When I disable the option on my machine ( Automatically adjust for daylight saving time ) the plugin works again. Code: $('.campodata').datetimepicker({ useSeconds: false,...
asked by 22.10.2014 / 20:25