paultrotter50's public fiddles
-
n7eL8783
No-Library (pure JS), HTML, CSS, JavaScript
-
High DPI canvas
Experimenting to create a high DPI canvas for use on ipad etc
-
canvas example
messing with canvas
-
canvas example
messing with canvas
-
gaa46y6k
No-Library (pure JS), HTML, CSS, JavaScript
-
ppnd4L15
No-Library (pure JS), HTML, CSS, JavaScript
-
xdGRD
No-Library (pure JS), HTML, CSS, JavaScript
-
Problem with detecting the height of position absolute content
This fiddle shows the problem I am having with getting detecting the height of position absolute content. I need to detect the height of the ul.sub-types so that I can set the height of the div.tab-panel (shown with a blue outline) to match its contents. Unfortunately the function seems to run twice - the first time it detects the correct value and adjusts the blue outlined tab-panel correctly. Then it immediately seems to run again and returns an incorrect value. You can see this most clearly when you click on family in the left hand column and then the bottom Family Double on the right hand side. Any advice on how to fix this would be greatly appreciated.