Wrox Programmer Forums
|
ASP E-commerce As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP E-commerce section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 31st, 2004, 05:04 AM
Registered User
 
Join Date: Aug 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to use an image as a button.....

What I would like to do is like this page where you presse on the piture and you have in result a page displaying data from the db. So what would be the code that comes with the image to have the same result as the link below where you clik on the monitor image to display a result from a DB...

http://www.tigerdirect.com/applicati...c.asp?CatId=12
Many thanks again

 
Old August 31st, 2004, 05:20 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to qazi_nomi
Default

If you would like to use image as a button and submit the form then use


<input name="imageField" type="image" src="images/loginButton.gif" width="112" height="41" border="0">


OR if you use image as a link then
simply use link on the image like this
<a href="http://..."><img src = ""></a>


(*_*)


Numan
--------------------------------------------------
Love is the most precious thing of this world. So find and grab it!
 
Old August 31st, 2004, 09:45 AM
Registered User
 
Join Date: Aug 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi NUMAN,
MANY THANKS....

I have passed half a day tring to sort the probme and tried every possible combination but it did not work, what I want is quite simple like thelink on the web site where you press on the monitor and you get a an asp page executed by displaying a content of a DB.........
MANY MANY MANY THX

PS: THSI MY EXAMPLE:

http://www.tigerdirect.com/applicat...lc.asp?CatId=12


 
Old September 9th, 2004, 09:11 AM
Registered User
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to naseer_ch
Default

Hi,
       I hope you will fine

I didn't understand your fully that what u want to say ...........

If you want to say that you want to as in this page are used for example link of " about wrox" then its code is like this

<a href="http://www.wrox.com/go/about"><img src="/images/header/aboutwrox.gif" width="120" height="23" border="0"></a>


If your problem is not this then you can send you page's code to me and I check it & try to solve your problem.........

Thanks
 
Old September 9th, 2004, 09:16 AM
Registered User
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to naseer_ch
Default

Are you want to say that you want to use image on the link of " Accessories " or " shop by brand" etc,etc............

Isin't so.............
 
Old December 12th, 2004, 01:19 AM
Registered User
 
Join Date: Dec 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

<a href='ASPpagename.asp?parameters'><img src=imagename.jpg ' border='0' width=194px height=114px></a>

In the asp page you can write the code to query the database etc





Similar Threads
Thread Thread Starter Forum Replies Last Post
Image button onclick msbsam ASP.NET 2.0 Basics 0 December 30th, 2006 04:47 AM
Dynamic image button Angel6784 ASP.NET 2.0 Basics 2 August 2nd, 2006 01:25 PM
Make a image button as default submit button toshi ASP.NET 1.0 and 1.1 Basics 1 June 1st, 2006 05:25 AM
image as button hosefo81 HTML Code Clinic 2 February 11th, 2004 03:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.