Hi, here's my javascript code defined in my header:

        function destroy(idVal) {
                var parNode = document.getElementById(idVal);
                var childNode = document.getElementById(idVal +

        function display(idVal, someText) {
                var liNode = document.getElementById(idVal);
                var expandEle = document.createElement('div');
                expandEle.setAttribute('id', idVal + 'div');
                expandEle.setAttribute('style', "-moz-border-radius:
20px; color: white; border-radius: 20px; background-color: #CDC0B0;
width: 90px; height: 100px; margin-left: 10px; padding-left: 15px;
margin-top: 10px; padding-top: 10px;");
                var txt = document.createTextNode(someText);

Essentially, I'm trying to do a:

new Effect.SlideDown(expandEle, {duration: 3});

, But to no avail.  What is a way to add this fx to my display()
routine in order to have it show up onmousehover?  Thanks!

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to