Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Java Script / HTML little qu

Thread Tools
 
Search this Thread
 
Old Apr 7, 2002 | 09:06 PM
  #1  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

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]
Reply
Old Jul 4, 2002 | 07:37 PM
  #2  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

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
Reply
Old Jul 4, 2002 | 08:37 PM
  #3  
AdrianFRST's Avatar
AdrianFRST
Scooby Regular
 
Joined: Oct 2000
Posts: 368
Likes: 0
Post

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?
Reply
Old Jul 4, 2002 | 08:45 PM
  #4  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

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
Reply
Old Jul 4, 2002 | 08:59 PM
  #5  
AdrianFRST's Avatar
AdrianFRST
Scooby Regular
 
Joined: Oct 2000
Posts: 368
Likes: 0
Post

"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.


Reply
Old Jul 5, 2002 | 06:41 AM
  #6  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

have you fixed it yet....youve no email address
Reply
Old Jul 5, 2002 | 04:48 PM
  #7  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

thanks for the help
Reply
Old Jul 5, 2002 | 04:51 PM
  #8  
Trotty's Avatar
Trotty
Scooby Regular
 
Joined: Feb 2002
Posts: 179
Likes: 0
Post

That'd be Koni's site then Si?
Reply
Old Jul 5, 2002 | 04:57 PM
  #9  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

yeah ive got it working, the menus running fine ill send you a copy, its just little touch up things

Si
Reply
Old Jul 5, 2002 | 04:59 PM
  #10  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

sent to -bearings account

Si

thinking, would 2b be enough for linux?? unless ill try get my 15gb drive working

Si
Reply
Old Jul 5, 2002 | 05:04 PM
  #11  
Trotty's Avatar
Trotty
Scooby Regular
 
Joined: Feb 2002
Posts: 179
Likes: 0
Post

Can't get my work mail at the mo, will pick it up on Monday.

2Gb for Linux? Would be do-able, but a lil' stingy. Depends how much you want to install really?

Ian
Reply
Old Jul 5, 2002 | 05:19 PM
  #12  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

What about your profile email addy? or get on msn

All i needs the shells more then anything just using the GUI would be interesting

Si
Reply
Old Jul 5, 2002 | 05:24 PM
  #13  
Trotty's Avatar
Trotty
Scooby Regular
 
Joined: Feb 2002
Posts: 179
Likes: 0
Post

I'm off out in a min! Send it to ian@iantrott.co.uk mate
Reply
Old Jul 5, 2002 | 05:25 PM
  #14  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

Ok mate cheers, thinking all i needs command line really but whole thing would be nice

Si
Reply
Old Jul 6, 2002 | 10:39 PM
  #15  
AdrianFRST's Avatar
AdrianFRST
Scooby Regular
 
Joined: Oct 2000
Posts: 368
Likes: 0
Post

That code does absolutely nothing on it's own, can you post the whole page including the html?
Reply
Old Jul 6, 2002 | 10:50 PM
  #16  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

Email it to...............
Reply
Old Jul 7, 2002 | 09:16 PM
  #17  
AdrianFRST's Avatar
AdrianFRST
Scooby Regular
 
Joined: Oct 2000
Posts: 368
Likes: 0
Post

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!
Reply
Old Jul 7, 2002 | 09:25 PM
  #18  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

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
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
shorty87
Full Cars Breaking For Spares
19
Dec 22, 2015 11:59 AM
psport
Subaru Parts
3
Oct 4, 2015 07:35 PM
Pro-Line Motorsport
Car Parts For Sale
2
Sep 29, 2015 07:36 PM
shorty87
Wheels And Tyres For Sale
0
Sep 29, 2015 02:18 PM
shorty87
Other Marques
0
Sep 25, 2015 08:52 PM




All times are GMT +1. The time now is 08:17 AM.