Questions tagged as 'javascript'

2
answers

activating background overlay with link

Is everything good? I'm preparing a layout for a blog and need to do a slidershow or so in the following way: NowIcandoeverythingbeautyviaCSS,butIhaveaproblem!Theimaginaonlyactivateswhenthemousepassesoverthediv,butIneedtheimagetobeactivatedorb...
asked by 21.07.2015 / 19:31
2
answers

How to pass a variable in a JavaScript function by onclick razor?

I have a series of fields that I need to send from tag Razor to a JavaScript function @Html.ActionLink("Enviar", "ActionName", null, new { onclick = String.Format("envia_pessoa({0}, '{1}', '{2}', '{3}', '{4}', '{5}', '{6}'...
asked by 07.06.2015 / 01:26
1
answer

Making fadeIn in fixed scroll menu div with jquery

I am trying to make my fixed menu open with fade when scrolling the page plus my code is not working, and as I do not understand much of JS I am asking for help here to try to solve my problem. Come on! Follow my bootply to a preview!...
asked by 23.07.2015 / 16:03
1
answer

Use include with Jquery Mobile?

I would like to make a page just like it does with Razor MVC (_Layout) with header, and footer, and make the inclusion of it on other pages, how could I do that? I want to make AJAX Load Content Here's the example I did: _Layo...
asked by 03.06.2015 / 22:11
1
answer

How to save request data in sessionStorage or Cookies?

I am developing a chat with WebSocket and there is a list of users, when I click on a certain user, a conversation starts with only that user, my doubt is this: clicking the user to start a new conversation is I made a request that returns all m...
asked by 22.04.2015 / 16:18
1
answer

Slider animated in pure JavaScript

I researched several questions of this type, both in English and Portuguese and could not do it, because I could not understand the logic to make the slider of my site animated, with the images "sliding" to the side. Could someone help me? HT...
asked by 21.04.2015 / 19:54
2
answers

How to execute a function after AngularJS render the content in the template?

I would like to call a function after AngularJS renders the contents in the template, just as it removes display:none when using ng-cloak . function executaAposRenderizar(){...} app.controller('lista', ['$scope', function($scope)...
asked by 20.04.2015 / 22:07
3
answers

Get URL paths

The API is structured something like http://localhost:8181/api/collections/{id} , my question is: Sometimes I need to get this {id} and I'm doing a replace. Is there any way to configure this url for production, homolog and localhost en...
asked by 31.07.2015 / 13:52
1
answer

Onselect / Javascript Event

I am trying to do that when the user selects the% s of% id from source, and the selection is "Client" the select id "cli" receive div . For this I did a test, when to trigger the event display:block of the source id, give a...
asked by 03.08.2015 / 14:17
1
answer

url from the root of the site

Good afternoon, I would like to clarify a doubt that I have for some time in PHP. For example, in the case below, I have the site translation system, but it only works for the directory it is in, ie it only works if it is included in pages in...
asked by 02.08.2015 / 17:01