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 | 2475 views | 8 replies

roger391472

Question on making link from dynamic data

I'm not sure this is the correct section but I thought I'd start here since it's dynamic data.

I'm trying to incorporate lightbox v2 on page to display full size photos from thumbnails. I've tried hand coding to make the links but I'm not getting anywhere with that. Here's what I'm doing. I've got a master display page that displays the dynamic data in repeating tables and the text is linked to a details page. I've got one full size photo and three thumbnails where I'm trying to link to display the full size photo but I can't get the code figured out to do the link. Is there a function in any of the extensions that would make this easier?

Here is the code for the image that I'm trying to link without any link coding:
<div id="lft_photo2_thumb"><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" /></div>

And here's the syntax that lightbox says to use but of course it's not dynamic data:
<a href="dog.jpg" rel="lightbox" ><img src="dog_thumb.jpg" /></a>

I've tried various ways to do it, mostly by replacing the "dog.jpg" with the dynamic binding and of course setting the correct source to new_prod_image_large/And_the_dynamic_binding.

I'm also needing to do this with another dynamic display field on the page and I haven't figured that one out yet either. For it, the user enters their full web url in the registration form and when I display it on the page I want to make it a working link to their site.

Any help would be greatly appreciated.

Thanks,

Roger

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

Content

rating

Layout

rating

Ease of use

rating

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...