Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Scirkhan
Apprentice


Joined: 14 Sep 2007
Posts: 167
Location: aztx

PostPosted: 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.
Reply with quote
Myrkul
Wanderer


Joined: 21 Aug 2008
Posts: 85

PostPosted: 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
Reply with quote
Scirkhan
Apprentice


Joined: 14 Sep 2007
Posts: 167
Location: aztx

PostPosted: 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
Reply with quote
Myrkul
Wanderer


Joined: 21 Aug 2008
Posts: 85

PostPosted: 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
Reply with quote
Scirkhan
Apprentice


Joined: 14 Sep 2007
Posts: 167
Location: aztx

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net