3rd Sub Section

  • 1
  • Question
  • Updated 9 years ago
  • Answered
Hi there,

Does anybody know the code for adding another subsection within a subsection? I'm planning to use it with the CSS Horizontal List Menu which I got from Yola Codes. Please help.

Thanks,
Ellie
Photo of Ellie

Ellie

  • 38 Posts
  • 1 Reply Like
  • unsure

Posted 9 years ago

  • 1
Photo of lambofgod

lambofgod

  • 875 Posts
  • 35 Reply Likes
Hey,
what is the url of the code you are using? Just so I know exactly which one it is.
Thanks
Photo of Ellie

Ellie

  • 38 Posts
  • 1 Reply Like
Hey lambofgod,

I got the code from this url:
http://yolacodes.yolasite.com/csshori...
(From the yolatestsite)

Ellie
Photo of lambofgod

lambofgod

  • 875 Posts
  • 35 Reply Likes
Thanks, I am currently testing some things out on it. You had to pick a hard menu LOL
I'll see what I can do-Dan
Photo of lambofgod

lambofgod

  • 875 Posts
  • 35 Reply Likes
Yay I have it. Read the very bottom for details
<!--
<script type="text/javascript">

// Copyright 2006-2007 javascript-array.com

var timeout = 500;
var closetimer = 0;
var ddmenuitem = 0;

// open hidden layer
function mopen(id)
{
// cancel close timer
mcancelclosetime();

// close old layer
if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';

// get new layer and show it
ddmenuitem = document.getElementById(id);
ddmenuitem.style.visibility = 'visible';

}
// close showed layer
function mclose()
{
if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
}

// go close timer
function mclosetime()
{
closetimer = window.setTimeout(mclose, timeout);
}

// cancel close timer
function mcancelclosetime()
{
if(closetimer)
{
window.clearTimeout(closetimer);
closetimer = null;
}
}

// close layer when click-out
document.onclick = mclose;

</script></div></div><div id="I18" style="display:block;clear: both;" class="HTML_Default"><div id="I18_html"><ul id="sddm">

<li><a href="http://yolacodes.yolasite.com/">HOME&...>

<li><a href="http://www.yolacodes.yolasite.com/rul...>

<li><a href="http://yolacodes.yolasite.com/blog.ph...>

<li><a href="#" onmouseover="mopen('m1')" onmouseout="mclosetime()">TUTORIALS</a>
<div id="m1"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime()">
<a href="http://www.yola.com/tutorials.html" target="_blank">Yola</a>
<a href="http://forsite.synthasite.com/" target="_blank">Forsite</a>
<ul><a href="http://kanthaidecor.com/test.php" target="_blank">John's backgrounds</a>
</div>
</ul>
</li>

<li><a href="#" onmouseover="mopen('m2')" onmouseout="mclosetime()">RESOURCES</a>
<div id="m2"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime()">
<a href="http://honeybearplayhomes.synthasite...." target="_blank">Ed's links page</a>
<a href="http://kanthaidecor.com/backgrounds.php" target="_blank">John's backgrounds</a>
<li><
</div>
</li>

<li><a href="#" onmouseover="mopen('m4')" onmouseout="mclosetime()">NEED HELP?</a>
<div id="m4"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime()">
<a href="http://yolacodes.yolasite.com/request... help</a>
<a href="http://www.yolacodes.yolasite.com/con... Moderator</a>
</div>
</li>

<li><a href="http://www.yolacodes.yolasite.com/mem... MEMBERS</a></li>

</ul>
<div style="clear:both"></div>
-->

What you need to add is in the Tutorials section. Just say if you need more help.
Photo of Ellie

Ellie

  • 38 Posts
  • 1 Reply Like
You mean between the <!--<ul> and </ul>-->?

Ellie
Photo of lambofgod

lambofgod

  • 875 Posts
  • 35 Reply Likes
Here is a screenshot. I circled in red of what you need to add:
Photo of Ellie

Ellie

  • 38 Posts
  • 1 Reply Like
I know what you mean and thanks.

Ellie
Photo of lambofgod

lambofgod

  • 875 Posts
  • 35 Reply Likes
No problem, I was glad to do it. May I see the end result when you are finished?
Photo of Ellie

Ellie

  • 38 Posts
  • 1 Reply Like
The third subsection, didn't work out as I planned. I think I'll stick to my original one. But if you still want to see it, then go to this link:
http://sitebuilder.yola.com/sites/S3/...

Ellie
Photo of Boomer

Boomer, Champion

  • 2055 Posts
  • 84 Reply Likes
Hi Ellie,

I posted some code here and then deleted it. Don't use it if you got the email - It's incorrect! I'll post the correct code later. It's 2AM here and I got a busy day ahead.
If you still need help tomorrow, I'd be happy to help you set up the menu.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Thanks guys for helping out!