jquery

JQuery cookie

Hello, tell me how to make cookies for all pages of the site? This construction did not help me: $.cookie("blockhide", "openned", { expires: 7}, { path: '/'}, { domain: 'domain.ru'});

Add a class to jQuery

For a diva <div class="right"> <h2>Новости</h2> <div class="news-teaser floatbox"> ... should be added to the element that the mouse is hovering over, but the script does not work. What's wrong, how do I fix it?

Selecting the value of the select element, via jquery

I know how to get the value of the selected element. The problem is with which event to catch the selection of the element. I ... ed. If you use change(), then on the contrary, the first element can not be selected in any way. Are there any other options?

Drop-down menu in Bootstrap

Please tell me how in Twitter Bootstrap to make the drop-down menu drop down not when you click, but when you hover over the items? Must be done for the element dropdowns.

How do I calculate the sum of cells in a table?

There is a code like this: var html = '<tr><td><input type="text" name="name"></td><td><in ... "cost" cells sum up and display in the "sum" input? I tried several options found on the network - I did not come to success(

How to get the element class, waypoint.js?

There is such a code <div class="main-elements"> <div class="main-item"></div> <div class="main ... . log does not output the html element itself. How to get exactly the html element in order to add the{[3] class to it]}

How to find out the height or width of a javascript image

There is a picture <img src="test.jpg" alt=""> <script type="text/javascript"> $(document).ready (function( ... }); </script> Outputs 0 If you write <img width="100" height="80" src="test.jpg" alt=""> Then it turns out

Smooth page scrolling

Hello, dear forumchane! There is such a question, who does the smooth scrolling of pages? I myself currently use nicescroll, but not everything is as perfect as I would like. Here is an example of my work http://skferson.ru/

Moving the image with the mouse js

There is a picture not wrapped in div. There is also div1, it is empty. There is a div2, it is also empty. There is a div3, ... so that the mouse can then simply hover over any empty div and move it to it by clicking on it. Tell me how to implement it.

Drag and drop on multiple div's

I'm making a task manager application in Java, and I decided to make it so that tasks can be dragged left and right. ... < ... he very first created one. How do I make it so that I can move each task? Thank you ( if something is just starting to learn)

Chat in PHP

I need to write a chat in php, please help me! I was given the task to write a chat in php, I have never encountered this tas ... ite, as I imagine-I will do it on html forms... Thank you in advance to everyone who responds to help with advice or hints!

When you click on the link, Skype opens

Hello, there is a page on the Internet on the page there is a Skype icon (the link is empty), how to make it so that when you ... is on the computer, it would open Skype, if not, then nothing would happen. Please tell me if there is such a possibility?

What is the difference between a jQuery object and a regular DOM element?

Explain it in a popular way. Links are a slippery topic. She never fully opened up to me. What is the difference: this - элемент DOM $(this) - объект jQuery

PHP interaction with jQuery (and JavaScript)

Good afternoon! I started studying web programming relatively recently. During this time, I managed to learn quite well PHP, ... language, explain how to link the jQuery framework or even just pure JavaScript with PHP. I will be grateful for the answer.

Bootstrap-tab doesn't work

Good afternoon. I connect bootstrap.css, bootstrap to the project.js and jquery.js + more scripts (bootstrap.tab.js bootstrap ... t sites, and when generating a bootstrap, I selected all the components. Please tell me what to do in this situation. Thanks.

Exists in jQuery hasClass() with NOT?

Good afternoon. I'm just asking for sport. Is there a negation construct in jQuery? For example, as in php: if(!isset($_GET[ ... я писать не совсем красивую конструкцию: if($(this).hasClass('red')){ //тут пусто :) }else{ $(this).animate(...); }

Screenshot of a specific part of the screen using html5

Hello, dear friends. There is such a task: Turn the contents of the div block into an image and invite the user to download i ... extension and even without a name. Is there any way, without involving server technologies, to give a name to the screenshot?

Drop-down menu when hovering over the entire width of the screen

Https://codepen.io/Dasha_Novikova/pen/mdyOwXN Good evening. I have a drop-down menu when hover. How to make a full-width dro ... function(){ $('.drop-down__mega-menu').css('display','block'); } ); Tell me how to do it correctly and better?

opacity at hover

HTML: <div class="prof_foto"><img src="{foto}" alt="" /></div> <div class="prof_isonl"> <div class="prof_off">Оффлайн</div> </div> How do I hover over .prof_foto to make opacity: 0.7 y .prof_off?