Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old May 23rd, 2006, 08:45 PM
Jeff
Guest
 
Posts: n/a
Default hyperlink in asp

Hey gang.

i have this

Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") & vbCrLf

coming from access db.

how can i get that to make a hyperlink clickable as well??

Thanks


  #2  
Old May 23rd, 2006, 09:45 PM
Anthony Jones
Guest
 
Posts: n/a
Default Re: hyperlink in asp


"Jeff" <gig_bam@adelphia.net> wrote in message
news:9u6dnRfjR5ox-e7ZnZ2dnUVZ_umdnZ2d@adelphia.com...[color=blue]
> Hey gang.
>
> i have this
>
> Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") & vbCrLf
>
> coming from access db.
>
> how can i get that to make a hyperlink clickable as well??
>
> Thanks
>
>[/color]

http://www.w3schools.com/

Run through HTML and ASP sections.


  #3  
Old May 23rd, 2006, 10:15 PM
Jeff
Guest
 
Posts: n/a
Default Re: hyperlink in asp

"Anthony Jones" <Ant@yadayadayada.com> wrote in message
news:OP%23G1iqfGHA.3572@TK2MSFTNGP04.phx.gbl...[color=blue]
>
> "Jeff" <gig_bam@adelphia.net> wrote in message
> news:9u6dnRfjR5ox-e7ZnZ2dnUVZ_umdnZ2d@adelphia.com...[color=green]
>> Hey gang.
>>
>> i have this
>>
>> Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") &
>> vbCrLf
>>
>> coming from access db.
>>
>> how can i get that to make a hyperlink clickable as well??
>>
>> Thanks
>>
>>[/color]
>
> http://www.w3schools.com/
>
> Run through HTML and ASP sections.
>
>[/color]
I don't mind searching, but I can't find the key words to find what I am
looking for.
Any ideas?


  #4  
Old May 23rd, 2006, 11:05 PM
Mike Brind
Guest
 
Posts: n/a
Default Re: hyperlink in asp


Jeff wrote:[color=blue]
> "Anthony Jones" <Ant@yadayadayada.com> wrote in message
> news:OP%23G1iqfGHA.3572@TK2MSFTNGP04.phx.gbl...[color=green]
> >
> > "Jeff" <gig_bam@adelphia.net> wrote in message
> > news:9u6dnRfjR5ox-e7ZnZ2dnUVZ_umdnZ2d@adelphia.com...[color=darkred]
> >> Hey gang.
> >>
> >> i have this
> >>
> >> Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") &
> >> vbCrLf
> >>
> >> coming from access db.
> >>
> >> how can i get that to make a hyperlink clickable as well??
> >>
> >> Thanks
> >>
> >>[/color]
> >
> > http://www.w3schools.com/
> >
> > Run through HTML and ASP sections.
> >
> >[/color]
> I don't mind searching, but I can't find the key words to find what I am
> looking for.
> Any ideas?[/color]

This is pretty basic stuff. How would you make a hyperlink in html?
Then how would you response.write that?

--
Mike Brind

  #5  
Old May 24th, 2006, 12:25 AM
Jeff
Guest
 
Posts: n/a
Default Re: hyperlink in asp

I understand that, but I don't understand how to make it read a text block,
from a DB, and make it show clickable links, when needed.

Back to the drawing board i guess..lol



"Mike Brind" <paxtonend@hotmail.com> wrote in message
news:1148421459.990188.169730@j33g2000cwa.googlegr oups.com...[color=blue]
>
> Jeff wrote:[color=green]
>> "Anthony Jones" <Ant@yadayadayada.com> wrote in message
>> news:OP%23G1iqfGHA.3572@TK2MSFTNGP04.phx.gbl...[color=darkred]
>> >
>> > "Jeff" <gig_bam@adelphia.net> wrote in message
>> > news:9u6dnRfjR5ox-e7ZnZ2dnUVZ_umdnZ2d@adelphia.com...
>> >> Hey gang.
>> >>
>> >> i have this
>> >>
>> >> Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") &
>> >> vbCrLf
>> >>
>> >> coming from access db.
>> >>
>> >> how can i get that to make a hyperlink clickable as well??
>> >>
>> >> Thanks
>> >>
>> >>
>> >
>> > http://www.w3schools.com/
>> >
>> > Run through HTML and ASP sections.
>> >
>> >[/color]
>> I don't mind searching, but I can't find the key words to find what I am
>> looking for.
>> Any ideas?[/color]
>
> This is pretty basic stuff. How would you make a hyperlink in html?
> Then how would you response.write that?
>
> --
> Mike Brind
>[/color]


  #6  
