you need to add an http:// in front of the url. www.rochesterpubliclibrary.org/friend is interpreted as a relative link, and assuming it is a page in this folder.
http://www.rochesterpubliclibrary.org/friend will be interpreted as an absolute url, and wil lbe found. 1. You can automatically stick the http:// into the output http://#LogoURL# 2. you can add it to the db record, and leave your code as-is. 3. Or you could do a check to see if the http:// is included, and add it if it is not. I would suggest option 2 for now. On 8/6/07, Susan Hansen <[EMAIL PROTECTED]> wrote: > Thanks Terry. That works to get the image 'clickable'. However, I'm not > getting the correct URL. I've tried making the field a hyperlink, not a > hyperlink, with http:// and without... It keeps putting my referring page URL > first. > > http://www.rochesterpubliclibrary.org/apps/reference/elec_resources/www.rochesterpubliclibrary.org/friend > > > www.rochesterpubliclibrary.org/friend is the page I want the graphic to > launch. > > This is where I have the code. I'm editing someone else's work and I don't > see a loop in this file or the redirect file. > <CFOUTPUT query="DatabaseURL"> > <CFIF LOGO IS ""> > <h4><A href="redirect.cfm?#Client_ID#" > target="_blank">#Client_Name#</a> </h4><br /> > #Client_Desc#<br> > <span > class="funded">#Funded#</span> > <hr /> > > <CFELSE> > <h4><A href="redirect.cfm?#Client_ID#" > target="_blank">#Client_Name#</a> <a href="#LogoURL#"><img > src="http://www.rochesterpubliclibrary.org/apps/reference/elec_resources/graphics/#Logo#" > alt="" class="funded" ></h4> > <br /> > #Client_Desc#<br> > <span > class="funded">#Funded#</span> > <hr /> > > </CFIF> > > > I have been unable to figure out how to make the "funded by" image on > > this cfm page http://www.rochesterpubliclibrary. > > org/apps/reference/elec_resources/databases_all.cfm be a 'clickable' > > link to the funder's homepage. I have the URL in a field in the > > database with the rest of the record's detail. I can't seem to pass > > the variable correctly. > > Appreciate any assistance as I'm a 1/4 time webmaster with 1.5 amount > > of work :) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2988 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
