473,811 Members | 2,597 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

image buttons with out java script

Does anybody know how to make an image a "submit"-button WITHOUT using
JavaScript ?

means i have three image buttons in my first.jsp.

if i press first image it has to go back.jsp

when i press middle image it has to go close.jsp

when i press last image it has to go next.jsp
can u pz tell me how can i submit these thing with out any javascript
as well as i can't use any sort of scripting lang.

can u plz send me this information

Regards

Nath
Jul 23 '05 #1
4 1502
On 15 May 2004 03:31:49 -0700, nath wrote:
Does anybody know how to make an image a "submit"-button WITHOUT using
JavaScript ?
So ..why are you asking in a JS group?
means i have three image buttons in my first.jsp.


It's not because you confuse
Java with Javascript, is it?
<http://www.physci.org/codes/javafaq.jsp#js>

(shrugs) That's from my Java
FAQ, ..follow the links.

...but.

<a href='lastpage. htm'>
<img src='back.gif' alt='back'>
</a>

Should do the trick, and since you are
generating your pages using .jsp, you
can keep track of the user's last page
and insert it programmaticall y.

Or of course, there is always.

<p>Hint: to go back, hit the 'Back' or '<-'
button in your browser, or the 'Backspace'
key on the keyboard.</p>

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #2
nath wrote:
Does anybody know how to make an image a "submit"-button WITHOUT using
JavaScript ?

This a javascript news group (not java) so to ask this question here is
illogical.
means i have three image buttons in my first.jsp.

if i press first image it has to go back.jsp

when i press middle image it has to go close.jsp

when i press last image it has to go next.jsp


Let the jsp servlet handle the redirects, based on which button has been
pressed. The buttons should consist of an input element with the type
attribute set to 'image' and the name attribute set, e.g.:

<input type="image" src="image.gif" name="first" />

Clicking this button wil send parameters to the server with the names
first_x and first_y where the jsp servlet can redirect to the appropriate
page.
JW


Jul 23 '05 #3
Lee
nath said:

Does anybody know how to make an image a "submit"-button WITHOUT using
JavaScript ?

means i have three image buttons in my first.jsp.

if i press first image it has to go back.jsp

when i press middle image it has to go close.jsp

when i press last image it has to go next.jsp
can u pz tell me how can i submit these thing with out any javascript
as well as i can't use any sort of scripting lang.

can u plz send me this information


This is USENET. We don't send information to you, you return
to this newsgroup and read responses. We also use the SHIFT
key where appropriate and spell words out, particularly when
asking for help, because we recognize that readability on the
part of the person who might be willing to answer the question
is more important than the few seconds saved by lazy typing.

Jul 23 '05 #4
On 15 May 2004 08:09:11 -0700, Lee wrote:
We also use the SHIFT
key where appropriate and spell words out,..


Maybe they just lost it?

(To the OP) Here, use mine..
<http://www.physci.org/kbd.jsp?key=shi ft>

Or maybe it's..
<http://www.physci.org/kbd.jsp?key=cap s>

;-)

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3055
by: Dave | last post by:
Hi all, I was trying to make an image submit button with a rollover and discovered to my suprise that there is no way to access a form element of the "image" type. I tried specifying it by name and also by the elements array with no luck. Even weirder, I can sandwich an image button in between other input types and then write a script diplaying the contents of the elements array and it acts as if the image button does not exist at all!...
17
29424
by: santel_helvis | last post by:
Hi All, Could anyone tell me how to rotate the image in javascript. Which concepts I should concentrate to rotate the image
2
2985
by: sachaburnett | last post by:
Hi everyone! I'm new to Javascript and am finding so much useful information on this group, so thanks to you all! I have a question about preloading images for onmouseover/out effects and found so many different ways to do it on the Net but am not sure about something. Right now I have the following code inside my <head> tag:
3
3940
by: kayahr | last post by:
Hi there, I have a strange problem in Internet Explorer (IE6 and IE7). I'm writing a JavaScript application which allows the user to edit a photo composition. So when the user selects a photo then a frame is drawn around it with resize and rotate buttons. Now it happened to me that I replaced these buttons (32x32) with larger images (48x48). The filenames were not changed, I only copied the new images over the old ones. Then I reloaded the...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10402
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10135
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9205
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7670
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6890
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4339
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3018
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.