Questions tagged as 'javascript'

1
answer

Show message of success when dragging component with jQuery UI

I have the following jQuery: $(function() { $( "#sortable1, #sortable2, #sortable3, #sortable4, #sortable5, #sortable6").sortable({ connectWith: ".connectedSortable" }).disableSelection(); }); This jQuery drags one div into...
asked by 24.08.2016 / 15:47
1
answer

Why do you use expressjs? [closed]

What is it, what is it for and how does express.js work? Is it recommended to use it with AngularJS in a SPA app?     
asked by 26.08.2016 / 17:41
2
answers

How do I adapt this function to function without needing the element ID?

I have a function and I want to adapt it to work without needing the element ID ( document.getElementById("slides"); ). I saw that it is possible to do this using the NEW operator, but I had difficulties. Do you have any practical e...
asked by 28.06.2016 / 13:05
1
answer

How to use using events in Js without html [duplicate]

How do I do this? <html> <head> <script language="javascript"> function teste(){ alert("oi"); } document.getElementById("as").onclick = function(){ teste(); }...
asked by 27.06.2016 / 17:52
1
answer

Navigation In Tabs With CSS And jQuery

I have a problem formatting my page ... <ul class="abas"> <li><a href="#noticia1">Empreendimento</a></li> <li><a href="#noticia2">Detalhes</a></li> <li><a href="#notici...
asked by 28.06.2016 / 18:08
2
answers

How to Do Paginated Control Case / Swictch

Okay, the question is this - I'm developing a new personal project, and you need to do the Previous | Next used in the base Switch/Case , I'm trying to give life to the numbers . Shows it as Active . On the subject, everything is re...
asked by 30.06.2016 / 08:32
2
answers

Script for side menu

Does anyone know of any script to make a responsive side menu similar to that of badoo? When viewing the site on a large screen device the menu appears with all the options and qd is on a smaller screen the menu hides showing only icons with the...
asked by 25.05.2016 / 19:07
1
answer

How do I reset the setInterval () of a function?

Hello, I'm having trouble resetting setInterval () in 2 functions, they have to be re-used in the affected Ids Here is the JS code: //Fuction Fade out function fadeOut(elem, speed) { if (!elem.style.opacity) { elem.style.opacity...
asked by 28.05.2016 / 21:31
2
answers

Change background-position with Javascript

Well, first of all I apologize, but this question is a bit difficult to express myself. What I want to know is if there is any code in javascript that makes the background-position move very fast, very slowly, and then stops. In other words,...
asked by 17.04.2016 / 22:05
1
answer

Click on a centered image and drag it to the left link or right link?

This would be the image centered in the middle of the page ... on the right side a link and on the left another link ... the user would have to click on that image and drag to enter the links ...     
asked by 14.04.2016 / 19:48