Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Script for using the Back button and the Close button Post 84579 by mdgibson on Tuesday 27th of September 2005 08:33:57 AM
Old 09-27-2005
Question Script for using the Back button and the Close button

Here's a question I have for anyone that might be able to help me:

I can write a html script that will allow the user to return to the previous page using the back button, and I can write a script that will allow the user to return to the previous page using the close button, but...is there a script that can be used that would allow the user to do both?

I have a website and some of my visitors want to use the close button to return to my site, while others want to use the back button to return to the previous page...lol Go figure!

Ok...that's it. Hope someone can help me!

Thanks!
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

need help with html button

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

Changing middle mouse button for pasting to right mouse button in cygwin rxvt

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

include virtual perl-script - submit button opens a new page..

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

include virtual perl-script - submit button opens a new page..

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

Help to create a Return Button using shell script CGI

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

Launch shell script with parameters from a webpage button

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

New Thread Button

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?

Thanks Button Coming to Mobile Soon

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?

Thank You Button is Working on Mobile Now

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
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, buttons support the following additional widget com- mands: 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)
All times are GMT -4. The time now is 07:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy