Home
Search results “Jquery css style width”
jQuery add or remove class
 
15:46
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/04/jquery-add-or-remove-class.html In this video we will discuss 1. How to check if an element has a css class 2. How to add or remove css classes 3. How to toggle css classes hasClass - Returns true if an element has the specified class otherwise false addClass - Adds one or more specified classes. To add multiple classes separate them with a space. removeClass - Removes one or multiple or all classes. To remove multiple classes separate them with a space. To remove all classes, don't specify any class name. toggleClass - Toggles one or more specified classes. If the element has the specified class then it is removed, if the class is not present then it is added. Replace < with LESSTHAN symbol and > with GREATERTHAN symbol <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <style> .boldClass { font-weight: bold; } .italicsClass { font-style: italic; } .colorClass { color: red; } </style> <script type="text/javascript"> $(document).ready(function () { $('#btn1').click(function () { $('p').addClass('colorClass'); }); $('#btn2').click(function () { $('p').removeClass('colorClass'); }); $('#btn3').click(function () { $('p').addClass('colorClass italicsClass'); }); $('#btn4').click(function () { $('p').removeClass('colorClass italicsClass'); }); $('#btn5').click(function () { $('p').addClass('colorClass italicsClass boldClass'); }); $('#btn6').click(function () { $('p').removeClass(); }); }); </script> </head> <body style="font-family:Arial"> <p>Pragim Technologies</p> <table> <tr> <td> <input id="btn1" style="width:250px" type="button" value="Add Color Class" /> </td> <td> <input id="btn2" style="width:250px" type="button" value="Remove Color Class" /> </td> </tr> <tr> <td> <input id="btn3" style="width:250px" type="button" value="Add Color and Italics Classes" /> </td> <td> <input id="btn4" style="width:250px" type="button" value="Remove Color and Italics Classes" /> </td> </tr> <tr> <td> <input id="btn5" style="width:250px" type="button" value="Add Color, Italics & Bold Classes" /> </td> <td> <input id="btn6" style="width:250px" type="button" value="Remove All Classes" /> </td> </tr> </table> </body> </html>
Views: 51028 kudvenkat
jQuery #53 - width() height()
 
05:06
Ha tetszett like és iratkozz fel, köszi(:
Views: 342 TheHUNTutorials
jquery animate function
 
12:26
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/05/jquery-animate-function.html jQuery animate function let's us animate CSS properties. The following example animates the div element, while changing the font-size property of the div element from its initial size to 50 pixels over a period of 2000 milli-seconds (2 seconds). <html> <head> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#myButton').click(function () { $('#myDiv').animate({ 'font-size': '50' }, 2000); }); }); </script> </head> <body style="font-family:Arial"> <input type="button" id="myButton" value="Animate" /> <br /><br /> <div id="myDiv"> jQuery animate function </div> </body> </html> Syntax of jquery animate function .animate( properties [, duration ] [, easing ] [, complete ] ) Animate function has 4 parameters. Only the first parameter (properties) is the required parameter. Rest 3 are optional. properties - An object of CSS properties and values duration - The duration for animation in milliseconds. Default is 400. easing - Easing function to use for the transition. Default is swing. You could also use linear. complete - A function to call once the animation is complete What is jQuery easing Easing is a technique where the speed and/or direction of animation are changed while the animation is in progress. Easing can make the animation start off slow and gradually speed up, start up fast and gradually slow down, and a whole host of other effects. The difference between linear and swing easing is very subtle. The following page shows all the easings provided by jQuery UI https://jqueryui.com/easing The following example increases the height and width of the image to 400 pixels on mouseover. On mouseout the height and width are reduced to 100 pixels. <html> <head> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#myImage').on({ mouseover: function () { $(this).animate({ 'height': 400, 'width': 400, }, 3000); }, mouseout: function () { $(this).animate({ 'height': 100, 'width': 100, }, 3000); } }); }); </script> </head> <body style="font-family:Arial"> <img id="myImage" height="100" width="100" src="/Images/Tulips.jpg" /> </body> </html> In the following example, several calls to animate() method are chained together. By default these calls are placed into a queue to be executed one after the other in series rather than executing all of them simultaneously in parallel. <html> <head> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#myImage').click(function () { $(this) .animate({ 'left': '300' }) .animate({ 'top': '200' }) .animate({ 'left': '10' }) .animate({ 'top': '10' }); }); }); </script> </head> <body style="font-family:Arial"> <img id="myImage" height="100" width="100" style="position:absolute" src="/Images/Tulips.jpg" /> </body> </html> Please note: By default, all HTML elements have a static position, and cannot be moved. To modify the position , set the CSS position property of the element to fixed, absolute or relative.
Views: 42264 kudvenkat
jQuery Tutorial - 81- width/height
 
06:02
Facebook - https://www.facebook.com/TheNewBoston-464114846956315/ GitHub - https://github.com/buckyroberts Google+ - https://plus.google.com/+BuckyRoberts LinkedIn - https://www.linkedin.com/in/buckyroberts reddit - https://www.reddit.com/r/thenewboston/ Support - https://www.patreon.com/thenewboston thenewboston - https://thenewboston.com/ Twitter - https://twitter.com/bucky_roberts
Views: 22025 thenewboston
26. JQuery for Beginners - DIMENSIONS .width()
 
06:38
FREE Educational tutorials http://villageparksource.com/village-park-university/
Views: 795 Village Park Source
Increase decrease font size using jquery
 
