If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > html links in access for dreamweaver use

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-24-04, 18:33
original original is offline
Registered User
 
Join Date: Jan 2004
Location: Earth
Posts: 6
Smile html links in access for dreamweaver use

I have an access database which I am using as a quick way to post content onto my website.

I can display pictures text etc but want to get links to work.

I have entered them as text in the access database as with the link for the picture but I cannot then get dreamweaver to write the code that will make this into a valid link when I then view the asp page.

Im sure I am missing something pretty basic but any help would be apprciated.

Many thanks is advance

Original
Reply With Quote
  #2 (permalink)  
Old 01-27-04, 07:11
da frog da frog is offline
Registered User
 
Join Date: Jan 2004
Posts: 11
When you enter the link into the database, you must enter it like <a href="http://mylink">mylink</a>. Otherwise the display-page cannot know it's a link.
Reply With Quote
  #3 (permalink)  
Old 01-27-04, 11:43
original original is offline
Registered User
 
Join Date: Jan 2004
Location: Earth
Posts: 6
Thumbs up

Cool.

Thanks alot

sorted now!

Laters

Ps. Can I add as much code as I want within reason or are only certain html tags ok to use?
Reply With Quote
  #4 (permalink)  
Old 01-27-04, 20:17
da frog da frog is offline
Registered User
 
Join Date: Jan 2004
Posts: 11
I think you can add as much code as you want.

Shouldn't be a problem, just try and see.
Reply With Quote
  #5 (permalink)  
Old 02-03-04, 03:51
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
Quote:
<a href="http://mylink">mylink</a>.
And don't forget target=... to open a new browser window if you don't want people leaving your site:

<a href="http://mylink" target="new">mylink</a>

And from a field in a recordset:

<a href="<%= TheFieldContainingTheURL %>" target="new"><%= TheFieldContainingTheURL %></a>
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips

Last edited by Bullschmidt; 02-03-04 at 03:54.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On