PDA

View Full Version : javascript help + showing off my newly learnt js knowledge


chriskq
09-06-2006, 05:37 AM
Hey all,
im being slowy taught some javascripting at where i work... which is cool. I found a good library reference (better than moo.fx in my opinion) here: http://jstween.blogspot.com/#TweenMethodsEx

i have started to develop a few various functions, but have gotten a lil stuck on this one http://www.massarcade.com/chris_testing/JS/divDrop.html

i like the ease in and ease out function for the dropping div. only prob is i dont want it to be visible above the static image (div id="meStay")

<div class="Dropping">
<div id="meStay"></div>
<div id="meToToggle">
Go Down (javascript: moveDown();)Go Up (javascript: moveUp();)
<div class="cDivBoth"></div>
</div>
</div>

i have already used z indexes to get the static image div ("meStay") to be the top layer.

basically i want similar functionality to http://www.timbenzinger.com/ where you can click to expand the div.... although i dont want a boring toggle function which just shows and hides a div.

pls help guys. Cheers

davidj
09-07-2006, 07:58 AM
have you tried to set your overflow to hidden