Closed Thread
Results 1 to 2 of 2

Thread: Collapse Outside the frame

  1. #1
    Kolyn_Kryw's Avatar
    Kolyn_Kryw is offline Newbie
    Join Date
    Apr 2008
    Posts
    6
    Rep Power
    0

    Exclamation Collapse Outside the frame

    Hi, I have a script which collapses the menu, inside its frame.

    HTML 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: Web hosting, reseller hosting and an affiliate program)

    I'm no good with flash so I'd like to keep to javascript and PHP.
    Last edited by Jaan; 04-26-2008 at 01:32 AM. Reason: Use tags when you're posting your codes!

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    Re: Collapse Outside the frame

    By "frame", do you mean when the screen is divided up into sections? If so, it's best to avoid them, as they can be displayed incorrectly on some browsers, and are a nightmare to print.

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How can I put a 2d array into a frame?
    By blaze505 in forum C and C++
    Replies: 4
    Last Post: 04-28-2011, 12:39 PM
  2. CSS issue on Frame
    By cakka in forum JavaScript and CSS
    Replies: 1
    Last Post: 01-23-2009, 10:13 AM
  3. Collapse a table
    By phpforfun in forum JavaScript and CSS
    Replies: 1
    Last Post: 01-13-2009, 07:03 PM
  4. Turning an AVI frame into .bmp
    By Zajec in forum C and C++
    Replies: 1
    Last Post: 01-13-2009, 12:07 PM

Tags for this Thread

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