X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   ThickBox - How to modify the navigation link? (https://forum.x-cart.com/showthread.php?t=35112)

TL408 11-01-2007 01:38 PM

ThickBox - How to modify the navigation link?
 
Hi guys,

Does anyone know how to modify the navigation link for the ThickBox mod? The default ones don't look to attractive.

Thanks
-Tuan

chamberinternet 11-02-2007 04:38 AM

Re: ThickBox - How to modify the navigation link?
 
Do you mean the << Next and Previous >> links ?

Shafiq :sK

TL408 11-03-2007 04:53 PM

Re: ThickBox - How to modify the navigation link?
 
Correct. Here is a pic. :)

http://img134.imageshack.us/img134/7919/thickboxhj2.jpg

chamberinternet 11-04-2007 10:21 AM

Re: ThickBox - How to modify the navigation link?
 
This is handled in /skin1/thickbox/files/thickbox.js

Regards

Shafiq :sK

harveyev 12-18-2007 10:21 AM

Re: ThickBox - How to modify the navigation link?
 
I installed this and it works great except that my navigation links aren't showing up at all.

Here's my thickbox_productpage.tpl code:

Quote:

{if $images ne ""}
<div style="white-space:nowrap;color:#5f94c0;font-weight:bold;padding:2px;margin:10px 0 4px;">{$lng.lbl_detailed_images} &not;</div>
{section name=image loop=$images}
{if $images[image].avail eq "Y"}
{if $images[image].tmbn_url}
<div style="white-space: nowrap;padding-left:10px; display: inline;"><a href="{$images[image].tmbn_url}" title="{$images[image].alt|escape}" class="thickbox" rel="lightbox[detailed]"><img src="{$xcart_web_dir}/image.php?id={$images[image].imageid}&amp;type=D" width="80" style="border:0;" alt="{$lng.lbl_click_to_enlarge|escape}" /></a></div>
{else}
<div style="white-space: nowrap;padding-left:10px; display: inline;"><a href="{$xcart_web_dir}/image.php?id={$images[image].imageid}&amp;type=D" title="{$images[image].alt|escape}" class="thickbox" rel="lightbox[detailed]"><img src="{$xcart_web_dir}/image.php?id={$images[image].imageid}&amp;type=D" width="80" style="border:0;" alt="{$lng.lbl_click_to_enlarge|escape}" /></a></div>
{/if}
{/if}
{/section}
<script type="text/javascript" src="{$SkinDir}/thickbox/files/jquery-compressed.js"></script>
<script type="text/javascript" src="{$SkinDir}/thickbox/files/thickbox.js"></script>
<style type="text/css" media="all">@import "{$SkinDir}/thickbox/files/thickbox.css";</style>
{/if}



That's all I modified. I dodn't touch thickbox.js at all except to change a font color. You can see it in action at http://www.harveyev.com/store.

Oh and btw, this doesn't work for me with fancycat turned on, though from what I read, not much does. :o)

harveyev 12-19-2007 11:13 PM

Re: ThickBox - How to modify the navigation link?
 
That bad eh? Or is this a stumper?

chamberinternet 12-20-2007 01:51 AM

Re: ThickBox - How to modify the navigation link?
 
I'm wondering if it's because it's within your multiple tab system ?

As a test, try moving if out of there temporarily and see if you get better results ...

Shafiq :sK

harveyev 12-20-2007 11:35 AM

Re: ThickBox - How to modify the navigation link?
 
I looked at the demo at http://www.7dana.com/106.84.0.0.1.0.phtml and noticed the difference in demo that the url linked to the thumbs calls an phtml page istead of the detailed image file directly. There is also a test in the .js looking for an "imagegroup" argument (presumably in the url) to be passed to the script. Im not sure how thats possible if the url is nothing but a hard link to the detailed image file and the stylesheet is handling the rendering of the box to the browser. This is obviously a different implementation than the sourcecode provided. Hrm...stupified atm as to how to resolve this.


All times are GMT -8. The time now is 03:11 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.