HighDots Forums  

Dynamic linking

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Dynamic linking in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
nfhopmike
 
Posts: n/a

Default Dynamic linking - 06-13-2008 , 02:25 AM






I am developing an articles page in PHP which is linked to a database that
holds fields for Title, Author and Location. The location field is a link to a
PDF file (eg PDF/article.pdf). What I want to do is display a list of titles
and authors such that when the Title is selected the article opens in a new
window. As there are a lot of these I want to do it dynamically. I can get the
title and author to display OK using a recordset, but my problem is how to link
the displayed Title to the Location so that when clicked it opens the new
window - how do I do that using Dreamweaver's PHP tools?


Reply With Quote
  #2  
Old   
Randy Edmunds
 
Posts: n/a

Default Re: Dynamic linking - 06-16-2008 , 01:17 PM






First, you have to create the link tag by selecting the link text and
putting something temporary (like #) in the link field. Keep the link
selected.

Second, open the Bindings Panel, select the recordset.field, and then
set the attribute you want in the "Bind to:" control.

HTH,
Randy


Quote:
I am developing an articles page in PHP which is linked to a database that
holds fields for Title, Author and Location. The location field is a link to a
PDF file (eg PDF/article.pdf). What I want to do is display a list of titles
and authors such that when the Title is selected the article opens in a new
window. As there are a lot of these I want to do it dynamically. I can get the
title and author to display OK using a recordset, but my problem is how to link
the displayed Title to the Location so that when clicked it opens the new
window - how do I do that using Dreamweaver's PHP tools?

Reply With Quote
  #3  
Old   
Randy Edmunds
 
Posts: n/a

Default Re: Dynamic linking - 06-16-2008 , 01:17 PM



First, you have to create the link tag by selecting the link text and
putting something temporary (like #) in the link field. Keep the link
selected.

Second, open the Bindings Panel, select the recordset.field, and then
set the attribute you want in the "Bind to:" control.

HTH,
Randy


Quote:
I am developing an articles page in PHP which is linked to a database that
holds fields for Title, Author and Location. The location field is a link to a
PDF file (eg PDF/article.pdf). What I want to do is display a list of titles
and authors such that when the Title is selected the article opens in a new
window. As there are a lot of these I want to do it dynamically. I can get the
title and author to display OK using a recordset, but my problem is how to link
the displayed Title to the Location so that when clicked it opens the new
window - how do I do that using Dreamweaver's PHP tools?

Reply With Quote
  #4  
Old   
DizzDizzy
 
Posts: n/a

Default Re: Dynamic linking - 06-20-2008 , 11:04 AM



now i can do using Dreamweaver's PHP tools.good idea yupi

Reply With Quote
  #5  
Old   
DizzDizzy
 
Posts: n/a

Default Re: Dynamic linking - 06-20-2008 , 11:04 AM



now i can do using Dreamweaver's PHP tools.good idea yupi

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.