SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru TacMaf's Avatar
    Join Date
    Dec 2005
    Location
    Manchester, United Kingdom
    Posts
    663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Collapse outside 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.

    Thanks.

  2. #2
    SitePoint Guru TacMaf's Avatar
    Join Date
    Dec 2005
    Location
    Manchester, United Kingdom
    Posts
    663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've been trying different methods and it only seems to collapse inside the frame. Is there something I'm missing that can make the box expand and overlap the frame?

    Thanks.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •