SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member vSkyfluxx's Avatar
    Join Date
    Mar 2006
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    2 collapsible menu problems

    Hi, the collapsible menu in question is at:
    http://www.petris.org/Templates/petris3.dwt

    Why is it that when i expand all the buttons in IE it stretches the "outer_main" container but when i click them all in Firefox or Opera, they just overlap with the footer? How can I fix this?

    Secondly, if you look at the external JavaScript file (mainbehavior.js) there's the following section:
    Code:
    oLinks[i].onmouseover = function() {
    	swap(oLinks[i].firstChild, "title");
    	return false;
    }
    oLinks[i].onmouseout = function() {
    	swap(oLinks[i].firstChild, "title");
    	return false;
    }
    What I'm trying to do here is get the shortened link titles to expand to the full names when moused over. (The swap function is later in the file and just switches the innerHTML and passed-in attribute of a given element.) This doesn't work as it is and I can't figure out why.

    Any help would be appreciated

  2. #2
    SitePoint Member vSkyfluxx's Avatar
    Join Date
    Mar 2006
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Forget item #2, I fixed it ...if anyone cares I had to change
    Code:
     swap(oLinks[i].firstChild, "title");
    to
    Code:
     swap(this.firstChild, "title");
    Could still use some help with #1 though!


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
  •