Old May 24th, 2006, 01:45 AM
Kyle Peterson
Guest
 
Posts: n/a
Default Re: hyperlink in asp


http://www.powerasp.com/content/new/...hyperlinks.asp


"Anthony Jones" <Ant@yadayadayada.com> wrote in message
news:OP%23G1iqfGHA.3572@TK2MSFTNGP04.phx.gbl...[color=blue]
>
> "Jeff" <gig_bam@adelphia.net> wrote in message
> news:9u6dnRfjR5ox-e7ZnZ2dnUVZ_umdnZ2d@adelphia.com...[color=green]
>> Hey gang.
>>
>> i have this
>>
>> Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") &
>> vbCrLf
>>
>> coming from access db.
>>
>> how can i get that to make a hyperlink clickable as well??
>>
>> Thanks
>>
>>[/color]
>
> http://www.w3schools.com/
>
> Run through HTML and ASP sections.
>
>[/color]


  #7  
Old May 24th, 2006, 02:55 AM
Bob Lehmann
Guest
 
Posts: n/a
Default Re: hyperlink in asp

lol

Bob Lehmann

"Jeff" <gig_bam@adelphia.net> wrote in message
news:TpOdna5mU6RbBe7ZnZ2dnUVZ_smdnZ2d@adelphia.com ...[color=blue]
> I understand that, but I don't understand how to make it read a text[/color]
block,[color=blue]
> from a DB, and make it show clickable links, when needed.
>
> Back to the drawing board i guess..lol
>
>
>
> "Mike Brind" <paxtonend@hotmail.com> wrote in message
> news:1148421459.990188.169730@j33g2000cwa.googlegr oups.com...[color=green]
> >
> > Jeff wrote:[color=darkred]
> >> "Anthony Jones" <Ant@yadayadayada.com> wrote in message
> >> news:OP%23G1iqfGHA.3572@TK2MSFTNGP04.phx.gbl...
> >> >
> >> > "Jeff" <gig_bam@adelphia.net> wrote in message
> >> > news:9u6dnRfjR5ox-e7ZnZ2dnUVZ_umdnZ2d@adelphia.com...
> >> >> Hey gang.
> >> >>
> >> >> i have this
> >> >>
> >> >> Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") &
> >> >> vbCrLf
> >> >>
> >> >> coming from access db.
> >> >>
> >> >> how can i get that to make a hyperlink clickable as well??
> >> >>
> >> >> Thanks
> >> >>
> >> >>
> >> >
> >> > http://www.w3schools.com/
> >> >
> >> > Run through HTML and ASP sections.
> >> >
> >> >
> >> I don't mind searching, but I can't find the key words to find what I[/color][/color][/color]
am[color=blue][color=green][color=darkred]
> >> looking for.
> >> Any ideas?[/color]
> >
> > This is pretty basic stuff. How would you make a hyperlink in html?
> > Then how would you response.write that?
> >
> > --
> > Mike Brind
> >[/color]
>
>[/color]


  #8  
Old May 24th, 2006, 03:35 AM
Jeff
Guest
 
Posts: n/a
Default Re: hyperlink in asp

now that i DO understand..lol

thanks a bunch


"Kyle Peterson" <kyle342@hotmail.com> wrote in message
news:OKVyersfGHA.1320@TK2MSFTNGP04.phx.gbl...[color=blue]
>
> http://www.powerasp.com/content/new/...hyperlinks.asp
>
>
> "Anthony Jones" <Ant@yadayadayada.com> wrote in message
> news:OP%23G1iqfGHA.3572@TK2MSFTNGP04.phx.gbl...[color=green]
>>
>> "Jeff" <gig_bam@adelphia.net> wrote in message
>> news:9u6dnRfjR5ox-e7ZnZ2dnUVZ_umdnZ2d@adelphia.com...[color=darkred]
>>> Hey gang.
>>>
>>> i have this
>>>
>>> Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") &
>>> vbCrLf
>>>
>>> coming from access db.
>>>
>>> how can i get that to make a hyperlink clickable as well??
>>>
>>> Thanks
>>>
>>>[/color]
>>
>> http://www.w3schools.com/
>>
>> Run through HTML and ASP sections.
>>
>>[/color]
>
>[/color]


  #9  
