DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   JavaScript / DHTML / AJAX (http://www.daniweb.com/forums/forum117.html)
-   -   Collapse Outside the frame (http://www.daniweb.com/forums/thread119045.html)

Olynsky Apr 14th, 2008 7:15 am
Collapse Outside the frame
 
Hi, I have a script which collapses the menu, inside its frame.

PHP Code:


<script language="JavaScript">

function collapseMenu(sectionID) {

var obj = document.getElementById(sectionID);

if (obj.className == "Collapse") {

obj.className="DeCollapse";

}

else {

obj.className="Collapse";

}

}



</script>


Is it possible to have it expand and collapse outside the frame?

For example similar to the onMouseover drop-down menu. (Example: http://www.resellerspanel.com/)

I'm no good with flash so I'd like to keep to javascript and PHP.


All times are GMT -4. The time now is 7:30 pm.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC