|
Scirkhan Apprentice
Joined: 14 Sep 2007 Posts: 167 Location: aztx
|
Posted: Sun Feb 20, 2011 2:41 am
hyperlink |
When I click something in a menu, how do I cause it to emulate what happens when you click on a hyperlink?
right click text, click option one, browser opens up website
This is more difficult than using left-click.
I made a menu and put this in it
#mxp This is a <a "http://www.zuggsoft.com" "Zugg Software">hyperlink</a>
but that doesn't work, at this stage I need it to do exactly what clicking on the link that causes my browser to go to that website does.
I tried making a menu with mxp. I've tried various things.
Please respond quickly, thank you.
EDIT:
Basically, I'm asking to make an option in the right-click menu a hyperlink. |
|
|
|
Myrkul Wanderer
Joined: 21 Aug 2008 Posts: 85
|
Posted: Sun Feb 20, 2011 4:17 am |
[edit][/edit]
|
|
Last edited by Myrkul on Thu Apr 14, 2011 11:05 pm; edited 1 time in total |
|
|
|
Scirkhan Apprentice
Joined: 14 Sep 2007 Posts: 167 Location: aztx
|
Posted: Sun Feb 20, 2011 4:33 am |
That is incredible Myrkul. I really appreciate it. I was STUCK. I guess I didn't look hard enough.
What do you think about this so far?
Code: |
CLASS {Clickable} {setdef}
#CLASS 0
#CLASS {Clickable|Dictionary} {setdef}
#VAR lookup {%selword}
#MENU {"Lookup" %selword} {#VAR lookup "%selword";#URL http://dictionary.reference.com/browse/@lookup} ""
#CLASS 0 |
|
|
|
|
Myrkul Wanderer
Joined: 21 Aug 2008 Posts: 85
|
Posted: Sun Feb 20, 2011 4:54 am |
[edit][/edit]
|
|
Last edited by Myrkul on Thu Apr 14, 2011 11:05 pm; edited 1 time in total |
|
|
|
Scirkhan Apprentice
Joined: 14 Sep 2007 Posts: 167 Location: aztx
|
Posted: Sun Feb 20, 2011 4:57 am |
Thank you. Yeah it defeats the purpose, I was wondering about that..
Now I'm thinking about adding a 'google' option that'll google the highlighted text. Heh.
The menu stuff is kind of fun. |
|
|
|
|
|