jQuery Code Tweak (resize not working on browser shrink)
£10-20 GBP
Paid on delivery
I have a piece of jQuery running to equalise the heights of title elements within posts (the posts already have equal height code running on them as well).
To minimise conflicts, I've reused some of the same code, but can't get the resize working when the browser is narrowed:
(function($){
function gridMatchTitleHeight(){
var highestTitle = 0;
$('.recent-activity .fl-post-text').css('height', '').each(function(){
if( $(this).height() > highestTitle ){
highestTitle = $(this).height();
}
});
$('.recent-activity .fl-post-text').height( highestTitle );
}
$(function(){
gridMatchTitleHeight();
});
[login to view URL]( 'resize', gridMatchTitleHeight );
})( jQuery );
It works great if you refresh the page/on page load, but if I could get the resize working when the browser size changes that'd be awesome.
Should hopefully be the work of moments for someone well versed in jQuery (not me), and I can try the code instantly and add it where it needs to be, so no need to log in or edit files etc. Tweak the above, send it over, I'll test, job done.
Project ID: #20466938
About the project
Awarded to:
Hello. I have just read your project. https://www.freelancer.com/u/fastestJohn?w=f This is my profile. I am really interested in your project now. Because my skills are suitable for your project. I like the "Fastest" a More
9 freelancers are bidding on average £16 for this job
Hello, Could you provide a link to the page where this is supposed to run? Your code looks good to me, so I think I'd need to see how the page actually behaves.
Hi there, I am a PHP developer and very keen in your posted job, please check my experience according what you need: Back-End Web Development. 6 years’ commercial experience with CakePHP. 2 years’ commercial experien More
Hello. I can help you. I have more than 10 years of experience in website design and development over HTML, CSS, Bootstrap, Javascript, jQuery, AJAX, Angular, PHP and MySQL technologies. Thanks, regards.
Hi, Myself Avnish Tomar below is the working code you can use it. If gives any error you can msg me i can fix that. If you give me few minutes i can fix this on your desk. <script> function changeSize(){ var highestTi More
HI I am experienced in etc I can start right now but i have few doubts and questions lets have a quick chat and get it started waiting for your reply
Hi I am web designer. I can complete your project perfectly. I have top skill of php and html. I want to work for you. If you have good opinion for me, connect me! thank you. I believe, we meet again soon.