Old May 24th, 2006, 08:05 AM
Mike Brind
Guest
 
Posts: n/a
Default Re: hyperlink in asp

>From the page in the link:

"People seem to act like this is some sort of mystical and complex
process and they couldn't be farther from the truth. Like I keep
telling everyone ASP is just dynamically created HTML and making a
hyperlink is accomplished by mixing HTML tags with the ASP variables.
It's very simple to make a hyperlink."

Hmmm.... so your discombobulation over hyperlinks appears to be shared
by others. I shall endeavour to be a little more understanding in
future :-)

--
Mike Brind

Jeff wrote:[color=blue]
> now that i DO understand..lol
>
> thanks a bunch
>
>
> "Kyle Peterson" <kyle342@hotmail.com> wrote in message
> news:OKVyersfGHA.1320@TK2MSFTNGP04.phx.gbl...[color=green]
> >
> > http://www.powerasp.com/content/new/...hyperlinks.asp
> >
> >
> > "Anthony Jones" <Ant@yadayadayada.com> wrote in message
> > news:OP%23G1iqfGHA.3572@TK2MSFTNGP04.phx.gbl...[color=darkred]
> >>
> >> "Jeff" <gig_bam@adelphia.net> wrote in message
> >> news:9u6dnRfjR5ox-e7ZnZ2dnUVZ_umdnZ2d@adelphia.com...
> >>> Hey gang.
> >>>
> >>> i have this
> >>>
> >>> Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") &
> >>> vbCrLf
> >>>
> >>> coming from access db.
> >>>
> >>> how can i get that to make a hyperlink clickable as well??
> >>>
> >>> Thanks
> >>>
> >>>
> >>
> >> http://www.w3schools.com/
> >>
> >> Run through HTML and ASP sections.
> >>
> >>[/color]
> >
> >[/color][/color]

  #10  
Old May 26th, 2006, 08:35 PM
Jeff
Guest
 
Posts: n/a
Default Re: hyperlink in asp

I give up. Seems like this one is too easy, yet it keeps eluding me.



"Jeff" <gig_bam@adelphia.net> wrote in message
news:9u6dnRfjR5ox-e7ZnZ2dnUVZ_umdnZ2d@adelphia.com...[color=blue]
> Hey gang.
>
> i have this
>
> Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") & vbCrLf
>
> coming from access db.
>
> how can i get that to make a hyperlink clickable as well??
>
> Thanks
>[/color]


  #11  
Old May 26th, 2006, 08:45 PM
Evertjan.
Guest
 
Posts: n/a
Default Re: hyperlink in asp

Jeff wrote on 26 mei 2006 in microsoft.public.inetserver.asp.general:
[color=blue]
> "Jeff" <gig_bam@adelphia.net> wrote in message[color=green]
>>
>> Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") &
>> vbCrLf
>>
>> coming from access db.
>>
>> how can i get that to make a hyperlink clickable as well??[/color][/color]

[please do not toppost on usenet]
[color=blue]
> I give up. Seems like this one is too easy, yet it keeps eluding me.[/color]

You cannot get that to make a hyperlink clickable,
as a hyperlink is clickable by itself.


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
  #12  
Old May 26th, 2006, 10:05 PM
Bob Barrows [MVP]
Guest
 
Posts: n/a
Default Re: hyperlink in asp

Jeff wrote:[color=blue]
> I give up. Seems like this one is too easy, yet it keeps eluding me.
>
>
>
> "Jeff" <gig_bam@adelphia.net> wrote in message
> news:9u6dnRfjR5ox-e7ZnZ2dnUVZ_umdnZ2d@adelphia.com...[color=green]
>> Hey gang.
>>
>> i have this
>>
>> Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") &
>> vbCrLf coming from access db.
>>
>> how can i get that to make a hyperlink clickable as well??
>>
>> Thanks[/color][/color]

Why don't you tell us
1. What is in Rs("Event_Details") ?
2. What you want to see in the source sent to the browser? (what one would
see when selecting View Source)

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


  #13  
Old May 27th, 2006, 01:45 AM
Jeff
Guest
 
Posts: n/a
Default Re: hyperlink in asp

