Categories > TinyButStrong general >

Help with gallery

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: bunak
Date: 2006-08-30
Time: 15:49

Help with gallery

Hi, i have simple code for image gallery.
I am using this template
<ul class="hoverbox" id="hbox">
<li>
<a href="[var..script_name]?module=[var.module]&id=[blk.podrizenagalerie;if [val]=0;then [var.idGal]]"><img src="img/[blk.obrazek]" title="description" class="imgnormal" /><img src="img/[blk.obrazek]" title="[blk.popis]" class="preview" /><div class="previewtext">&nbsp;[blk.popis]<span class="napravo">[blk.cena;frm='0. K&#269;||klik - celá kolekce|';block=li]&nbsp;</span></div></a>
</li>
</ul>
but  sometimes I will get return, which repeat <a href> tag - see longest line
<li>
<a href="index.php?module=2&amp;id=16"><img src="img/ls3005-2_1.jpg" title="description" class="imgnormal"><img src="img/ls3005-2_1.jpg" title="LS 3005" class="preview"><div class="previewtext">&nbsp;LS 3005<span class="napravo">klik - celá kolekce&nbsp;</span></div></a>
</li><li>
<a href="index.php?module=2&amp;id=17"><img src="img/ls3006-1_1.jpg" title="description" class="imgnormal"><img src="img/ls3006-1_1.jpg" title="LS 3006" class="preview"></a><div class="previewtext"><a href="index.php?module=2&amp;id=17">&nbsp;LS 3006<span class="napravo">klik - celá kolekce&nbsp;</span></a></div>
</li><li>

<a href="index.php?module=2&amp;id=2"><img src="img/ls3007-2_2.jpg" title="description" class="imgnormal"><img src="img/ls3007-2_2.jpg" title="LS 3007-2/2" class="preview"><div class="previewtext">&nbsp;LS 3007-2/2<span class="napravo">2690 K&#269;&nbsp;</span></div></a>
</li><li>
<a href="index.php?module=2&amp;id=18"><img src="img/ls3008-2_2.jpg" title="description" class="imgnormal"><img src="img/ls3008-2_2.jpg" title="LS 3008" class="preview"><div class="previewtext">&nbsp;LS 3008<span class="napravo">klik - celá kolekce&nbsp;</span></div></a>
</li>
do You have anybody some idea?

You can see ir on www.lotus.festina.cz when You click on PANSKA or DAMSKA KOLEKCE a click on picture right down.

Thankx for Your help

Bunak
By: Skrol29
Date: 2006-08-30
Time: 17:12

Re: Help with gallery

The behavior you're describing is strange indeed. But I cannot found the same behavior in the links you've provided. All seems ok for they source code.
By: bunak
Date: 2006-08-31
Time: 10:38

Re: Help with gallery

I cant it find too on live server, but customers which check it in Czech and Poland have seen it. I dont know why, but I found it mayby twice, but them have it on every look. It is little bit strange. I asked them for browsers settings but they use MSIE, FF,Opera. It is not only one browser problem.
Now I found it on my local testing server. http://qhub.cz.foxconn.com/lotus in section DAMSKA KOLEKCE
By: bunak
Date: 2006-09-05
Time: 20:44

Re: Help with gallery

I change TBS to  ver. 3.2.0 and it is same :o(
By: sheepy
Date: 2006-09-07
Time: 08:56

Re: Help with gallery

Curious.  I refresh and refresh, and visit other section, but in my Firefox I don't see any duplicated a.  All lines are of roughly same length.
By: bunak
Date: 2006-09-19
Time: 20:48

Re: Help with gallery

Yes, I refresh and refresh too, and no problem, but my customers (in CZ and PL) refresh and refresh and they got duplications (sometimes on every second refresh). I don't know where may be a problem. I gues their local networks, but both have different internet provider and separated networks. Both use FF and MSIE and both have same problem :o( And I must explain it. My fee depends on it :o(
By: bunak
Date: 2006-09-19
Time: 20:52

Re: Help with gallery

Sheepy and others, try it on www.lotus.festina.cz - panska or damska kolekce. and click on eyes right down. When problem happened You will get one or more pictures with yellow place around. If You got it, please let me know.
Thanks
Bunak
By: sheepy
Date: 2006-09-20
Time: 05:10

Re: Help with gallery

Yes I see it now, but it seems to me it's merge/javascript logic error.

When tested with FF:
First visit always ok.  Subsequence clicks on the link will cause an item or two to have double link.  However if I disable browser cache and revisits look fine everytime.

In IE, I used to see really weird result (items placed below intro page), but I cannot reproduce it now.