View Full Version : Resolved switch menu

11-30-2008, 08:19 PM
1) Script Title: swtch menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm

3) Describe problem: Once published the switch menu always appear fully opened, I manage to make it extend and contract, but I'd like it to first apper contracted. Now it first appears extended.
Thanks to all of those that will try to help me.

11-30-2008, 08:40 PM
Please post a link to your site or attach the code.

11-30-2008, 08:54 PM
This is the html code, the java is the same as the original,and i use expression web 2. thank you

<div id="masterdiv">

<div class="menutitle" onclick="SwitchMenu('sub1')"><a class="style11" href="index.html">HOMEPAGE</a></div>

<div class="style13" onclick="SwitchMenu('sub2')">
<a class="style11"><strong>T-SHIRTS</strong></a></div>
<span id="sub2">

<a href="index.html" class="style14"><span class="style15">Short
sleeve t-shirts</span></a><br/>

<a href="t-shirtmanicalunga.html" class="style14">
<span class="style15">Long sleeve t-shirts</span></a><br/>
<a href="tshirtpersonalizzate.html" class="style14">
<span class="style15">
Customize t-shirts </span></a><br/>

<div class="menutitle" onclick="SwitchMenu('sub3')">
<a class="style11" href="poster.html">POSTERS</a></div>

<div class="menutitle" onclick="SwitchMenu('sub4')">

<a class="style11" href="borse.html">BAG</a></div>

<div class="style13" onclick="SwitchMenu('sub5')">
<a class="style11"><strong>BEER</strong></a></div>
<span id="sub5">

<a href="storia.html" class="style14"><span class="style15">Beer's history</span></a><br/>

<a href="stili.html" class="style14"><span class="style15">Beer's style </span></a><br/>

<a href="poesia.html" class="style14"><span class="style15">The beer in the poetry</span></a><br/>
<a href="Frasi.html" class="style14"><span class="style15">Famous quote</span></a><br/>
<div class="menutitle" onclick="SwitchMenu('sub6')">

<a class="style11" href="slideshow2.html">SLIDESHOW</a></div>
<div class="menutitle" onclick="SwitchMenu('sub6')">

<a class="style11" href="contatti.html">CONTACTS</a></div>

The site is the site beer t-shirt (http://www.beer-tshirt.com)

12-01-2008, 03:23 PM
I have resolved

12-01-2008, 03:26 PM
Oh ok, I was just looking at it but I guess I don't need to anymore. Make sure you go to your first post, edit, go advanced and add the Resolved prefix to this thread.