View Full Version : Sliding menu
BuckleUp
09-18-2001, 12:05 PM
I found this pretty cool menu:
http://javascript.internet.com/navigation/slide-menu.html
Thing is, my knowledge of JavaScript is very limited. Can anyone look at the source and tell me how to change the size of the box? Whenever I try and enter the names for my own links I end up with just a green line on the screen.
Also, is it possible to have a picture in the background or am I stuck with a single flat colour?
Any help would be great.
Any large amounts of money would be even better still.
Dr. Web
09-18-2001, 02:00 PM
ok, there are parts that say siteName and numbers. You are to change those to the NAMES of the link. Then you go down to the same number for siteLinks and enter the full url of the LINK, like so:
siteName[0] = "New JavaScripts";
siteName[1] = "volcanoes";
siteName[2] = "Item 3";
siteName[3] = "Item 4";
siteName[4] = "Item 5";
siteName[5] = "Item 6";
siteLink[0] = "http://javascript.internet.com/new/";
siteLink[1] = "http://www.volcanic-design.com/volc_links.htm/";
siteLink[2] = "link3";
siteLink[3] = "link4";
siteLink[4] = "link5";
siteLink[5] = "link6";
you can see how siteName[1] says volcanoes
and siteLiunk[1] is the url of "http://www.volcanic-design.com/volc_links.htm"
petervazed
09-18-2001, 03:32 PM
This is the part of the box:
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<STYLE>
#menuOut, #menuIn
{
position:absolute;
left:-155px;
width:160px;
top:170px;
border:2.5px solid green;
background-color:khaki;
layer-background-color:khaki;
font:bold 14px ;
line-height:30px;
font-family: copperfield bold; comic sans ms; Arial Black;
}
</STYLE>
</HEAD>
-----------
Change: width:160px; 160 to 200 or 120
Change: line-height:30px; 30 to 50 or 20
--------
****Also, is it possible to have a picture in the background or am I stuck with a single flat colour?***
Image as bg: No
****Any help would be great.
Any large amounts of money would be even better still.***** Ask :santa: :cheers:
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.