Wrox Programmer Forums
|
ASP CDO 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 CDO 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 September 10th, 2005, 07:32 AM
Registered User
 
Join Date: Sep 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Hyperlinking a image

how to make a image hyperlinked using response.write

i tried but did not succeed

here is the code
Response.Write "Next: <A HREF='" & MyPageNext & "'>" & MyDescriptNext & <img src="Arrow.gif" border="0"> "</A> &nbsp&nbsp"

here MyPageNext and MyDescriptNext are variables and i want to print like this
Next: xxxxxxx[image]

mail id: [email protected]

 
Old September 26th, 2005, 03:04 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hii lotuseducation!!
Change your script

<%
MyPageNext=10 'here is ur href
MyDescriptionNext="Description"
Response.Write "Next: <A HREF='" & MyPageNext & "'>" & MyDescriptNext & "<img src='test.gif' border='0'></A> &nbsp&nbsp"

%>

Hope this will help you

Cheers :)

vinod
 
Old September 30th, 2005, 05:26 AM
Authorized User
 
Join Date: Aug 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,

if u using .net then try this. which is fully solved.
Dim myval, imgname As String
        myval = "http:\\www.rediffmail.com"
        imgname = "arrow.gif"

        Response.Write("Next : <A href='" & myval & "'> MyDescription<image src='" & imgname & "'></a>")

dkautilya
[email protected]





Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload image-create & save thumbnail-display image angshujit ASP.NET 2.0 Professional 6 July 11th, 2013 10:34 PM
set image on <asp:Image> stored in DataBase myself.panku ASP.NET 2.0 Professional 1 August 11th, 2008 10:41 AM
hyperlinking to other pages jinxyfeet Dreamweaver (all versions) 1 October 9th, 2005 08:31 AM
hyperlinking from access field marketingmaggie Classic ASP Basics 3 February 26th, 2004 07:39 AM
hyperlinking with password Ray Pinnegar Pro PHP 2 November 10th, 2003 07:59 AM





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