Popup Window instead of litebox

thestig

No avatar

2008-06-17 07:33

Can anyone tell me how to swap the litebox feature for a straightforward popup window to display all photos in version 3? (I hate the way Litebox makes the page flicker).
I need to know what code to put in and whereabouts.

Thank you.

» Quick.Cart v3.x

beholder

Avatar: beholder

2008-06-17 14:44

this should be easy, as far as I know.
You should be able to find the lightbox links in template file templates/pages_default.tpl and substitute them for

<a href="$config[dir_files]$aData[sFileName]" title="$aData[sDescription]"><img src="$config[dir_files]$aData[iSizeValue2]/$aData[sFileName]" alt="$aData[sDescription]" /></a>



You could furthermore try to disable the lightbox javascript in templates/container.tpl by removing the

<script type="text/javascript" src="$config[dir_core]litebox-1.0.js"></script>

QC v3.0

beholder

Avatar: beholder

2008-06-17 14:47

add target="_blank" to the img tag in the example above to open pics in a new browser window.

QC v3.0

thestig

No avatar

2008-06-18 06:49

Thank you very much, beholder

Back to top
about us | contact