VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 $ doesn''t hide the field...
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

the-war-lord
Starting Member

Australia
21 Posts

Posted - October 25 2008 :  23:25:36  Show Profile  Visit the-war-lord's Homepage  Reply with Quote
Hi everyone,

I've just added the Lightbox functionality to the additional images on my website, but I'm having trouble with the $ value.

The additional images will not always be displayed, so I added the $ sign at the beginning of the line to hide the additional images when they are empty.

Now I'm getting broken link signs when the additional images fields are empty. Does anyone know why this is happening?

Here is an example of the code I'm using:

<tr>
$<td><br><a href="[Pother5]" rel="lightbox[ccode]" title="[cname]"><img src="[extraimage1]" border="0"></a></td>
$<td><br><a href="[Level3]" rel="lightbox[ccode]" title="[cname]"><img src="[extraimage2]" border="0"></a></td>
</tr>

Thanks in advance for your help!
Ness

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - October 27 2008 :  05:34:45  Show Profile  Reply with Quote
Hi, try putting the $ immediately before the link ref eg.

<tr>
<td><br>
$ <a href="[Pother5]" rel="lightbox[ccode]" title="[cname]"><img src="[extraimage1]" border="0"></a></td>

<td><br>
$ <a href="[Level3]" rel="lightbox[ccode]" title="[cname]"><img src="[extraimage2]" border="0"></a>
</td>
</tr>


Hope this helps,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

elammers
VP-ASP Super User

USA
256 Posts

Posted - October 27 2008 :  10:06:09  Show Profile  Visit elammers's Homepage  Reply with Quote
I don't think that will work either because you'll probably always have a value for CCODE. So using that is what is messing you up. So the value in rel="lightbox[ ]" has to be a value that is blank when additional images are blank.

What about using Carrol's code above with this slight change in both link tags.

rel="lightbox[extraimage1]"

Regards,
Eric Lammers
www.KrackMedia.com
Building More Than Web Sites . . . Building a Web Presence
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000