View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Question on making link from dynamic data

Thread began 11/19/2009 9:01 am by roger391472 | Last modified 11/23/2009 11:05 pm by roger391472 | 2428 views | 8 replies


Hi Jason,

Ya, I know but I'm still developing on my local server and it's going to be a little while before I can upload it. If you don't mind I did notice that I didn't post the "lightbox" script in the first post so it would be great if you could see if it helps by seeing that. I would try to display them in another way but I need to figure out this link deal since I'm going to be using similar coding for a web link on the page too so I need to get the whole href with a dynamic data thing resolved.

Here's the other display for the web link first:
<div id="new_prod_weblink"><a href="<?php echo $row_rs_tech_page['new_prod_web']; ?>"</a></div>

When I try to use this code it the code hinting says I'm missing a closing bracket or quote and I haven't been able to find the correct syntax for that either.

Here's the lightbox script:
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<link rel="stylesheet" href="lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="lightbox/lightbox.js"></script>

lightbox.js is in the lightbox folder so I think I have that correct but not sure.

And here's the link code as I have it now by using your suggested code.

<div id="lft_photo2_thumb"><a href="new_prod_image_large/<?php echo $row_rs_tech_page['new_prod_photo2'];?>" rel="lightbox" ><img src="new_prod_thumb/<?php echo $row_rs_tech_page['prod_thumb2']; ?>" name="new_prod_thumb_2" width="120" height="80" border="0" id="new_prod_thumb_2" /></a></div>

Sorry to bother you with this since it's not really webassist related but I tried to do it on the lightbox forum but their registration isn't sending a confirmation e-mail and the administrator won't respond so I can't even post it there. This might make a good tutorial though since web searches have turned up almost nothing about making dynamic data a link.



Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...