Yootheme javascript matchHeight

Mainly for my own reference because i keep forgetting how this works and i have to trawl through the javascript file again.

Tto match height on other elements outside of the defined template items i have found that:

$.matchHeight('innerbottom', '#innerbottom .grid-h', '.deepest').match();
//$.matchHeight('ClosestEncosingDivID canAddChildrenIds ', 'PathToItem, 'dontKnowYet).match();
$.matchHeight('maininner #funstuff', '.grid-h h3').match();
$.matchHeight('maininner #morefunstuff', '.grid-h h3').match();
$.matchHeight('funstuff', '#funstuff .grid-h .ptpwidget .ptp_mod_desc').match();
$.matchHeight('morefunstuff', '#morefunstuff .grid-h .ptpwidget .ptp_mod_desc').match();

looks like the first variable needs to be unique so $.matchHeight('maininner ', ' #funstuff .grid-h h3').match(); and $.matchHeight('maininner ', ' #morefunstuff .grid-h h3').match(); wont work because they both have maininner as the first passed variable

You may be interested in...

Had enough browsing?

Get in touch

Get in touch

We wont charge you for the inital project meeting. So really you have nothing to lose.

Fill out the form below with as much information as you can provide and we will be in touch with you asap to discuss.

Please type your full name. Also only allowing alpha numeric characters here. Why do you have all this fancy stuff in your name anyway?

Invalid email address.

Please enter a valid phone number.

Enquiry Type(*)
Invalid Input

Please only use alphanumeric characters in your message

Invalid Input