Java Script / HTML little qu
#1
Scooby Regular
Thread Starter
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes
on
0 Posts
Ive done dave's before hes onto about the 5th person doing his web site + i wouldnt trust him one bit!
so far...
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length ;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shad ow(color='#777777', Direction=135, Strength=5)"
}
else
{
effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}
timegap=500
followspeed=5
followrate=40
suboffset_top=10;
suboffset_left=10;
style1=[
"navy",
"ccccff",
"ffebdc",
"4b0082",
"000000",
12,
"normal",
"normal",
"Verdana, Arial",
4,
"pics/arrow.gif",
5,
"66ffff",
"000099",
"Purple",
"pink",
"pics/arrowdn.gif",
"ffffff",
"000099",
]
addmenu(menu=[
"mainmenu",
20,
150,
,
1,
,
style1,
1,
"left",
effect,
,
1,
0,
,
,
,
,
,
,
,
,
,"KonceptDevelopment.coms","http://www.Konceptdevelopments",,"Koncept Developments",1
,"Custom Body Work ","show-menu=directories",,"",1
,"Koncept Project Cars ","show-menu=network",,"",1
,"Also Available at Koncept ","show-menu=downloads",,"",1
,"About Us","http://www.Konceptdevelopments",,"About Us ",1
,"Contact Us","http://www.Konceptdevelopments",,"About Us ",1
])
addmenu(menu=["directories",
,,185,1,"",style1,,"left",effect,,,,,,,,,,,,
,"Smoothing","show-menu=smooth",,,1
,"Fitment"," ",,,1
,"Bonnets"," ",,,1
,"Custom Work"," ",,,1
,"Colour Coding","",,,1
,"Paint","",,,1
,"Your Ideas?...","",,,1
,"Quote Me","",,,1
])
addmenu(menu=["smooth",
,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
,"Smoothed Tail gates","",,,0
,"Smoothed Scuttle","",,,0
,"Smoothed Side Skirts","",,,0
,"Smoothed Arches","",,,0
,"De lock/handle","",,,0
,"Custom Smoothing","",,,0
,"Smoothed Trim","",,,0
])
addmenu(menu=["network",
,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
,"Koncept Cars","",,,1
,"Koncept Customers","",,,1
])
addmenu(menu=["downloads",,,160,1,,style1,0,"left",effect,0,,,,, ,,,,,,
,"Custom Exhaust","",,,1
,"Tuning","",,,1
,"Retrims","",,,1
,"RAGE paints","url",,,1
])
addmenu(menu=["Other",
,,140,1,,style1,0,"left","randomdissolve(duration= 0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
,"","",,"Milonic DHTML Menu Site",1
])
dumpmenus()
I also cant get links to other pages for example, smooth arches, i did "/pics/smootharches" didnt work
Si
[Edited by super_si - 7/4/2002 9:08:54 PM]
so far...
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length ;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shad ow(color='#777777', Direction=135, Strength=5)"
}
else
{
effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}
timegap=500
followspeed=5
followrate=40
suboffset_top=10;
suboffset_left=10;
style1=[
"navy",
"ccccff",
"ffebdc",
"4b0082",
"000000",
12,
"normal",
"normal",
"Verdana, Arial",
4,
"pics/arrow.gif",
5,
"66ffff",
"000099",
"Purple",
"pink",
"pics/arrowdn.gif",
"ffffff",
"000099",
]
addmenu(menu=[
"mainmenu",
20,
150,
,
1,
,
style1,
1,
"left",
effect,
,
1,
0,
,
,
,
,
,
,
,
,
,"KonceptDevelopment.coms","http://www.Konceptdevelopments",,"Koncept Developments",1
,"Custom Body Work ","show-menu=directories",,"",1
,"Koncept Project Cars ","show-menu=network",,"",1
,"Also Available at Koncept ","show-menu=downloads",,"",1
,"About Us","http://www.Konceptdevelopments",,"About Us ",1
,"Contact Us","http://www.Konceptdevelopments",,"About Us ",1
])
addmenu(menu=["directories",
,,185,1,"",style1,,"left",effect,,,,,,,,,,,,
,"Smoothing","show-menu=smooth",,,1
,"Fitment"," ",,,1
,"Bonnets"," ",,,1
,"Custom Work"," ",,,1
,"Colour Coding","",,,1
,"Paint","",,,1
,"Your Ideas?...","",,,1
,"Quote Me","",,,1
])
addmenu(menu=["smooth",
,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
,"Smoothed Tail gates","",,,0
,"Smoothed Scuttle","",,,0
,"Smoothed Side Skirts","",,,0
,"Smoothed Arches","",,,0
,"De lock/handle","",,,0
,"Custom Smoothing","",,,0
,"Smoothed Trim","",,,0
])
addmenu(menu=["network",
,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
,"Koncept Cars","",,,1
,"Koncept Customers","",,,1
])
addmenu(menu=["downloads",,,160,1,,style1,0,"left",effect,0,,,,, ,,,,,,
,"Custom Exhaust","",,,1
,"Tuning","",,,1
,"Retrims","",,,1
,"RAGE paints","url",,,1
])
addmenu(menu=["Other",
,,140,1,,style1,0,"left","randomdissolve(duration= 0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
,"","",,"Milonic DHTML Menu Site",1
])
dumpmenus()
I also cant get links to other pages for example, smooth arches, i did "/pics/smootharches" didnt work
Si
[Edited by super_si - 7/4/2002 9:08:54 PM]
#2
Scooby Regular
Thread Starter
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes
on
0 Posts
wrote this state ment
","Custom Body Work ","show-menu=directories",,"",1"
When i hold the mouse over i want it to say "Custom Work"
the html's "alt="Click here to enter the message board""
But i dont know where to insert
","Custom Body Work ","show-menu=directories",,"",1"
When i hold the mouse over i want it to say "Custom Work"
the html's "alt="Click here to enter the message board""
But i dont know where to insert
#3
The alt tag only works with images, you need the <acronym> tag:
<acronym title="Click here to enter the message board"><a href="messageboard.htm">Message Board</a></acronym>
You're javascripf looks somewhat incomplete. What are you trying to do with it?
Oh, and just a wild guess but this wouldn't be for Chameleon Automotive would it?
<acronym title="Click here to enter the message board"><a href="messageboard.htm">Message Board</a></acronym>
You're javascripf looks somewhat incomplete. What are you trying to do with it?
Oh, and just a wild guess but this wouldn't be for Chameleon Automotive would it?
#4
Scooby Regular
Thread Starter
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes
on
0 Posts
done that before he used people for someone else
the codes right its all working!
I just want it so when people go over the button it'll say "contact us" or "about us"
With java script im not 100% sure of the code
the codes right its all working!
I just want it so when people go over the button it'll say "contact us" or "about us"
With java script im not 100% sure of the code
#5
"done that before he used people for someone else"
Sorry? I don't follow!
The alt tag goes in your <img> tag for the image button, eg:
<a href="messageboard.htm"><img src="button1.gif" width="24" height="12" border="0" alt="Message Board"></a>
If this still makes no sense, post the code of your page and I'll show you exactly where it needs to go.
Sorry? I don't follow!
The alt tag goes in your <img> tag for the image button, eg:
<a href="messageboard.htm"><img src="button1.gif" width="24" height="12" border="0" alt="Message Board"></a>
If this still makes no sense, post the code of your page and I'll show you exactly where it needs to go.
Trending Topics
#17
I don't mean to sound unhelpful but to be brutally honest, you're probably better off ditching whichever complex javascript you have to create these menus and concentrate on learning static html first.
When you've got to grips with that, then's the time to start on the trickier stuff. I can remember what it was like when I first started learning, I'd find something that looked cool and drove myself mad trying to fiddle it to make it work, without having the slightest clue what most of it did.
If you want cool drop down menus with the minumum of fuss, get hold of Macromedia Fireworks 4 or Fireworks MX, it has a wizard in it to make them and they don't look naff either!
When you've got to grips with that, then's the time to start on the trickier stuff. I can remember what it was like when I first started learning, I'd find something that looked cool and drove myself mad trying to fiddle it to make it work, without having the slightest clue what most of it did.
If you want cool drop down menus with the minumum of fuss, get hold of Macromedia Fireworks 4 or Fireworks MX, it has a wizard in it to make them and they don't look naff either!
#18
Scooby Regular
Thread Starter
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes
on
0 Posts
Dont worry spoke 2 trotty on MSN i had sort of solved the problem i understand the code. It was opening linking in certain frames never worked right
thanks anyway
Si
thanks anyway
Si
Thread
Thread Starter
Forum
Replies
Last Post
shorty87
Full Cars Breaking For Spares
19
22 December 2015 11:59 AM
Pro-Line Motorsport
Car Parts For Sale
2
29 September 2015 07:36 PM
shorty87
Wheels And Tyres For Sale
0
29 September 2015 02:18 PM