Peruttu

Javascript Equal Heights - Please read carefully!

I have a javascript code which sets 2 divs to equal heights. My issue is that one of the divs needs to be offset by a certain number of pixels in order for it to show up correctly on the page. For example, my div left_square_repeat is about 168px lower than the div center_content. With the javascript code that I have, it sets the height the same but left_square_repeat is 168px longer because of it's lower. I need someone to implement another peice of code that will cause left_square_repeat to be offset by 168px AFTER it matches the height of center_content. If you need to see the website please let me know. NO CANNED responses please or I'll ignore you. This should be an easy fix for someone who knows what they're doing, $30 budget.

Here's the JavaScript code I"m using:

function setH() {

var maxH = [url removed, login to view]([url removed, login to view]('left_square_repeat').offsetHeight,[url removed, login to view]('center_content').offsetHeight);

[url removed, login to view]('left_square_repeat').style.height=maxH+'px';

[url removed, login to view]('center_content').style.height=maxH+'px';

}

window.onload=setH;

Taidot: Javascript

Näytä lisää: div fix website, c read example, what is javascript, what is a javascript, javascript what is, javascript max, px, please, please read this carefully, fix javascript, divs, javascript order function, div fix, CAREFULLY, style issue, code read, website please, javascript math function, issue javascript, math javascript function, javascript issue, read code, javascript implement, window order, javascript example

About the Employer:
( 2 reviews ) Brownsville, United States

Projektin tunnus: #490795

1 freelanceria on tarjonnut keskimäärin 30 $ tähän työhön

gangabass

I can do this job for you. See PM for details.

30 $ USD 0 päivässä
(32 arvostelua)
4.8
ezee

Hi there, We can solve this quickly, We would be glad in accomplishing your work based on your requirement. It would be our pleasure to work with you and start a fruit full relation at both the end. I request you to, c Lisää

30 $ USD 1 päivässä
(10 arvostelua)
3.5