07:58
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/05/increase-decrease-font-size-using-jquery.html In this video we will discuss how to increase, decrease and reset font size using jQuery Replace < with LESSTHAN symbol and > with GREATERTHAN symbol <html> <head> <style> .divClass { font-size: 16px; background-color: #E3E3E3; width: 500px; padding: 5px; } </style> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#linkIncrease').click(function () { modifyFontSize('increase'); }); $('#linkDecrease').click(function () { modifyFontSize('decrease'); }); $('#linkReset').click(function () { modifyFontSize('reset'); }) function modifyFontSize(flag) { var divElement = $('#divContent'); var currentFontSize = parseInt(divElement.css('font-size')); if (flag == 'increase') currentFontSize += 3; else if (flag == 'decrease') currentFontSize -= 3; else currentFontSize = 16; divElement.css('font-size', currentFontSize); } }); </script> </head> <body style="font-family:Arial"> Font-Size: <a id="linkIncrease" href="#">Increase</a> <a id="linkDecrease" href="#">Decrease</a> <a id="linkReset" href="#">Reset</a> <br /><br /> <div id="divContent" class="divClass"> <b>jQuery Tutorial</b> <ul> <li>What is jQuery</li> <li>What is $(document).ready(function() in jquery</li> <li>Benefits of using CDN</li> <li>#id selector</li> <li>Element Selector</li> <li>class selector</li> <li>attribute selector</li> <li>attribute value selectors</li> <li>case insensitive attribute selector</li> <li>jQuery input vs :input</li> </ul> </div> </body> </html>
Views: 24368 kudvenkat
jQuery Tutorial: Dynamically Resizing elements
 
04:22
http://www.frameworktv.com | LearnToProgram is now Framework. Visit and join for free daily videos teaching digital skills like coding and design. SUBSCRIBE TO THE FRAMEWORK CHANNEL http://www.youtube.com/subscription_center?add_user=UC4msOaZNMfPwMe_ztV5jFH SUBSCRIBE TO OUR EMAIL LIST (LEARN FOR FREE!) http://www.frameworktv.com/?src=YOUTUBE VISIT US ON FACEBOOK https://www.facebook.com/frameworkTechnicallySpeaking/ FOLLOW ON TWITTER https://twitter.com/fw_social INSTAGRAM https://www.instagram.com/frameworksocial/
jQuery Tutorial in Hindi #21: jQuery Dimension Methods | width and height Method in jQuery Hindi
 
13:25
Welcome, all we will see width and height method in jQuery in Hindi. Source Code Link: https://www.thapatechnical.com/ jQuery width() and height() Methods The width() method sets or returns the width of an element (excludes padding, border and margin). The height() method sets or returns the height of an element (excludes padding, border and margin).
Views: 1742 Thapa Technical
43 - ( jQuery Tutorial ) jQuery HTML / CSS : [ Dimension ] = width, innerWidth, outerWidth
 
06:34
- شرح كيفيه االتحكم بالـ Dimension لعناصر الـ html من خلال الـ jQeury - شرح الـ Mehtod الاتيه : width, innerWidth, outerWidth - شرح ما الفرق بين الـ width و بين innerwidth و بين outerWidth
Equal Height Columns In Row - How to Create Equal Height and Width Columns  - Pure Html CSS Tutorial
 
12:26
Please LIKE our NEW Facebook page for daily updates... https://www.facebook.com/Online-Tutorial-Html-Css-JQuery-Photoshop-1807958766120070/
Views: 19966 Online Tutorials
29. JQuery for Beginners - DIMENSIONS .innerHeight()
 
02:20
FREE Educational tutorials http://villageparksource.com/village-park-university/
Views: 404 Village Park Source
Set DIV to 100% Height of Its Parent Using jQuery
 
15:40
In this tutorial, you'll learn how get your DIVs to be 100% of the height of their container using jQuery. Here's the link for the AJAX and PHP course: http://johnmorrisonline.com/go?id=ajaxphp&utm_campaign=ytWc2I-JU50Ls Get the source code in the Code Snippets section here: http://www.johnmorrisonline.com/web-developer-resources/ Training Center: http://www.johnmorrisonline.com/training Subscribe on YouTube: http://youtube.com/johnmorrisonline Subscribe on SoundCloud: http://soundcloud.com/johnmorrisonline Subscribe on iTunes: http://goo.gl/RggnXW -~-~~-~~~-~~-~- Please watch: "Ryan Carson: How to Get an IT Job WITHOUT a College Degree" https://www.youtube.com/watch?v=wxetW3hmPd0 -~-~~-~~~-~~-~- #php #webdev
Views: 5449 John Morris
How To Code A Full Width Mobile Navigation With CSS & Jquery | Code Examples
 
12:26
In this video I show you how to code a full width mobile navigation with css and jquery.
Views: 253 Garrett Sanderson
Full Width And Height Intro Page Which Disappears As You Scroll | HTML, CSS, jQuery
 
12:40
Hello everybody ! FOLLOW THIS LINK TO GET -50% DISCOUNT OF MY UDEMY COURSE, THAT IS ONLY 10 EUR (OR ABOUT 11 USD): https://www.udemy.com/learn-how-to-design-and-code-responsive-website-from-scratch/?couponCode=DesignDevelop In this tutorial you are going to learn how to make intro page which takes up full width and height of your browser and disappears as you start to scroll the website. Code is available right here: https://github.com/reinis-berzins/tutorial-files If you have any question about this tutorial or about HTML, CSS, JavaScript and jQuery please contact me at my e-mail - [email protected] Also let me know what do you want me to show how to make in future tutorials ! Have a great day.. Bye !
Views: 11624 Rinkans
How to create custom css underline less than width of headline  | CSS3 Quick Tip 2016 - Youtube
 
06:46
How to create custom css underline less than width of headline using after pseudo selector | CSS3 Quick Tip 2016 - Youtube Learn to create a css underline aligned in the middle of the text by using after pseudo selector. It will not be created using a normal text-decoration property instead we'll use a little technique to create this custom css3 underline which will look like a short border bottom to text headline. We will use css positioning to position or align the underline to the bottom of the text with reduced underline width, and underline aligned in the middle of the text. We can't use normal text-decoration property to provide a short width to underline and color to this underline in all the browsers. Although there is a way to specify the color for the text underline using text-decoration-color: value; however its not supported in all the browsers. So here you will how we can provide colors to the underline using css3 custom border/underline using after pseudo selector. *************************************************************** Navigate to specific portion of the video, Click on timestamp: 00:21 | Understanding the underline problem and solution 1:15 | Writing heading text and styling the text with normal text-decoration property 2:10 | Creating custom underline with reduced width - using after pseudo selector 4:11 | Aligning the small width border / underline in center of the text headline **************************************************************** ===============Try Using SOURCE CODE================ http://codepen.io/smashtheshell/pen/XdEjbw ======================================================= Have any questions, just comment below in comment section. I will try to respond as soon as possible. Like share and comment! Thanks ================Links to other playlists================= - HTML5 Fundamental Video Tutorials 2016 Playlist https://www.youtube.com/playlist?list=PLVTV0IQIXRztWItvjT1b8yI7bJIwh_1lX - Three ways to create responsive equal height columns using CSS https://www.youtube.com/playlist?list=PLVTV0IQIXRzsqX7CX9RcXmJg8dh5U5xRB - How to create a header navigation with centered logo https://www.youtube.com/watch?v=zBRxUIYvNX4&list=PLVTV0IQIXRzt_b2L91VaGo2-8kMg3Udu3 - Creating Responsive Image Gallery using pure css3 https://www.youtube.com/playlist?list=PLVTV0IQIXRztYDt0GZb-F_tLS9OXzdhSK ============Awesome Videos on CSS3============= Creating CSS3 Tooltip without using jquery or javascript https://www.youtube.com/watch?v=5rVhVmVoI3s Styling placeholder text using css3 https://www.youtube.com/watch?v=xCtmJogajxc Creating three column responsive layout https://www.youtube.com/watch?v=G8UTSXxu1ow ************************CONTACT and RESOURCES************* Find all the source codes here: https://codepen.io/smashtheshell Follow on Twitter https://twitter.com/amit4kp Add on Facebook https://www.facebook.com/kumaramit24chd Like Page on Facebook https://www.facebook.com/smashtheshell Share this video and Subscribe to this channel for latest updates and web design tips and techniques.
Views: 5071 smashtheshell
NoteToSelf: jQuery .css() Method Adds Inline Styles
 
09:37
When using jQuery's .css() method, you may run into confusing scenarios where your rendered styles do not match what you are expecting. This video uses a simple example of how jQuery's .css() method writes inline styles in an HTML div element. Do to the specificity of an inline style, the outer styles will be overridden. Furthermore, this video will show you how you can easily remove the inline style by passing an empty string to the .css() method.
Views: 108 jalbao
Sticky Navigation Tutorial (Fixed Position CSS + JavaScript / jQuery)
 
13:07
Learn how to create a "sticky" navigation (element should use "fixed" position once it would normally scroll out of view). Check out my "Get a Developer Job" course: https://www.udemy.com/git-a-web-developer-job-mastering-the-modern-workflow/?couponCode=YOUTUBE-HALF-OFF Link to the demo files shown in the lesson: http://learnwebcode.com/sticky-navigation-tutorial/ Have you put together a neat page infused with JavaScript awesomeness and want to move it from your computer to online so the world can see your JS chops? I’ve partnered with A Small Orange and can now offer my students 20% savings on any hosting plan. Hint: the shared “Small” plan is one of the best bangs for your buck around! http://p.asmallorange.com/learnwebcode/specialoffer Sign up for my newsletter to receive periodic webDev tips, tricks, resources and coupons. Join the list at http://learnwebcode.com/ Follow LearnWebCode on Twitter for resources and updates: https://twitter.com/learnwebcode In this lesson we make use of JavaScript and the jQuery library for event handling and conditional logic. If you are unfamiliar with JavaScript I recommend watching these two introductory videos: https://www.youtube.com/watch?v=1vMFpT0h-WI&list=UUHRp19HU7Y2LwfI0Ai6WAGQ https://www.youtube.com/watch?v=gIvR-WX5lIQ&list=UUHRp19HU7Y2LwfI0Ai6WAGQ
Views: 137192 LearnWebCode
JQUERY. Функция для подсчета ширины и высоты. С применением text(), width(), height(). п. 10.2
 
12:10
▶Плей лист с задания по курсу "JQUERY. JavaScript. Веб. Курс. Обучение" https://www.youtube.com/playlist?list=PLmaZf_calrAbt7J_W10Q9AkNDQnL7OnZW Остальные уроки https://24navo.com/ Толковый Словарь Русского Языка. С. И. Ожегов Н. Ю. Шведова https://24navo.com/lessons/html_list/i/m/Ozhegov.Dictionary.html Словарь иностранных слов современного русского языка. Т. В. Егорова https://24navo.com/lessons/html_list/i/m/Egorov_Dictionary_of_foreign_words_of_modern_Russian_language.pdf JQUERY,функция,подсчет ширины и высоты,text,width,height,css,изменение веб-страниц,выборка,JavaScript,js,обучение,курс,программирование,практика,для новичков,с нуля,обучение программированию,примеры,как научиться программированию
Remove Style Using jQuery Css Function
 
01:34
Please visit http://technomark.in/Remove-Style-Using-jQuery-Css-Function.aspx for more information. Remove Style Using jQuery Css Function, Remove Style Using jQuery, Remove Style Using jQuery Function, Best Way To Remove Style Using jQuery, Remove Style, Remove Style In jQuery, jQuery Css Remove style, Remove background Using jQuery, Remove height Using jQuery, Remove Width Using jQuery, jQuery
Views: 138 Admin Technomark
jQuery Tutorial - PART-18 - CSS   HEIGHT & WIDTH
 
05:02
jQuery concepts, allowing you to add interactions and animations to your pages adopted by most popular sites on the Internet.Hundreds of plug-ins and function have been developed to extend jQuery's functionality
Views: 444 KAMLESHUTUBE
jquery floating div
 
13:36
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/05/jquery-floating-div.html In this video we will discuss, how to create floating div using jQuery. We want the div element in the sidebar to be floating and always visible as we scroll down the page. Example : In this example we are using position() and scrollTop() functions. The object returned by position() function has top and left properties, which can be used to know the current top and left positions (coordinates). We are using this function to find the top position of the div element that we want to keep floating as we scroll down. To get the current vertical position of the scroll bar, we are using scrollTop() function. As we scroll and when the current vertical position of the scroll bar becomes GREATER THAN the top position of the div element, then we want the div element to start floating. To do this set position style to fixed. A fixed position element is positioned relative to the browser window. So as you scroll down it will be floating in the browser window. If the current vertical position of the scroll bar becomes LESS THAN the top position of the div element, then we don't want the div element to float, so we set position style to relative. A relative position element is positioned relative to itself. So if you set position to relative and top to 0, it will continue to stay where it is without floating. <html> <head> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { var floatingDiv = $("#divfloating"); var floatingDivPosition = floatingDiv.position(); $(window).scroll(function () { var scrollPosition = $(window).scrollTop(); if (scrollPosition >= floatingDivPosition.top) { floatingDiv.css({ 'position': 'fixed', 'top' : 3 }); } else { floatingDiv.css({ 'position': 'relative', 'top' : 0 }); } }); }); </script> </head> <body style="font-family:Arial;"> <table align="center" border="1" style="border-collapse:collapse"> <tr> <td style="width:500px"> Main Page Content </td> <td style="width:150px; vertical-align:top"> Side panel content <br /><br /> <div id="divfloating" style="background-color:silver; width:150px; height:150px"> Floating Div - Keeps floating as you scroll down the page </div> </td> </tr> </table> </body> </html>
Views: 32113 kudvenkat
Height method with width methods in jQuery English -40-vlr training
 
04:19
Height method with width methods in jQuery English -40 For Telugu https://www.youtube.com/watch?v=U-KFJ5xtI1c For English https://www.youtube.com/watch?v=ZqMLikgJZkQ website:http://www.vlrtrain.in/ WordPress training videos in telugu http://www.vlrtrain.com/p/wordpress-training-videos-in-telugu.html WordPress training videos in English http://www.vlrtrain.com/p/wordpress-training-videos-in-english.html JavaScript training videos telugu http://www.vlrtrain.com/p/javascript-training-videos-telugu.html JavaScript training videos English http://www.vlrtrain.com/p/javascript-training-videos-english.html Html and Css Training Videos In Telugu http://www.vlrtrain.com/p/html-and-css-training-videos-in-telugu.html HTML and CSS Training Videos In English http://www.vlrtrain.com/p/html-and-css-training-videos-in-english.html jQuery Training videos in Telugu https://goo.gl/worp0T jQuery Training videos in English https://goo.gl/I2TNDk Key Words: Height method with width methods in jQuery English jquery set height, jquery set width, jquery css height, jquery on window resize, jquery outerheight, jquery width percentage, jquery viewport height, jquery window height, The JQuery height Function, jQuery height and width method, Difference between window height and document height
Views: 220 VLR Training
Build a responsive navigation with CSS and jQuery - with a bonus dropdown effect using CSS clip-path
 
50:43
In this video I look at how to create a responsive menu using jQuery. It’s a bit of a long video where we build out the menu from scratch with HTML, then styling the menu with CSS, before finally using a bit of jQuery to get it to work. Once it's all set up and working, I use a CSS clipping path to give it a bit of a cool animation for when it toggles in and out. I also create my own hamburger menu using pseudo elements and some CSS, creating a custom animation for it with another CSS class and a bit more jQuery. If you’d like to skip to any specific part, the times for all the steps are below, and if you want to play with the code, it's on Codepen - http://codepen.io/kevinpowell/pen/PWNwZm Starting at 02:20 I look at simply building out a vertical menu. At 12:20 I add the hamburger menu At 19:50 I use a little simply bit of jQuery to get the mobile menu to toggle on and off Starting at 24:50 I look at animating the hamburger menu. Then at 28:46 I look at adding in some icons with Font Awesome With the mobile version done, at 37:50 I add a media query so that it is a normal, horizontal navigation on larger screens. Then at 42:00, with the whole thing wrapped up, I change the animation to use clip-path to make the toggling animation a little more interesting, and then fix up a few little loose ends. --- Music by Chillhop: http://youtube.com/chillhopdotcom Mo Anando - In Bloom: https://soundcloud.com/moanando If you have your own channel, check out Chillhop for some awesome music.
Views: 76250 Kevin Powell
jquery width function - part 98
 
04:50
This video explains about jquery width function. using width function we can get and set the width property of given elements. I need you to try these cases on your machine and also do try few crazy scenarios if you can. If you get stuck or if you have any query then please do comment below and let me know. I will try to reply you as soon as possible.
Views: 75 dnanetwork
Jquery How do I retrieve the width and height of a specified div element?
 
06:06
How do I retrieve the width and height of a specified div element using jquery The width() method sets or returns the width of an element (excludes padding, border and margin). The height() method sets or returns the height of an element (excludes padding, border and margin).
Views: 307 Go Freelancer
JQuery Colorful Animated Horizontal Fixed Width Menu Bar
 
04:31
Source Code now at dropbox https://www.dropbox.com/s/itbw00kc4fcvpdd/team.zip?dl=0 Simple uncomplicated pure css version here http://youtu.be/vKfhENP_exU ; explained word to word JQuery Colorful Animated Horizontal Fixed Width Menu Bar Mohit Manuja of QualityLessons.Net
jQuery scroll event
 
10:17
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/05/jquery-scroll-event.html In this video we will discuss scroll event and how to handle it using jQuery. scroll event is raised when the user scrolls to a different place in the element. It applies to window objects, but also to scrollable frames and elements with the overflow CSS property set to scroll. In the following exampe, notice that the div element overflow style is set to scroll. The div element has a scrollbar and as you scroll up and down the div element, the scroll event is raised and handled. Replace < with LESSTHAN symbol and > with GREATERTHAN symbol <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('div').scroll(function () { $('h3').css('display', 'inline').fadeOut(1000); }); }); </script> </head> <body style="font-family:Arial"> <div style="width:300px; height:200px; border:1px solid black; overflow:scroll"> PRAGIM Speciality in training arena unlike other training institutions. Training delivered by real time software experts having more than 10 years of experience. Interview questions and real time scenarios discussion on topics covered for the day. Realtime projects discussion relating to the possible interview questions. Trainees can attend training and use lab untill you get a job. Resume preperation and mock up interviews. 100% placement assistance. 24 hours lab facility. PRAGIM Technologies offers professional real time projects for studetns in their final semester. Course completion and project completion certificates will also be provided upon successful completion of the course. We have partnered with major multinational companies to place freshers with our clients on their course completion. </div> <br /> <h3 style="display:none; color:red">Scroll event handled</h3> </body> </html> The following example, keeps track of how many times the scroll event is raised. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { var count = 0; $('div').scroll(function () { $('span').text(count += 1); }); }); </script> </head> <body style="font-family:Arial"> <div style="width:300px; height:200px; border:1px solid black; overflow:scroll"> DIV CONTENT </div> <br /> <h3 style="color:red">Scroll event handled <span>0</span> time(s)</h3> </body> </html> The following example, keeps track of whether the user scrolled up or down. <html> <head> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { var lastScrollTop = 0; $('div').scroll(function () { var currentScrollPosition = $(this).scrollTop(); if (currentScrollPosition > lastScrollTop) { $('h3').text('You scrolled down'); } else { $('h3').text('You scrolled up'); } lastScrollTop = currentScrollPosition; }); }); </script> </head> <body style="font-family:Arial"> <div style="width:300px; height:200px; border:1px solid black; overflow:scroll"> DIV CONTENT </div> <br /> <h3 style="display:inline; color:red"></h3> </body> </html>
Views: 50918 kudvenkat
jquery draggable widget
 
