Results 1 to 2 of 2
Thread: Getting the hyperlink URL
- 11-27-2010, 04:18 PM #1
Member
- Join Date
- Nov 2010
- Posts
- 1
- Rep Power
- 0
Getting the hyperlink URL
Hi,
I'm in the process of customizing an Internet Explorer menu by following the example here: Extending the Internet Explorer context menu - The Old New Thing - Site Home - MSDN Blogs
But I don't want to open the current document in Mozilla.
Instead I want to right click a hyperlink and select to open this link in the other browser (this is my custom menu item)
So I need to change this bit of code
<SCRIPT>
var shell = new ActiveXObject("WScript.Shell");
shell.run("mozilla \"" + external.menuArguments.document.URL + "\"");
</SCRIPT>
to something that references to the URL I'm currently hoovering over.
Any ideas?
Thank you in advance,
Leifster
-
Your question is a JavaScript question and this is a Java forum. JavaScript has as much to do with Java as Hamster has to do with Ham. I suggest you Google for a JavaScript forum and ask this question there.
Luck.
Similar Threads
-
get data from hyperlink
By shyameni in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 02-19-2010, 10:32 AM -
How to create a hyperlink from a text in Java
By javanewbie in forum New To JavaReplies: 2Last Post: 06-05-2009, 02:12 PM -
Hyperlink in swing
By aneesahamedaa in forum AWT / SwingReplies: 1Last Post: 07-28-2008, 03:41 PM -
[SOLVED] Hyperlink
By Mir in forum New To JavaReplies: 91Last Post: 07-09-2008, 11:37 AM -
Hide hyperlink address on status bar
By simon in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 07-24-2007, 10:34 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks