I've been trying to learn how to use this tag and i found an example on the web but it does not work.
Can someone tell me why and if you have a better source for me to learn this from i would greatly appreciate it.
Code:
<OBJECT ID=IEMenu1 CLASSID="clsid:7823A620-9DD9-11CF-A662-00AA00C066D2" WIDTH=1 HEIGHT=1 ALIGN=LEFT HSPACE=0 VSPACE=0>
<PARAM NAME="Menuitem[0]" VALUE="This is the first item">
<PARAM NAME="Menuitem[1]" VALUE="This is the second item">
<PARAM NAME="Menuitem[2]" VALUE="This is the third item">
<PARAM NAME="Menuitem[3]" VALUE="This is the fourth item">
<PARAM NAME="Menuitem[4]" VALUE="This is the fifth item">
</OBJECT>
<SCRIPT LANGUAGE="VBScript">
Sub IEMenu1_Click(ByVal x)
Alert "You clicked on menu item: "&x
End Sub
Sub ShowMenu_onClick
call IEMenu1.PopUp()
End Sub
</SCRIPT>
<div onClick="IEMenu1.PopUp()"><b>Drop down menu!</b></div>
Can someone tell me why and if you have a better source for me to learn this from i would greatly appreciate it.
Code:
<OBJECT ID=IEMenu1 CLASSID="clsid:7823A620-9DD9-11CF-A662-00AA00C066D2" WIDTH=1 HEIGHT=1 ALIGN=LEFT HSPACE=0 VSPACE=0>
<PARAM NAME="Menuitem[0]" VALUE="This is the first item">
<PARAM NAME="Menuitem[1]" VALUE="This is the second item">
<PARAM NAME="Menuitem[2]" VALUE="This is the third item">
<PARAM NAME="Menuitem[3]" VALUE="This is the fourth item">
<PARAM NAME="Menuitem[4]" VALUE="This is the fifth item">
</OBJECT>
<SCRIPT LANGUAGE="VBScript">
Sub IEMenu1_Click(ByVal x)
Alert "You clicked on menu item: "&x
End Sub
Sub ShowMenu_onClick
call IEMenu1.PopUp()
End Sub
</SCRIPT>
<div onClick="IEMenu1.PopUp()"><b>Drop down menu!</b></div>