12:17
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/07/jquery-draggable-widget.html In this video we will discuss jquery draggable widget jquery draggable widget allow elements to be moved using the mouse. This widget is in interactions category on the jQuery UI website. http://jqueryui.com/draggable/ Consider the following HTML <div id="draggableDiv" class="divClass"> Drag me around </div> .divClass { height: 200px; width: 200px; background-color: red; color: white; display:table-cell; vertical-align:middle; text-align:center; } To make the above div element draggable $('#draggableDiv').draggable(); Some of the useful options to customize the draggable widget axis - Constrains dragging to either x or y axis containment - Constrains dragging to within the bounds of the specified element or region cursor - The CSS style of the cursor during the drag operation opacity - opacity during the drag operation revert - Boolean property that specifies if the element should revert to its start position when dragging stops revertDuration - The duration of the revert animation, in milliseconds snap - Specifies whether the element being dragged should snap to other elements. Value can be boolean or a selector. When set to true, the element will snap to all other draggable elements. When a selector is specified the element being dragged will snap to the element specified by the selector snapTolerance - The distance in pixels between the element being dragged and the element to which to snap to, at which snapping should occur. cancel - Prevents dragging from starting on specified elements Constrains dragging to x axis $('#draggableDiv').draggable({ axis : 'x' }); Constrains dragging to within the bounds of the parent element HTML <div id="containerDiv" style="height:300px; width:300px; border:3px solid black"> <div id="draggableDiv" class="divClass"> Drag me around </div> </div> jQuery $('#draggableDiv').draggable({ containment : 'parent' }); Changes the cursor style to "move" during the drag operation $('#draggableDiv').draggable({ cursor: 'move' }); Changes the opacity to 0.3 during the drag operation $('#draggableDiv').draggable({ opacity : '0.3' }); Reverts the div element to its start position when dragging stops. Revert animation completes in 1000 milli-seconds. $('#draggableDiv').draggable({ revert: true, revertDuration : 1000 }); The following example 1. Snaps the coloured div elements to the div element with thick black border. 2. The snapping occurs as soon as the distance between any of the coloured div element and the div element with thick black border is 50 pixels 3. The cancel option cancels dragging from starting on the div element with thick black border HTML <div id="redDiv" class="divClass" style="background-color: red"> Red Div </div> <div id="greeDiv" class="divClass" style="background-color: green"> Green Div </div> <div id="blueDiv" class="divClass" style="background-color: blue"> Blue Div </div> <div id="brownDiv" class="divClass" style="background-color: brown"> Brown Div </div> <br /> <br /> <div id="snapDiv" style="height: 400px; width: 400px; border: 5px solid black"> </div> Style .divClass { height: 200px; width: 200px; color: white; display: table-cell; vertical-align: middle; text-align: center; } jQuery $('div').draggable({ snap: '#snapDiv', snapTolerance: 50, cancel : '#snapDiv' });
Views: 24550 kudvenkat
Adjust section height with window height with js/jquery EN/FR
 
