Questions tagged as 'resize'

2
answers

Change div height according to screen size and adapt when adjusting

Hello, I'm trying to adjust the height of my divs as the div that has the largest text, when the page loads, works normal, but when I change the screen dimensions, it does not work. HTML <div class="info"> <p cla...
asked by 19.06.2016 / 02:49
2
answers

jQuery, window.width () native and window.on resize in the same condition

I would like to know if a better way is possible than this, as it spared the repetition of code: I usually do: if($(window).width() > 800) { // BLAH BLAH BLAH } $(window).resize(function(){ if($(window).width() > 800) {...
asked by 23.10.2014 / 15:02
1
answer

jQuery, stop running functions depending on window size, also do not resize

I'm working on a site that calls external JS files. The problem is that when I would like some functions to stop running on desktop when $(window).width() < 800 and vice versa: External JS / CSS file link: HTML tag HEAD: ... <...
asked by 24.10.2014 / 16:11
1
answer

CSS - Resize both

Good afternoon. I'm using the resize: both property in a div and it works perfectly, my doubts are regarding the two traces that appear to indicate such property, is it possible to customize them?     
asked by 20.06.2016 / 22:22
2
answers

Wordpress image cropping and deletion of the original image

After the upload of an image in wordpress I would like to make a check if the registered image is larger than the declared size limit, if it is larger I want to delete the original image in upload folder and keep only images trimmed with t...
asked by 15.10.2015 / 14:17
1
answer

jQuery resizable () does not drag panel-footer

When I apply the resizable in the panel and drag down, the footer does not come with the panel. Any way to solve this problem? The code is as follows: <div class="panel panel-default" id="resizable"> <div class="panel-body...
asked by 28.12.2015 / 10:19
2
answers

Resizing image when inserting with php

I want to insert the image into the site by type="file" it resizes to 400x300, I tried everything but I can not. Image verification code to send to BD and insert into website: require_once("conn.php"); $imgm=$_FILES['imageM']; $imgf=$_FILES...
asked by 08.11.2016 / 18:38
1
answer

Resize for elements and not browser window

Help me with a quick question. The jquery resize identifies when the browser window changes and triggers an event. So good. But is there any way for me to know when an element changes? When to resize it? In this case, resize does not he...
asked by 12.01.2018 / 20:50
1
answer

Drag div to another div and resize when dropping!

Good evening, guys! basically what I'm trying to do is to drag a div (#mainmsg) into another div (#msgprivhere), but I need to resize it when I drop it. I just wonder if this is possible. I'm starting in the area of web development, and I'm very...
asked by 06.07.2016 / 04:28
0
answers

How to check the margin of an element?

I have a code to resize an element, I need to capture the resize from a margin of 18 pixels: $(document).on("mousedown",".image",function(me) { var move = $(this); var fm = matrix(this); var sv = scaleValue(this);...
asked by 08.08.2017 / 15:55