RS6
Member
Registered: 5th Nov 03
Location: with MJ
User status: Offline
|
Long shot anybody know how its done
i've got an image of a button i want to use just need the menu coming down from it?
i know how to code a drop down just don't know how to get the button i want working with it
|
ChazSXi
Member
Registered: 26th Jan 03
User status: Offline
|
|
RS6
Member
Registered: 5th Nov 03
Location: with MJ
User status: Offline
|
not helping ^
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
so you've got a graphica button that when the mouse goes over it, causes a drop down menu?
surely you put a mouseover in the img tag to call the menu routine to drop down at x and y etc 
[Edited on 13-04-2005 by Dom]
|
James_DT
Member
Registered: 9th Apr 04
Location: Cambridgeshire
User status: Offline
|
That's exactly how you do it.
For clicking the image, you'd use onClick="java shit here();" inside the <img> tag and for mouse over its onMouseOver="java shit here();". Don't forget to use onMouseOut to clear the menu afterwards.
|
RS6
Member
Registered: 5th Nov 03
Location: with MJ
User status: Offline
|
thanks guys seems to make sense now
|
RS6
Member
Registered: 5th Nov 03
Location: with MJ
User status: Offline
|
what am i doing wrong?
</select></a></td>
<td width="142" height="35">
<img src="a:\team.jpg" onMouseOver= option value="Please Select Option
<option value="Latest News"
<option value="League News"; return true"
</select></td> ></A>
|
Tim
Site Administrator
Registered: 21st Apr 00
User status: Offline
|
Lots!
DHTML drop-down menus (like on the 'message board' menu on thie site) are not the same as an HTML form SELECT drop-down menu...
I suggest you do a google for DHTML menus and download a ready-written version 
Plus why are you loading an image from a:\ drive...
[Edited on 14-04-2005 by Tim]
|
Mather.16v
Member
Registered: 1st Nov 04
Location: Stockport
User status: Offline
|
http://www.javascriptkit.com/cutpastejava.shtml
i use this for pritty much all simple java scripts
|