Ok. I went about this a different way. I had an old script that changed
spaces, <br>'s and stuff... so i went with that, then used a little html,
and the result is this, and it works.
<br>
<font face="Verdana,Arial" size="1"><% myString =
Replace(Rs("Event_Details"), vbCrLf, " <br> ")%><%=
InsertHyperlinks(myString)%><br>
&nbsp;</font></p>


thanks again.
Bob, thanks for replying, and what it was showing in the source, was the
link without it being clickable. but with this code it is.

Thanks again.
"Jeff" <gig_bam@adelphia.net> wrote in message
news:bsOdnRD0tsgpxerZnZ2dnUVZ_tCdnZ2d@adelphia.com ...[color=blue]
>I give up. Seems like this one is too easy, yet it keeps eluding me.
>
>
>
> "Jeff" <gig_bam@adelphia.net> wrote in message
> news:9u6dnRfjR5ox-e7ZnZ2dnUVZ_umdnZ2d@adelphia.com...[color=green]
>> Hey gang.
>>
>> i have this
>>
>> Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") &
>> vbCrLf
>>
>> coming from access db.
>>
>> how can i get that to make a hyperlink clickable as well??
>>
>> Thanks
>>[/color]
>
>[/color]


  #14  
Old May 27th, 2006, 09:25 AM
Mike Brind
Guest
 
Posts: n/a
Default Re: hyperlink in asp

Or, you could have used the obvious:

<a href="[url]"><%=mystring%></a>

There is no such thing as a link that isn't clickable, as Evertjan has
already pointed out. There is a string written to a page, or there is
a string encapsulated in an <a href> tag which forms a hyperlink. As I
said - basic html.

--
Mike Brind


Jeff wrote:[color=blue]
> Ok. I went about this a different way. I had an old script that changed
> spaces, <br>'s and stuff... so i went with that, then used a little html,
> and the result is this, and it works.
> <br>
> <font face="Verdana,Arial" size="1"><% myString =
> Replace(Rs("Event_Details"), vbCrLf, " <br> ")%><%=
> InsertHyperlinks(myString)%><br>
> &nbsp;</font></p>
>
>
> thanks again.
> Bob, thanks for replying, and what it was showing in the source, was the
> link without it being clickable. but with this code it is.
>
> Thanks again.
> "Jeff" <gig_bam@adelphia.net> wrote in message
> news:bsOdnRD0tsgpxerZnZ2dnUVZ_tCdnZ2d@adelphia.com ...[color=green]
> >I give up. Seems like this one is too easy, yet it keeps eluding me.
> >
> >
> >
> > "Jeff" <gig_bam@adelphia.net> wrote in message
> > news:9u6dnRfjR5ox-e7ZnZ2dnUVZ_umdnZ2d@adelphia.com...[color=darkred]
> >> Hey gang.
> >>
> >> i have this
> >>
> >> Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") &
> >> vbCrLf
> >>
> >> coming from access db.
> >>
> >> how can i get that to make a hyperlink clickable as well??
> >>
> >> Thanks
> >>[/color]
> >
> >[/color][/color]

  #15  
Old May 27th, 2006, 10:05 AM
Mike Brind
Guest
 
Posts: n/a
Default Re: hyperlink in asp

Oh, wait a minute... let me guess...

Event Details is a memo field that contains some text describing an
event, and also includes email and/or web addresses, and it is these
that you want to identify and turn into hyperlinks. Is that right?
You don't want to turn the whole field into a hyperlink, do you?

If this is the case, and you had explained your problem properly at the
beginning, I would have posted this code several days ago:

