Is there a way i can make text preform an action, but in a html popup such as inside the browser?
In other words, instead of a button being the one clicked, it would be text. and how could i do it?
-EDIT-
I dont mean like a url, like when you clcik the text, it'd start a proc. that kinda thing.
1
2
ID:271026
Dec 17 2006, 4:32 am
|
|
Dec 17 2006, 5:42 am
|
|
If I understand you correctly, you would use topic.
|
In response to Dragon_fire6653
|
|
and how about if i wanted multiple lines in the same popup?. like:
Line 1: Here1 Line 2: Here2 |
In response to Chibi-Gohan0
|
|
So, your asking what to do if you want something like :
Click here : [topic() link here] Click here to : [topic() link here] ? |
In response to Dragon_fire6653
|
|
yeah, two in one popup?
|
In response to Chibi-Gohan0
|
|
ok.You keep saying pop-up, do you want it in the browser, or in an actual "pop-up"?
Anyways,using the same way as before, you can just add another if statement to Topic() and make another link. client/Topic(href) |
In response to Dragon_fire6653
|
|
thanks
|
In response to Dragon_fire6653
|
|
That would be usr.procedure, because you are the topics usr not src, and you should put usr in a proc, it is bad practice.
|
In response to Xx Dark Wizard xX
|
|
Incorrect, since it's a client/Topic, he should be using mob. not usr. or src. to call a mob/proc :|
- GhostAnime |
In response to Xx Dark Wizard xX
|
|
You probably want something like this
client |
In response to Xx Dark Wizard xX
|
|
Thanks for all the help. i understand the basics of it anyway.
|
In response to Chibi-Gohan0
|
|
Another question, if i made it with html so yo ucant close out, how could i use one of those to close the popup?
like a Cancel text butten for example? |
In response to Chibi-Gohan0
|
|
mob<<browse(null,null)
|
In response to Xx Dark Wizard xX
|
|
Okay, thanks.
|
In response to Chibi-Gohan0
|
|
If you wanted to close multiple windows, you would need to store them in a list, and then loop through them and call a close topic on them.
|
In response to Xx Dark Wizard xX
|
|
easy. makes sence too.
|
In response to Xx Dark Wizard xX
|
|
Xx Dark Wizard xX wrote:
mob<<browse(null,null) This dident work. When i hit the cancel button, it did nothing. |
In response to Chibi-Gohan0
|
|
What do you mean a "cancel" button? You probably want to do some html input and when clicked calls topic.
|
In response to Xx Dark Wizard xX
|
|
As in, if i set the popup's can_close=0 can_resize=0 can_minimize=0
So you cant close it normally. I want a button that can close it somehow.. i know its been done. |
In response to Chibi-Gohan0
|
|
How can i do this?
|
1
2