03:00
============================== Code : https://codepen.io/pen/dmQMjL ============================== Facebook : https://www.facebook.com/ZED7GFX Instagram : https://www.instagram.com/zaid.geek7 ============================== Music by: https://www.soundcloud.com/ikson ============================== Tags : Bootstrap, css, html, tutorial, html5, html and css, html (programming language), css3, html css, css tutorial, html tutorial, cascading style sheets (programming language), javascript, learn html, html tutorial for beginners, уроки css, css tutorial for beginners, site, web, js, website, how to, jquery, web design (interest), javascript (programming language)
Views: 133 ZED7 GFX
JQUERY. Функция для подсчета ширины и высоты. С применением text(), width(), height(). п. 10.1
 
11:57
▶Плей лист с задания по курсу "JQUERY. JavaScript. Веб. Курс. Обучение" https://www.youtube.com/playlist?list=PLmaZf_calrAbt7J_W10Q9AkNDQnL7OnZW Остальные уроки https://24navo.com/ Толковый Словарь Русского Языка. С. И. Ожегов Н. Ю. Шведова https://24navo.com/lessons/html_list/i/m/Ozhegov.Dictionary.html Словарь иностранных слов современного русского языка. Т. В. Егорова https://24navo.com/lessons/html_list/i/m/Egorov_Dictionary_of_foreign_words_of_modern_Russian_language.pdf JQUERY,функция,подсчет ширины и высоты,css,изменение веб-страниц,выборка,JavaScript,js,обучение,курс,программирование,практика,для новичков,с нуля,обучение программированию,примеры,как научиться программированию
Table Column and Row Highlight by using Jquery CSS
 
