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 07 April 2002, 09:06 PM
  #1  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
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]
Old 04 July 2002, 07:37 PM
  #2  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
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
Old 04 July 2002, 08:37 PM
  #3  
AdrianFRST
Scooby Regular
 
AdrianFRST's Avatar
 
Join Date: Oct 2000
Posts: 368
Likes: 0
Received 0 Likes on 0 Posts
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?
Old 04 July 2002, 08:45 PM
  #4  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
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
Old 04 July 2002, 08:59 PM
  #5  
AdrianFRST
Scooby Regular
 
AdrianFRST's Avatar
 
Join Date: Oct 2000
Posts: 368
Likes: 0
Received 0 Likes on 0 Posts
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.


Old 05 July 2002, 06:41 AM
  #6  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
Post

have you fixed it yet....youve no email address
Old 05 July 2002, 04:48 PM
  #7  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
Post

thanks for the help
Old 05 July 2002, 04:51 PM
  #8  
Trotty
Scooby Regular
 
Trotty's Avatar
 
Join Date: Feb 2002
Posts: 179
Likes: 0
Received 0 Likes on 0 Posts
Post

That'd be Koni's site then Si?
Old 05 July 2002, 04:57 PM
  #9  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
Post

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

Si
Old 05 July 2002, 04:59 PM
  #10  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
Post

sent to -bearings account

Si

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

Si
Old 05 July 2002, 05:04 PM
  #11  
Trotty
Scooby Regular
 
Trotty's Avatar
 
Join Date: Feb 2002
Posts: 179
Likes: 0
Received 0 Likes on 0 Posts
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
Old 05 July 2002, 05:19 PM
  #12  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
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
Old 05 July 2002, 05:24 PM
  #13  
Trotty
Scooby Regular
 
Trotty's Avatar
 
Join Date: Feb 2002
Posts: 179
Likes: 0
Received 0 Likes on 0 Posts
Post

I'm off out in a min! Send it to ian@iantrott.co.uk mate
Old 05 July 2002, 05:25 PM
  #14  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
Post

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

Si
Old 06 July 2002, 10:39 PM
  #15  
AdrianFRST
Scooby Regular
 
AdrianFRST's Avatar
 
Join Date: Oct 2000
Posts: 368
Likes: 0
Received 0 Likes on 0 Posts
Post

That code does absolutely nothing on it's own, can you post the whole page including the html?
Old 06 July 2002, 10:50 PM
  #16  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
Post

Email it to...............
Old 07 July 2002, 09:16 PM
  #17  
AdrianFRST
Scooby Regular
 
AdrianFRST's Avatar
 
Join Date: Oct 2000
Posts: 368
Likes: 0
Received 0 Likes on 0 Posts
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!
Old 07 July 2002, 09:25 PM
  #18  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
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
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
shorty87
Full Cars Breaking For Spares
19
22 December 2015 11:59 AM
psport
Subaru Parts
3
04 October 2015 07:35 PM
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
shorty87
Other Marques
0
25 September 2015 08:52 PM



Quick Reply: Java Script / HTML little qu



All times are GMT +1. The time now is 02:57 AM.