Connecting Tech Pros Worldwide Forums | Help | Site Map

capturing popup-menu item generated by right click!

amit
Guest
 
Posts: n/a
#1: Jul 17 '06
Hello Group,

How can I capture which option of a popup menu is chosen when user
does a right click on a link?

You have see so many links which lead to a download or ... like: <A>
Download here </ANow if user chooses "Save Target As ..." he can
download the file. I need to find out which option off the list is
chosen?

Thanks,
Amit.


Randy Webb
Guest
 
Posts: n/a
#2: Jul 18 '06

re: capturing popup-menu item generated by right click!


amit said the following on 7/17/2006 6:05 PM:
Quote:
Hello Group,
>
How can I capture which option of a popup menu is chosen when user
does a right click on a link?
You can't.
Quote:
You have see so many links which lead to a download or ... like: <A>
Download here </ANow if user chooses "Save Target As ..." he can
download the file. I need to find out which option off the list is
chosen?
Ask the user, otherwise you have no way of knowing.
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Temporarily at: http://members.aol.com/_ht_a/hikksnotathome/cljfaq/
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
amit
Guest
 
Posts: n/a
#3: Jul 18 '06

re: capturing popup-menu item generated by right click!



Randy Webb wrote:
Quote:
amit said the following on 7/17/2006 6:05 PM:
Quote:
Hello Group,

How can I capture which option of a popup menu is chosen when user
does a right click on a link?
>
You can't.
>
Quote:
You have see so many links which lead to a download or ... like: <A>
Download here </ANow if user chooses "Save Target As ..." he can
download the file. I need to find out which option off the list is
chosen?
>
Ask the user, otherwise you have no way of knowing.
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Temporarily at: http://members.aol.com/_ht_a/hikksnotathome/cljfaq/
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

This type of things are possible in application programming, that's why
I thought it would be possible in web development too. However, if
still there is somebody know think there is a possibililty please let
me know it.

thanks again.
amit

Randy Webb
Guest
 
Posts: n/a
#4: Jul 19 '06

re: capturing popup-menu item generated by right click!


amit said the following on 7/18/2006 6:47 PM:
Quote:
Randy Webb wrote:
Quote:
>amit said the following on 7/17/2006 6:05 PM:
Quote:
>>Hello Group,
>>>
>>How can I capture which option of a popup menu is chosen when user
>>does a right click on a link?
>You can't.
>>
Quote:
>>You have see so many links which lead to a download or ... like: <A>
>>Download here </ANow if user chooses "Save Target As ..." he can
>>download the file. I need to find out which option off the list is
>>chosen?
>Ask the user, otherwise you have no way of knowing.
>
This type of things are possible in application programming, that's why
I thought it would be possible in web development too.
Whether it is fortunate or not is a matter of opinion.
Quote:
However, if still there is somebody know think there is a
possibililty please let me know it.
If anybody tells you they can, then call them a liar.
Using a custom context menu, sure. Write your own menu to mimic the
browsers and then you can know, otherwise, you can't.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Temporarily at: http://members.aol.com/_ht_a/hikksnotathome/cljfaq/
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Closed Thread