<%
function create_links(strText)
strText = " " & strText
strText = ereg_replace(strText, "(^|[\n ])([\w]+?://[^ ,""\s<]*)",
"$1<a href=""$2"" target=""_blank"">$2</a>")
strText = ereg_replace(strText, "(^|[\n ])((www|ftp)\.[^ ,""\s<]*)",
"$1<a href=""http://$2"" target=""_blank"">$2</a>")
strText = ereg_replace(strText, "(^|[\n
])([a-z0-9&\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)", "$1<a
href=""mailto:$2@$3"">$2@$3</a>")
strText = right(strText, len(strText)-1)
create_links = strText
end function

function ereg_replace(strOriginalString, strPattern, strReplacement)
' Function replaces pattern with replacement
dim objRegExp : set objRegExp = new RegExp
objRegExp.Pattern = strPattern
objRegExp.IgnoreCase = True
objRegExp.Global = True
ereg_replace = objRegExp.replace(strOriginalString, strReplacement)
set objRegExp = nothing
end function
%>

which you call like this:
<%
Response.Write create_links(myString)
%>

In fact, I tend to use it on data prior to inserting it into a
database, which means the function isn't called every time a user
requests a page which contains text that might or might not have email
or web addresses in it that need to be turned into links. Does your
InsertLinks() function do the same thing?

--
Mike Brind


Mike Brind wrote:[color=blue]
> Or, you could have used the obvious:
>
> <a href="[url]"><%=mystring%></a>
>
> There is no such thing as a link that isn't clickable, as Evertjan has
> already pointed out. There is a string written to a page, or there is
> a string encapsulated in an <a href> tag which forms a hyperlink. As I
> said - basic html.
>
> --
> Mike Brind
>
>
> Jeff wrote:[color=green]
> > Ok. I went about this a different way. I had an old script that changed
> > spaces, <br>'s and stuff... so i went with that, then used a little html,
> > and the result is this, and it works.
> > <br>
> > <font face="Verdana,Arial" size="1"><% myString =
> > Replace(Rs("Event_Details"), vbCrLf, " <br> ")%><%=
> > InsertHyperlinks(myString)%><br>
> > &nbsp;</font></p>
> >
> >
> > thanks again.
> > Bob, thanks for replying, and what it was showing in the source, was the
> > link without it being clickable. but with this code it is.
> >
> > Thanks again.
> > "Jeff" <gig_bam@adelphia.net> wrote in message
> > news:bsOdnRD0tsgpxerZnZ2dnUVZ_tCdnZ2d@adelphia.com ...[color=darkred]
> > >I give up. Seems like this one is too easy, yet it keeps eluding me.
> > >
> > >
> > >
> > > "Jeff" <gig_bam@adelphia.net> wrote in message
> > > news:9u6dnRfjR5ox-e7ZnZ2dnUVZ_umdnZ2d@adelphia.com...
> > >> Hey gang.
> > >>
> > >> i have this
> > >>
> > >> Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") &
> > >> vbCrLf
> > >>
> > >> coming from access db.
> > >>
> > >> how can i get that to make a hyperlink clickable as well??
> > >>
> > >> Thanks
> > >>
> > >
> > >[/color][/color][/color]

  #16  
Old May 27th, 2006, 02:15 PM
Jeff
Guest
 
Posts: n/a
Default Re: hyperlink in asp

right... this is what i have at the top of the page
<%

Function InsertHyperlinks(inText)
Dim objRegExp, strBuf
Dim objMatches, objMatch
Dim Value, ReplaceValue, iStart, iEnd

strBuf = ""
iStart = 1
iEnd = 1
Set objRegExp = New RegExp

objRegExp.Pattern = "\b(www|http|\S+@)\S+\b" ' Match URLs and emails
objRegExp.IgnoreCase = True ' Set case insensitivity.
objRegExp.Global = True ' Set global applicability.
Set objMatches = objRegExp.Execute(inText)
For Each objMatch in objMatches
iEnd = objMatch.FirstIndex
strBuf = strBuf & Mid(inText, iStart, iEnd-iStart+1)
If InStr(1, objMatch.Value, "@") Then
strBuf = strBuf & GetHref(objMatch.Value, "EMAIL", "_BLANK")
Else
strBuf = strBuf & GetHref(objMatch.Value, "WEB", "_BLANK")
End If
iStart = iEnd+objMatch.Length+1
Next
strBuf = strBuf & Mid(inText, iStart)
InsertHyperlinks = strBuf
End Function


Function GetHref(url, urlType, Target)
Dim strBuf

strBuf = "<a href="""
If UCase(urlType) = "WEB" Then
If LCase(Left(url, 3)) = "www" Then
strBuf = "<a href=""http://" & url & """ Target=""" & _
Target & """>" & url & "</a>"
Else
strBuf = "<a href=""" & url & """ Target=""" & _
Target & """>" & url & "</a>"
End If
ElseIf UCase(urlType) = "EMAIL" Then
strBuf = "<a href=""mailto:" & url & """ Target=""" & _
Target & """>" & url & "</a>"
End If

GetHref = strBuf

End Function
%>

and the
<% myString = Replace((event_details), vbCrLf, " <br> ")%><%=
InsertHyperlinks(myString)%>

is the output for the field

if all that was in there was the url, i could have done that with no
problem. the problem was converting what i posted originally into a
response.write so i avoided that, and made it into html with some script.
thanks for all the help :)


