Questions tagged as 'javascript'

1
answer

Change navbar style with scroll

I've been looking for a way to make a navbar bootstrap 3 have a behavior similar to Google+ navbar, while scrolling down it gets smaller and displays instead of menus with icon and title only menus with icon, when returning to the top it...
asked by 29.01.2015 / 16:44
1
answer

Create a shortcut through the Browser

Is it possible to create a shortcut through the browser? Be that as, if it's with JavaScript, Java, or anything that makes it possible. I need to create a shortcut on the user's desktop through the browser, in the same way that Chrome does wh...
asked by 22.01.2015 / 13:41
1
answer

How to add items in an Jquery array from an IENUMERABLE in .Net MVC?

How do I add items from a IEnumerable<T> to a JavaScript array? View: @using Colecao.ViewModels @model ConfiguracoesViewModel @foreach (var equipamento in @Model.Equipamentos) { //Gostaria de adicionar...
asked by 23.03.2015 / 13:08
1
answer

Modify a button's property when closing modal bootstrap

I have a table with a button to add a comment about the item on that row. In this button I have a class = adicionar that allows me to apply to all with this class the action of opening a bootstrap modal. My problem is that I can not ident...
asked by 16.03.2015 / 21:12
1
answer

SQLiteDatabase transform return into json

Good afternoon, I need to do a query but I can not use the cursor. Example I have an object that I created that is called DatabaseHelper, inside it I have created some methods (prepare, bindParam, getQuery, execute), however in executing I ne...
asked by 20.12.2014 / 20:00
1
answer

Modal made in bootstrap

Why my modal is not opening? The page I call below is inside the main.php, where I put the correct include links: <div class = "conteudo"> <div class="container-fluid"> <div align="left" id="inserir">...
asked by 01.06.2015 / 20:05
1
answer

How to interpret "+" as space in the url?

Well, I have the search page on my site, and when the initial form searches, you type "stack overflow" as a search, and in the url it gets stack + overflow instead of stack% 20overflow. Can you interpret "+" as "space" and +% 2B as "+" using jav...
asked by 08.12.2014 / 00:50
1
answer

CSS Toggle Switch with select

I need to transition this script to use with <select> . Well, the script that works is like this      link My selections (over 88) are ONLY in this style: <select> <option value="0">Off</option> <option...
asked by 09.12.2014 / 23:43
1
answer

Creating Points in Google Maps with PHP Data

What I need I need to be able to receive locations from within PHP and tag them as points on Google Maps. What I did I created a part in Ajax to call the script in PHP that does the query and returns the json. He receives the data. He i...
asked by 03.12.2014 / 19:49
1
answer

KnockoutJs does not work

Code: <!DOCTYPE html> <html> <head> <script type='text/javascript' src='js/knockout-3.2.0.js'></script> <meta charset="UTF-8"> <title>Title of the document</title> </head> <body> &l...
asked by 03.12.2014 / 20:14