11:23
Webdevelopment tutorial on Table row and column highlighting with jquery and CSS. Highlight Table row and column with Jquery CSS. Jquery highlighting selected columns only in a HTML Table. Jquery Table Row Column Highlight on Hover. How to highlight table row record on hover with Jquery. Video Tutorial on Highlighting HTML Table columns with jQuery and CSS. Source Code - http://www.webslesson.info/2016/10/table-column-and-row-highlight-by-using-jquery-css.html
Views: 2778 Webslesson
Create Simple Progress bar using HTML, CSS with jquery
 
06:55
How to create simple progress bar using css with jquery, you can learn this things in this video. In css part I have use transition effect for increase width of span tag very smoothly and In Jquery I have use setInterval() method for increase width of span tag and if width greater than 100% than at that time I have use clearInterval() method for clear the interval timer set by setInterval() method. Source Code - http://www.webslesson.info/2016/04/create-simple-progress-bar-using-css-with-jquery.html
Views: 3074 Webslesson
jquery multiple sliders on page
 
10:20
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/06/jquery-multiple-sliders-on-page.html In this video, we will discuss how to control the height, width and opacity of an image using multiple sliders on the page. HTML <div id="sliderHeight"></div> <br /> <div id="sliderWidth"></div> <br /> <div id="divOpacity"></div> <br /> <div id="divDimensions"></div> <br /> <img id="myImg" src="Tulips.jpg" style="width: 100px; height: 100px" /> jQuery $(document).ready(function () { $('#sliderHeight, #sliderWidth').slider({ min: 100, max: 500, slide: refreshImage }); $('#divOpacity').slider({ min: 0, max: 100, value: 100, slide: refreshImage }); function refreshImage() { var height = $('#sliderHeight').slider('value'); var width = $('#sliderWidth').slider('value'); var opacity = $('#divOpacity').slider('value') $('#myImg').css({ height: height, width: width, opacity: opacity / 100 }); $('#divDimensions').html('Height : ' + height + ' Pixels<br/>' + 'Width : ' + width + ' Pixels<br/>' + 'Opacity : ' + opacity / 100); } });
Views: 16934 kudvenkat
Colorful Animated Horizontal Fixed Width Menu Bar- No JQuery
 
