Click to See Complete Forum and Search --> : hotkeys in html


biktoryah
03-25-2003, 01:35 AM
hi need to know how i could put in hotkeys in html...for example i would like this
-----------
<a href="state_substate.asp?code=1" title="WORK LIST BROWSE START(BRS)" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('imgBRS','','images/M_BRS_MOUSEOVER.jpg',1)"><img name="imgBRS" border="0" src="images/M_BRS_CLICK.jpg" width="63" height="27"></a>
-------------

to have a ctrl B as its hotkey..

thanks,
biktoryah :confused:

jpmoriarty
03-25-2003, 02:52 AM
i think you'd include the code accesskey="b" in the a tag:

[code]
<a href="state_substate.asp?code=1" title="WORK LIST BROWSE START(BRS)" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('imgBRS','','images/M_BRS_MOUSEOVER.jpg',1)" accesskey="b"><img name="imgBRS" border="0" src="images/M_BRS_CLICK.jpg" width="63" height="27"></a>

biktoryah
03-31-2003, 10:18 PM
i tried using accesskey="b" but unfortunately it didnt work...do u have any other suggestions? tnx

biktoryah

biktoryah
03-31-2003, 10:51 PM
i used Internet Explorer version 6.0

tnx
biktoryah

biktoryah
03-31-2003, 11:20 PM
when i press alt b i could see in the status bar that the url that it is suppose to go to is displaying..but unfortunately its not submitting...is there a way to resolve this?

fyi, m using frames..the accesskey is on the left_frame while the page that it should go to is in the right_frame ( i dont know if this has some effect to the accesskey but i do have a base target on the left_frame)

biktoryah

biktoryah
04-01-2003, 03:52 AM
just discovered this while i was testing the system...

in pressing alt b the status bar still shows the correct URL it should go to...and if i press enter thats when the page would submit...

is there anyway wherein i cud just force the page to submit (press enter)

tnx a bunch,
biktoryah :confused: