Results 1 to 3 of 3

Thread: Problem using suckertree

  1. #1
    Join Date
    Mar 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Problem using suckertree

    Hi all,

    i tried to implement the horizontal suckertree.

    now this works (still trying to get some good layout)

    but i got a strange problem.

    When my mouse stays pointed on a menu link he shows the submenu but after 5 seconds he makes the menu very wide (screenshot)

    anyone an idea how i can solve this ?

    included are my css file, and my java file


    in my html i put :

    [CODE
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>korfbal</title>
    <link href="css/website.css" rel="stylesheet" type="text/css" />
    <link href="css/submenu.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="javascripts/menu.js"/>
    <script type="text/javascript"></script>
    <script type="text/javascript" src="javascripts/paginas.js"/>
    <script type="text/javascript"></script>
    </head>
    <div class="menu_container">
    <div class="suckertreemenu">
    <ul id="treemenu1">
    <li><a href="#">Item 1</a></li>
    <li><a href="#">Item 2</a></li>
    <li><a href="#">Folder 1</a>
    <ul>
    <li><a href="#">Sub Item 1.1</a></li>
    <li><a href="#">Sub Item 1.2</a></li>
    <li><a href="#">Sub Item 1.3</a></li>
    <li><a href="#">Sub Item 1.4</a></li>
    </ul>
    </li>
    <li><a href="#">Item 3</a></li>
    <li><a href="#">Folder 2</a>
    <ul>
    <li><a href="#">Sub Item 2.1</a></li>
    <li><a href="#">Folder 2.1</a>
    <ul>
    <li><a href="#">Sub Item 2.1.1</a></li>
    <li><a href="#">Sub Item 2.1.2</a></li>
    <li><a href="#">Sub Item 2.1.3</a></li>
    <li><a href="#">Sub Item 2.1.4</a></li>
    </ul>
    </li>
    </ul>
    </a>
    </li>
    <li><a href="#">Item 4</a></li>
    </ul>
    </div>
    [/CODE]

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Give this a try I don't see it expanding on mine but it might be an ie issue or something else
    Code:
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>korfbal</title>
    <link href="css/website.css" rel="stylesheet" type="text/css" />
    <link href="css/submenu.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="javascripts/menu.js"/>
    <script type="text/javascript"></script>
    <script type="text/javascript" src="javascripts/paginas.js"/>
    <script type="text/javascript"></script>
    </head>
    <div class="menu_container">
    This

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>korfbal</title>
    <link href="css/website.css" rel="stylesheet" type="text/css" />
    <link href="css/submenu.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="javascripts/paginas.js"/></script>
    <script type="text/javascript" src="javascripts/menu.js"/></script>
    </head>
    <body>
    <div class="menu_container">
    and then this
    Code:
    <li><a href="#">Sub Item 2.1.4</a></li>
    </ul>
    </li>
    </ul>
    </a>
    </li>
    <li><a href="#">Item 4</a></li>
    </ul>
    </div>
    this

    Code:
    		<li><a href="#">Sub Item 2.1.4</a></li>
    			</ul>
    		</li>
    		</ul>
    	</li>
    	<li><a href="#">Item 4</a></li>
    	</ul>
    	</div>
    </div>
    </body>
    </html>

  3. #3
    Join Date
    Mar 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You can find my site on http://korfbal.kbkc.be

    i fixed the bug in IE6 but in IE7 he makes a weird outlining on the submenus (also the black rectangle is out of position :s )

    Can someone tell me what i'm doiing wrong ?
    Last edited by Boerie; 03-01-2009 at 07:11 PM.

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
  •