23:50
Source Code now at dropbox https://www.dropbox.com/s/itbw00kc4fcvpdd/team.zip?dl=0 Improved & advanced JQuery version here http://youtu.be/UxHaOFSLQaU Colorful Animated Horizontal Fixed Width Menu Bar Only css/ css3 and html5 was used in this easy to create but very colorful and attractive animated menu bar Mohit Manuja of http://QualityLessons.Net
Slick jquery slider - Fix image width
 
01:55
How to fix image width = slick carousel jquery slider.. (1) just add variableWidth: true in javascript : $(".regular").slick({ variableWidth: true, }); (2) and set css : .slider { width: 63%; margin: 100px auto; } .slick-slide img { width: 250px; height: 250px; } ---------------------- -- just share --
Views: 6730 Ambar Hasbiyatmoko
Simple jquery progress bar
 
11:05
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/05/simple-jquery-progress-bar.html In this video we will discuss how to create a simple animated jquery progress bar using animate() function. Replace < with LESSTHAN symbol and > with GREATERTHAN symbol <html> <head> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#myButton').click(function () { animateProgressBar($('#ddlPercent').val()); }); function animateProgressBar(percentComplete) { $('#innerDiv').animate({ 'width': (500 * percentComplete) / 100 }, 2000); $({ counter: 1 }).animate({ counter: percentComplete }, { duration: 2000, step: function () { $('#innerDiv').text(Math.ceil(this.counter) + ' %'); } }); } }); </script> </head> <body style="font-family:Arial"> Select percentage : <select id="ddlPercent"> <option value="10">10</option> <option value="20">20</option> <option value="30">30</option> <option value="40">40</option> <option value="50">50</option> <option value="60">60</option> <option value="70">70</option> <option value="80">80</option> <option value="90">90</option> <option value="100">100</option> </select> <input type="button" id="myButton" value="Start Animation" /> <br /><br /> <div id="outerDiv" style="background-color:#EEEEEE; height:20px; width:500px; padding:5px"> <div id="innerDiv" style="width:0px; height:19px; text-align:center; background-color:red; color:white"></div> </div> </body> </html>
Views: 41945 kudvenkat
jquery animation queue
 
17:15
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/05/jquery-animation-queue.html In this video we will discuss how jQuery animation queues work. When several calls to animate() method are chained together. By default these calls are placed into a queue to be executed one after the other in series rather than executing all of them simultaneously in parallel. The name of this queue is fx. Each HTML element has its own queue. With the following code there will be 5 calls to animate method placed in the queue of each div element. This means both div elements (myDiv1 & myDiv2) may start to execute the first call to animate method more or less at the same time. However, from the given queue the queued methods are executed one after the other in series. $('#myButton').click(function () { $('#myDiv1') .animate({ 'width': 500 }, 1500) .animate({ 'padding': 20 }, 1500) .animate({ 'font-size': 50 }, 1500) .animate({ 'border-width': 10 }, 1500) .animate({ 'opacity': 1 }, 1500); $('#myDiv2') .animate({ 'width': 500 }, 1500) .animate({ 'padding': 20 }, 1500) .animate({ 'font-size': 50 }, 1500) .animate({ 'border-width': 10 }, 1500) .animate({ 'opacity': 1 }, 1500); }); The following code finds the total number of method calls waiting in the queue. While the first call to animate method is being executed, the other calls are added to the queue and waiting to be executed one after the other in sequence. $('#myDiv1') .animate({ 'width': 500 }, 1500) .queue(function () { console.log('Queued calls = ' + $(this).queue('fx').length); $(this).dequeue(); }) .animate({ 'padding': 20 }, 1500) .animate({ 'font-size': 50 }, 1500) .animate({ 'border-width': 10 }, 1500) .animate({ 'opacity': 1 }, 1500) .queue(function () { console.log('Queued calls = ' + $(this).queue('fx').length); $(this).dequeue(); }); To globally disable all animations $.fx.off = true or jQuery.fx.off = true If you want the calls to animate() to be executed simultaneously in parallel, then set queue option to false. Modify the jQuery code as shown below. $('#myDiv1') .animate({ 'width': 500 }, { duration: 1500, queue: false }) .animate({ 'padding': 20 }, { duration: 1500, queue: false }) .animate({ 'font-size': 50 }, { duration: 1500, queue: false }) .animate({ 'border-width': 10 }, { duration: 1500, queue: false }) .animate({ 'opacity': 1 }, { duration: 1500, queue: false }); $('#myDiv2') .animate({ 'width': 500 }, { duration: 1500, queue: false }) .animate({ 'padding': 20 }, { duration: 1500, queue: false }) .animate({ 'font-size': 50 }, { duration: 1500, queue: false }) .animate({ 'border-width': 10 }, { duration: 1500, queue: false }) .animate({ 'opacity': 1 }, { duration: 1500, queue: false }); There are 2 variations of animate method. We discussed Variation 1 in Part 46 of jQuery tutorial. In the code snippet above we are using Variation 2. Variation 1 .animate( properties [, duration ] [, easing ] [, complete ] ) Variation 2 .animate( properties, options ) For the list of all additional options that you can pass to animate method please check http://api.jquery.com/animate An easier way to animate multiple css properties simultaneously in parallel, is to include all those css properties in a single JSON object. $('#myDiv1') .animate({ 'width': 500, 'padding': 20, 'font-size': 50, 'border-width': 10, 'opacity': 1 }, 1500); $('#myDiv2') .animate({ 'width': 500, 'padding': 20, 'font-size': 50, 'border-width': 10, 'opacity': 1 }, 1500);
Views: 27213 kudvenkat
Responsive Equal Height Columns using Css only - Css Tutorial
 