"Mike Brind" <paxtonend@hotmail.com> wrote in message
news:1148720271.650415.46700@i40g2000cwc.googlegro ups.com...[color=blue]
> Oh, wait a minute... let me guess...
>
> Event Details is a memo field that contains some text describing an
> event, and also includes email and/or web addresses, and it is these
> that you want to identify and turn into hyperlinks. Is that right?
> You don't want to turn the whole field into a hyperlink, do you?
>
> If this is the case, and you had explained your problem properly at the
> beginning, I would have posted this code several days ago:
>
> <%
> function create_links(strText)
> strText = " " & strText
> strText = ereg_replace(strText, "(^|[\n ])([\w]+?://[^ ,""\s<]*)",
> "$1<a href=""$2"" target=""_blank"">$2</a>")
> strText = ereg_replace(strText, "(^|[\n ])((www|ftp)\.[^ ,""\s<]*)",
> "$1<a href=""http://$2"" target=""_blank"">$2</a>")
> strText = ereg_replace(strText, "(^|[\n
> ])([a-z0-9&\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)", "$1<a
> href=""mailto:$2@$3"">$2@$3</a>")
> strText = right(strText, len(strText)-1)
> create_links = strText
> end function
>
> function ereg_replace(strOriginalString, strPattern, strReplacement)
> ' Function replaces pattern with replacement
> dim objRegExp : set objRegExp = new RegExp
> objRegExp.Pattern = strPattern
> objRegExp.IgnoreCase = True
> objRegExp.Global = True
> ereg_replace = objRegExp.replace(strOriginalString, strReplacement)
> set objRegExp = nothing
> end function
> %>
>
> which you call like this:
> <%
> Response.Write create_links(myString)
> %>
>
> In fact, I tend to use it on data prior to inserting it into a
> database, which means the function isn't called every time a user
> requests a page which contains text that might or might not have email
> or web addresses in it that need to be turned into links. Does your
> InsertLinks() function do the same thing?
>
> --
> Mike Brind
>
>
> Mike Brind wrote:[color=green]
>> Or, you could have used the obvious:
>>
>> <a href="[url]"><%=mystring%></a>
>>
>> There is no such thing as a link that isn't clickable, as Evertjan has
>> already pointed out. There is a string written to a page, or there is
>> a string encapsulated in an <a href> tag which forms a hyperlink. As I
>> said - basic html.
>>
>> --
>> Mike Brind
>>
>>
>> Jeff wrote:[color=darkred]
>> > Ok. I went about this a different way. I had an old script that changed
>> > spaces, <br>'s and stuff... so i went with that, then used a little
>> > html,
>> > and the result is this, and it works.
>> > <br>
>> > <font face="Verdana,Arial" size="1"><% myString =
>> > Replace(Rs("Event_Details"), vbCrLf, " <br> ")%><%=
>> > InsertHyperlinks(myString)%><br>
>> > &nbsp;</font></p>
>> >
>> >
>> > thanks again.
>> > Bob, thanks for replying, and what it was showing in the source, was
>> > the
>> > link without it being clickable. but with this code it is.
>> >
>> > Thanks again.
>> > "Jeff" <gig_bam@adelphia.net> wrote in message
>> > news:bsOdnRD0tsgpxerZnZ2dnUVZ_tCdnZ2d@adelphia.com ...
>> > >I give up. Seems like this one is too easy, yet it keeps eluding me.
>> > >
>> > >
>> > >
>> > > "Jeff" <gig_bam@adelphia.net> wrote in message
>> > > news:9u6dnRfjR5ox-e7ZnZ2dnUVZ_umdnZ2d@adelphia.com...
>> > >> Hey gang.
>> > >>
>> > >> i have this
>> > >>
>> > >> Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") &
>> > >> vbCrLf
>> > >>
>> > >> coming from access db.
>> > >>
>> > >> how can i get that to make a hyperlink clickable as well??
>> > >>
>> > >> Thanks
>> > >>
>> > >
>> > >[/color][/color]
>[/color]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,338 network members.