Most voted "resize" questions
None
Learn more…22 questions
Sort by count of
-
6
votes1
answer2355
viewsChange the height of the div according to the screen size and adapt when adjust
Hello, I’m trying to adjust the height of my Ivs as the div that has the most text, when the page loads, works normal, but when I change the screen dimensions, it doesn’t work. HTML <div…
-
4
votes2
answers277
viewsIs it possible to use the resize function of the textarea in an input?
Good morning, everyone. I’m making a form, and I wanted to make a <input type='text' /> that the user could set the width, with that drag resize that exists in the textarea. I want to insert…
-
3
votes2
answers492
viewsjQuery, native window.width() and window.on resize in the same condition
I wonder if a better way is possible than this, as it would save the repetition of code: usually do: if($(window).width() > 800) { // BLAH BLAH BLAH } $(window).resize(function(){…
-
3
votes1
answer354
viewsjQuery, stop performing functions depending on window size, also in resize
I’m working on a website that calls external JS files. The problem is that when you would like some functions to stop running on desktop when $(window).width() < 800 and vice versa: Link to…
-
3
votes2
answers85
viewsCrop image in wordpress and delete 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 stated limit size, if it is larger I want to delete the original image in the folder…
-
3
votes1
answer88
viewsjQuery resizable() does not drag the panel-footer
When I apply the resizable on the panel and drag it down, the footer does not come with the panel. Some way to solve this problem? The code is as follows:: <div class="panel panel-default"…
-
3
votes1
answer57
viewsCSS - Resize Both
Good afternoon. I am using the property resize:Both in a div and works perfectly, my doubt is referring to the two tracings that appear to indicate such property, it is possible to customize them?…
-
2
votes2
answers441
viewsResizing image when inserting with php
I’m wanting that when inserting the image on the site by type="file" it resizes to 400x300, I’ve tried everything but I can’t. Image verification code to send pro BD and insert on the website:…
-
1
votes0
answers74
viewsRotate android image without resizing it?
I am "translating" a program written in c# for Android, and I had a problem during the rotation of an image. The code works normally, but returns an image of size different from the original, I…
-
1
votes1
answer129
viewsResize to elements and not browser window
Help me with a quick question. jquery resize identifies when the browser window is changed and fires an Event. So far so good. But is there any way I can tell when an element is changed? When I…
-
1
votes1
answer252
viewsDrag div to another div and resize on drop!
Good night, you guys! Basically what I’m trying to do is drag a div (#mainmsg) into another div (#msgprivhere), but I need it resized when I drop it. I would just like to know if this is possible. I…
-
1
votes1
answer362
viewsResize image in a square while keeping the original PHP image aspect ratio
What happens is this: I’m pulling some product photos from an XML link, and the images come in different sizes. Currently I use a code that takes the image and resizes to 200x200, but images with…
-
1
votes1
answer179
viewsresize an image and then save to mysql
From a form I want to resize an image only after and then save in mysql, or take an image already saved in mysql and resize it and then update the record. I really appreciate it if someone can help…
-
1
votes0
answers40
viewsHow 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 =…
-
1
votes1
answer31
viewsButton placement to screen resize
I have a slide where the button should always be positioned according to a given image. When resizing the screen the position of the image is changed causing the button to be misaligned and it is…
-
0
votes1
answer35
viewsFunction to change Height with errors
184 function bannerPrincipal(){ 185 var bannerHolder = document.getElementById("banner-principal"); 186 var windowSize = window.innerHeight; 187 bannerHolder.css.height == windowSize+"px"; 188…
-
0
votes3
answers60
viewsdefine div size according to svg in js
Good afternoon. Sorry, I was wondering if you could use the onresize javascript event to resize a div/container. I’m using that code: var resizeTimer; window.onresize = function (event) {…
-
0
votes0
answers41
viewsCSS problems
I have the following function Jquery to change the font size during Screen Resizing. const textPattern = 0.0085; function resizeFont(widthWindow){ var calc_text = widthWindow * textPattern;…
-
0
votes0
answers775
viewsChange image height by associating to navbar
I implemented a navbar with a logo at the top, inspired by this site: http://www.fentonandfenton.com.au/. It turns out that the customer’s logo has another ratio and has bigger height than the…
-
0
votes1
answer41
viewsLoad resized image in wordpress
Good night. I’m only trying to upload the "thumbnails" of the images on my custom page, but the site loads the original image and resizes it. That weighs the load on my site. My code: <?php if (…
-
0
votes2
answers30
viewsI need to solve an image resizing problem in C#
i am trying to implement a code to do image resizing because currently are uploading very large images on my system, however I am not able to perform resizing proportionally. Follows the code in…
-
0
votes1
answer55
viewsHow to drop Draggable element only on Droppable Ivs and not drop to the rest of the screen
Talk, guys, I’m having a little problem here, I stopped using the **Drag and Drop** HTML5 native because it does not support Android browsers, so I started using the Jqueryui. I have some charts…