06:22
Please LIKE our NEW Facebook page for daily updates... https://www.facebook.com/Online-Tutorial-Html-Css-JQuery-Photoshop-1807958766120070/
Views: 18000 Online Tutorials
How to Get Screen Size Using Jquery In Tamil
 
04:53
Complete Jquery in Tamil Tutor Joes Jquery Tamil Tutorial Basic Jquery Tamil Tutorial CSS Style using Jquery in Tamil Adding Class Dynamically Using Jquery In Tamil Adding And Remove Class Dynamically Using Jquery In Tamil First,Last,Child,nth child in Jquery Tamil Show and Hide a Content using Click Event in Jquery Tamil FadeIn,FadeOut Using is Visible in Jquery Tamil How to bind an event in Jquery Tamil How to bind multiple events dynamically using Jquery Tamil Bind and Unbind Events in Jquery Tamil How to Get Screen Size Using Jquery In Tamil Find Window Screen X axis and Y axis in Jquery Tamil MouseMove Event,Click Event,Change Event,Focus Event ,Blur Event For Free source code and Free Project Please visit : http://www.tutorjoes.com/ http://www.facebook.com/tutorjoes http://www.youtube.com/tutorjoes
Views: 1884 Tutor Joe's Stanley
Curso de jQuery desde cero 7 - width & height
 
07:04
Tutorial de jQuery 7 - width & height - CURSO COMPLETO de jQuery: https://bit.ly/2SPi3ZV ►Síguenos en FACEBOOK: https://www.facebook.com/CodigoMentor/
Views: 7827 CodigoMentor
JQuery Tutorial: Fethcing an elements dimensions
 
17:35
we can fetch an elements dimensions including padding border and margin this way
Bootstrap Tutorial | Responsive Image Slider Using HTML , CSS , BOOTSTRAP & Jquery
 
25:56
Bootstrap Tutorial | Responsive Image Slider Using HTML , CSS , BOOTSTRAP & Jquery Download code? Explore at http://rathor.me/ln
Views: 28412 Tech. Rudranshi
Develop A Responsive Website with HTML5, CSS3, jQuery - Part 5 Main CSS 1 of 2
 
29:59
➢ HTML WEBSITE TEMPLATES: http://bit.ly/html-website-templates ➢ WEB HOSTING: http://bit.ly/put-website-online ➢ STARTER FILES: https://goo.gl/hqdo3f ➢ SURVEY: https://w3newbie.com/survey https://www.w3newbie.com/download/5495/ ➢ HTML TEMPLATE/FRAMEWORK: https://goo.gl/hqc749 ➢ SUSCRIBE: http://goo.gl/Y2rJSj ➢ FACEBOOK: https://www.facebook.com/w3newbie/ ➢ TWITTER: https://twitter.com/DrewOnCue ➢ INSTAGRAM: https://www.instagram.com/drew_ryan_/ In this video we'll develop an HTML5 and CSS3 responsive website called "Dharma Yoga" which also includes a jQuery Drop Down Menu and jQuery Image Slider. ________________________________________ SLIDER STYLE /*--- Start Image Slider Style --*/ .slider { max-width: 1020px; box-shadow: 1% 2% 5% 0 rgba(0, 0, 0, 0.07); } .slider1 img{ width: 100%; margin: 0 auto; } .slider .bx-wrapper .bx-controls-direction a { outline: 0 none; position: absolute; text-indent: -9999px; top: 40%; height: 71px; width: 40px; z-index: -1; transition: all 0.7s; } .slider .bx-wrapper:hover .bx-controls-direction a { z-index: 5; } .slider .bx-wrapper .bx-prev { background:#fcebb6 url("http://www.w3newbie.com/wp-content/up...") no-repeat 8px 13px; left: 0px; } .slider .bx-wrapper .bx-prev:hover { background: #fcebb6 url("http://www.w3newbie.com/wp-content/up...") no-repeat 8px 18px; } .slider .bx-wrapper .bx-next { background: #fcebb6 url("http://www.w3newbie.com/wp-content/up...") no-repeat 10px 12px; right: 0px; } .slider .bx-wrapper .bx-next:hover { background: #fcebb6 url("http://www.w3newbie.com/wp-content/up...") no-repeat 10px 17px; } /*--- End Image Slider Style --*/
Views: 9087 Drew Ryan
What is $document ready function in jquery
 
