Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 06:01:46 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: GoCart - Image Link?  (Read 629 times)
drphunk

Offline Offline

Posts: 6


« on: November 29, 2007, 01:48:31 AM »

Hi all, just after some assistance with PHP / GoCart...

I'm trying to manipulate the image loop so that the thumbnail image does not link to a separate page - I want it to generate a link directly to the large image (for use with lightbox).  The loop code is below,  showing what I mean.

Code:
<td>

<table class="menuItem" border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td class="menuItemThumb" width="100" height="100" rowspan="2"><a href="[CODE FOR THE DIRECT IMAGE LINK GOES HERE]" rel="lightbox">[THUMB]</a></td>
    <td width="200" height="15" valign="top" class="menuItemTitle">[TITLE]</td>
    <td width="100" valign="top" class="menuItemPrice">$[PRICE]</td>
  </tr>
  <tr>
    <td colspan="2" valign="top" class="menuItemDesc"><em>[DESCRIPTION]</em></td>
    </tr>
</table>


</td>

Unfortunately my PHP skills are somewhat lacking (read: non-existent) so I was hoping someone could suggest the snippet / handler I need to get this to work??

Many thanks in advance.
Logged
doc
Guest
« Reply #1 on: November 29, 2007, 07:41:39 AM »

Hallo,

na dann posten wir hier doch mal einen Link um Dein PHP Wissen etwas zu steigern  smiley
http://help.websitebaker.org/pages/de/advanced-doku/designer-guide/templatefunktionen-einfuegen.php#anker8

Christian
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!