Name: zasdfg Date: June 28, 2006 at 14:55:29 Pacific Subject: a key to enter/open a link??!? OS: win CPU/Ram: win
Comment:
hello, is it possible to asign a pc key to open/enter some link we have on our site? see this site as an ex: http://www.theraconteurs.com/
if we press space we enter the site, but here its all done in flash, i wonder if i can do it (open a link pressing a pc key) in asimple way, not entering this all flash terrotory , cus i don´t know how ot create in flash.. the only things i im used to do in flash is using soemtimes some little free flash scripts already create dby someone else.. possible? thanks.
EDIT-just cus i done some mistakes due to fast typing
hello, is it possible to assign a pc key to open/enter some link we have on our site? see this site as an ex: http://www.theraconteurs.com/
if we press space we enter the site, but here its all done in flash, i wonder if i can do it (open a link pressing a pc key) in a simple way, not "entering" in all this flash territory , cus i don´t know how ot create in flash.. the only things i im used to do in flash is using sometimes some little free flash scripts already created dby someone else.. possible? thanks.
hello again, so i read abaut "AccessKeys" , dreamweaver as a "field" when we create a link that let us set the Acesskey , so this would be perfect, but theres one thing that may not totally perfect for me and im just checking if theres no possibility to have a solution, ..we have to use alt+ with the key we choose, so we can open the link, not possible to get rid of the alt+ and just press the key to open the link? .. other think is ..it seems i can´t use the kay "enter" or "esc" or "space" ..just alphabetic and numbers .. no way i can use "enter" with this Acesskeys option?? thanks.
..and i see if we hit "tab" key in the site , it "follows " the various links i have in the site ..and so if i hit "enter" it opens the link .. so i guess no, this isn´t possible, i doubt it, but by any chance can we make a linkwe want/choose already selected (like when we do tab)when the site loads ?
With regard to response #4 you must not have looked at the first example I posted. It does not use the Access Key.
As for the Tab/Enter issue, as long as the user does not hit tab first, the enter key does not have a link selected to open.
Just use a key listener (as in the first example) and have it do whatever it is you want when whatever key you want is pressed. There are no "tools" in DW to do this for you. Look at the code in the first example and modify it for your needs.