10:24
Link for all dot net and sql server video tutorial playlists http://www.youtube.com/user/kudvenkat/playlists Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/03/what-is-documentreadyfunction-in-jquery.html In this video we will discuss 1. What is $(document).ready(function() in jquery and when to use it 2. Difference between $(window).load and $(document).ready $(document).ready is a jQuery event. It fires as soon as the DOM is loaded and ready to be manipulated by script. This is the earliest point in the page load process where the script can safely access elements in the page's html dom. This event is fired before all the images, css etc.. are fully loaded. The following example works, because the jquery code that adds the event handler to the button is inside the ready() function, which ensures that the DOM is fully loaded before this piece of code is executed, so the JavaScript can find the button element in the DOM and adds the click event hanlder. [html] [head] [title][/title] [script src="Scripts/jquery-1.11.2.js"][/script] [script type="text/javascript"] $(document).ready(function () { $('#button1').click(function () { alert('jQuery Tuorial'); }); }); [/script] [/head] [body] [input id="button1" type="button" value="Click Me" /] [/body] [/html] In the following example, we have removed the ready() method. When you click the button now, you don't get the alert. This is because the jQuery code is present before the button element, so by the time the jQuery code is executed the button element is not loaded into DOM. [html] [head] [title][/title] [script src="Scripts/jquery-1.11.2.js"][/script] [script type="text/javascript"] $('#button1').click(function () { alert('jQuery Tuorial'); }); [/script] [/head] [body] [input id="button1" type="button" value="Click Me" /] [/body] [/html] To make this example work, you have 2 options 1. Place your jQuery code in $(document).ready function OR 2. Place your script at the bottom of the page just before the closing [/body] element $(window).load event fires when the DOM and all the content on the page (images, css etc) is fully loaded. Since the window load event waits for images, css etc to be fully loaded, this event fires after ready event. The following example proves the above point. When you run the page with the following script, notice that the alert in ready function is displayed before the alert in load function. [script type="text/javascript"] $(window).load(function () { alert('Window loaded'); }); $(document).ready(function () { alert('DOM Loaded and ready'); }); [/script] In most cases, the script can be run as soon as the DOM hierarchy has been fully constructed. So ready() is usually the best place to write your JavaScript code. However, in your application there could be scenarios where you should be using $(window).load over $(document).ready. For example, let's say we want to display the actual image dimensions (Height and Width). To get the actual image dimensions, we will have to wait until the image is fully loded, so the jQuery code to get the height and width should be in $(window).load event. Example : If you use $(document).ready() instead of $(window).load() the height and width will be displayed as 0. [html] [head] [title][/title] [script src="Scripts/jquery-1.11.2.js"][/script] [script type="text/javascript"] $(window).load(function (){ $('#div1').html("Height = " + $('#Image1').height() + "[br/]" + "Width = " + $('#Image1').width()) }); [/script] [/head] [body] [div id="div1"][/div] [img src="Chrysanthemum.jpg" id="Image1" /] [/body] [/html]
Views: 226004 kudvenkat
Jquery Tutorial Part 6 in Hindi Project image slider
 
21:13
jquery Lesson 6 Part 6 Jquery image slider Jquery simple image slider image slider width css html jquery jquery Ajax Get function jquery Ajax Post function jquery jquery tutorial for beginners jquery tutorial for beginners in Hindi
Views: 6064 Programming Languages
The difference between offset and position methods in JQuery
 
09:46
The difference between offset and position methods in JQuery Mohit Manuja of qualitylessons.net
height width reposition in animate jquery
 
08:03
jQuery animate() - Uses Queue Functionality By default, jQuery comes with queue functionality for animations. This means that if you write multiple animate() calls after each other, jQuery creates an "internal" queue with these method calls. Then it runs the animate calls ONE by ONE.
Views: 199 Go Freelancer
CSS & jQuery Tutorial: Popup Bubble Tooltip - Coda Style
 
12:20
A nice jQuery Bubble Tooltip - Coda Style ( http://www.panic.com/coda ). Easy to make and to implement to your own html elements. It is also compatible with Internet Explorer but with some modifications. CODES: ____________________________ Import jQuery Library (url): _______________ http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js Javascript (jQuery): _______________ $(document).ready(function(){ $(".menu a").hover(function() { $(this).next("em").animate({opacity: "show", top: "-75"}, "slow"); }, function() { $(this).next("em").animate({opacity: "hide", top: "-85"}, "fast"); }); }); CSS: ______________ .menu { margin: 100px; list-style: none; } .menu li { padding: 0; margin: 0 1px; float: left; position: relative; text-align: center; } .menu a { padding: 10px; display: block; color: #222; width: 150px; text-decoration: none; background: #eaf2f5; -webkit-border-radius: 5px; border:1px solid #09C; } .menu li em { background: url(images/hover.png) no-repeat; width: 180px; height: 45px; position: absolute; top: -85px; left: -15px; text-align: left; padding: 20px; font:12px helvetica, arial, sans-serif; display: none; }
Views: 34499 WebScripts
jQuery Resizable Widget
 
13:44
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/07/jquery-resizable-widget.html In this video we will discuss jQuery Resizable Widget jQuery Resizable Widget allows you to change the size of an element using the mouse Consider the following HTML and CSS <div id="redDiv" class="divClass" style="background-color: red"> Red Div </div> <style> .divClass { font-family: Arial; height: 150px; width: 150px; text-align: center; color:white } </style> To make the div element resizable $(document).ready(function () { $('#redDiv').resizable(); }); jQuery Resizable Widget Options alsoResize - Allows to resize one or more elements synchronously with the resizable element animate - Animates to the final size after resizing. Include .ui-resizable-helper class to display outline while resizing aspectRatio - Specifies whether the element should preserve aspect ratio autoHide - Specifies whether the resize handles should hide when the user is not hovering over the element containment - Constrains resizing to within the bounds of the specified element or region ghost - specifies whether a semi-transparent helper element should be shown for resizing maxHeight - The maximum height you can resize to minHeight - The minimum height you can resize to maxWidth - The maximum width you can resize to minWidth - The minimum width you can resize to jQuery Resizable Widget Events start - Triggered at the start of a resize operation stop - Triggered at the end of a resize operation resize - Triggered during the resize operation Resizing redDiv will also resize blueDiv HTML <div id="redDiv" class="divClass" style="background-color: red"> Red Div </div> <br /> <div id="blueDiv" class="divClass" style="background-color: blue"> Red Div </div> jQuery $(document).ready(function () { $('#redDiv').resizable({ alsoResize:'#blueDiv' }); }); Constrains resizing to within the bounds of the container div HTML <div id="container" style="border: 3px solid black; height: 300px; width: 300px; padding:5px"> <div id="redDiv" class="divClass" style="background-color: red"> Red Div </div> </div> jQuery $('#redDiv').resizable({ containment: '#container' });
Views: 14291 kudvenkat
30. JQuery for Beginners - DIMENSIONS .outerWidth()
 
02:36
FREE Educational tutorials http://villageparksource.com/village-park-university/
Views: 407 Village Park Source