09-27-2005
Sorry if I am dumb, but you made me highly confused.
What did you mean by "go back to previous page"? With which method? Note that you can go back with a Javascript "window.history.back()" and also with a submit button whose containing form action is the previous page URL. But the underlying action is totally different.
And I'm even more confused by your saying of "returning to your site". Closing a popup that shows another site? Or use a javascript to trap the onclose event?
And I don't think you can have a single button with a same set of code that someone presses will do one thing while the others will do another provided the code is the same. Unless you generate some dynamic javascript depends on user with CGI or related stuff. Anyway, that doesn't appear to be anywhere intuitive to me.
I'm a Web developer too, but your description really didn't make much sense to me .....
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everyone, I am trying to implement an html button that will call a script and pass two arguments "perl script.pl website.com 1" this is for a search results page on a php spider called "sphider". the variable $url? is the url and Than needs to be one of the arguments in calling the script.... (0 Replies)
Discussion started by: mike171562
0 Replies
2. UNIX for Dummies Questions & Answers
Hi, I'm using rxvt in Cygwin and I'm wondering how to change my mouse bindings from the middle button for pasting to the right button. The main reason why I want to do this is because my laptop doesn't have a middle mouse button. Thanks for any help! (2 Replies)
Discussion started by: sayeo
2 Replies
3. Shell Programming and Scripting
hello 2 all
I can't understand how to insert a perl-script into .shml in a right way. <form> should be working but it's not
doing that: <!--#include virtual="/cgi-bin/script.cgi?filename"-->
filename is a name of the file which script is using
the script is used for a score show (the number... (0 Replies)
Discussion started by: tip78
0 Replies
4. Web Development
hello 2 all
I can't understand how to insert a perl-script into .shml in a right way. <form> should be working but it's not
doing that: <!--#include virtual="/cgi-bin/script.cgi?filename"-->
filename is a name of the file which script is using
the script is used for a score show (the number... (3 Replies)
Discussion started by: tip78
3 Replies
5. Shell Programming and Scripting
Hello Guys,
I would like to know how can I create a radio button on that its possible to return to the last page, using a ksh CGI shell script.
Can someone help ?
Thanks so much !!!:b:
I tried this, but it is a javascript code !
<INPUT TYPE="button"
VALUE="BACK"
... (2 Replies)
Discussion started by: robdcb
2 Replies
6. Shell Programming and Scripting
I want to create a simple html page that should contain 2 fields in which the user can write the input. Then I want to have a button that should launch a shell script with the parameters inserted by user in the fields from the webpage.
This is the code behind my webpage:
<html>
<form... (2 Replies)
Discussion started by: black_fender
2 Replies
7. Post Here to Contact Site Administrators and Moderators
Where do I find the New Thread Button so I can post a message to get some help in an issue I am having ? (2 Replies)
Discussion started by: kstalder
2 Replies
8. What is on Your Mind?
FYI... I have the thumbs-up icon and the tooltip for thanking members for their posts displaying in mobile; but I have to change the legacy $.ajax() code in mobile before the button works; but it will be working sooner than later:
https://www.unix.com/members/1-albums214-picture1022.jpeg
I... (1 Reply)
Discussion started by: Neo
1 Replies
9. What is on Your Mind?
RE:
https://www.unix.com/what-is-on-your-mind-/280775-thanks-button-coming-mobile-soon.html
Now, the "Thank You" icon is working on mobile so all registered members can "give thanks" on mobile.
Seems to work fine. (2 Replies)
Discussion started by: Neo
2 Replies
LEARN ABOUT OSX
ttk_button
ttk::button(n) Tk Themed Widget ttk::button(n)
__________________________________________________________________________________________________________________________________________________
NAME
ttk::button - Widget that issues a command when pressed
SYNOPSIS
ttk::button pathName ?options?
_________________________________________________________________
DESCRIPTION
A ttk::button widget displays a textual label and/or image, and evaluates a command when pressed.
STANDARD OPTIONS
-class -compound -cursor
-image -state -style
-takefocus -text -textvariable
-underline -width
See the ttk_widget manual entry for details on the standard options.
WIDGET-SPECIFIC OPTIONS
[-command command] A script to evaluate when the widget is invoked. [-default default] May be set to one of normal, active, or disabled.
In a dialog box, one button may be designated the "default" button (meaning, roughly, "the one that gets invoked when the user presses
<Enter>"). active indicates that this is currently the default button; normal means that it may become the default button, and disabled
means that it is not defaultable. The default is normal.
Depending on the theme, the default button may be displayed with an extra highlight ring, or with a different border color.
[-width width] If greater than zero, specifies how much space, in character widths, to allocate for the text label. If less than zero,
specifies a minimum width. If zero or unspecified, the natural width of the text label is used. Note that some themes may specify a non-
zero -width in the style.
WIDGET COMMAND
In addition to the standard cget, configure, identify, instate, and state commands, checkbuttons support the following additional widget
commands:
pathName invoke
Invokes the command associated with the button.
COMPATIBILITY OPTIONS
[-state state] May be set to normal or disabled to control the disabled state bit. This is a "write-only" option: setting it changes the
widget state, but the state widget command does not affect the state option.
SEE ALSO
ttk::widget(n), button(n)
KEYWORDS
widget, button, default, command
Tk 8.5 ttk::button(n)