This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 10 - Pages: 1 - Last Post: 05-Nov-2019 18:11 Last Post By: Laza Threads: [ Previous | Next ]
Schegg

Posts: 19
Registered: 6-Mar-2009
Link in the caption is working just one time
Posted: 03-Feb-2019 10:44
 
  Click to reply to this thread Reply
Hi Laza

I have in the Caption Field a link (Australien 2018) to the first Image of the Website. see https://andi-schegg.ch/_Reisen/2018_Australien/album/2018_Australien.html#img=001_AND06676.JPG

That link works just one time, that means:
When i press the Link the first time the Website will go to the first Picture, after scrolling to the next picture the link don't work again.

BR Andi

Laza

Posts: 2,214
Registered: 6-Sep-2005
Re: Link in the caption is working just one time
Posted: 03-Feb-2019 12:12   in response to: Schegg in response to: Schegg
 
  Click to reply to this thread Reply
I see, the "Click for next" functionality takes over. Try to turn off "Settings / Projector / Lightbox / Main image / Click for next". I will fix this and attach the click event only to the image.
Schegg

Posts: 19
Registered: 6-Mar-2009
Re: Link in the caption is working just one time
Posted: 24-Feb-2019 17:58   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Hi Laza

Do you have any idea when the new Version of Projector will be available?
Because i d'like to move all my 75 Projects from Turtle to Projector.

BR Andi
Schegg

Posts: 19
Registered: 6-Mar-2009
Re: Link in the caption is working just one time
Posted: 04-May-2019 08:15   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Hi Laza

After updating to V1.3.2 the Problem is still there. Do you have a timetable when you will fix that?

BR Andi
Schegg

Posts: 19
Registered: 6-Mar-2009
Re: Link in the caption is working just one time
Posted: 17-Aug-2019 17:42   in response to: Schegg in response to: Schegg
 
  Click to reply to this thread Reply
Hi Laza

Do you have a timetable when you will fix that?

BR Andi
Schegg

Posts: 19
Registered: 6-Mar-2009
Re: Link in the caption is working just one time
Posted: 03-Nov-2019 13:03   in response to: Schegg in response to: Schegg
 
  Click to reply to this thread Reply
Hi Laza

It would be really cool if you could bring the fix in the next software release.

BR Andi
Laza

Posts: 2,214
Registered: 6-Sep-2005
Re: Link in the caption is working just one time
Posted: 03-Nov-2019 17:03   in response to: Schegg in response to: Schegg
 
  Click to reply to this thread Reply
The links are working, aren't they. But for some reason the first picture is not loaded on my PC.
jGromit

Posts: 7,272
Registered: 31-Jan-2006
Re: Link in the caption is working just one time
Posted: 03-Nov-2019 17:20   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
The first image has been renamed, so the link is now:

https://andi-schegg.ch/_Reisen/2018_Australien/album/index.html#img=000.jpg

And it works for me when that link is planted in the captions. I can go to any of the subsequent images in the album, and if I click on that link in the caption, I'm returned to the first image (the map of Australia).

ETA: Correction - the link is working only intermittently. Not sure why....

ETA: When the link fails, it takes you to the next image, rather than the first. When that happens, a quick F5 refresh actually makes it work. Something is being cached.
Laza

Posts: 2,214
Registered: 6-Sep-2005
Re: Link in the caption is working just one time
Posted: 04-Nov-2019 08:16   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Attachment AndySchegg.jpg (34.6 KB)
Thanks, this sheds some light on it. The links are treated as "inline" instead of "inline-block", which makes them harder to target. The skin tries to spot if a link was clicked but inline rendering makes the link areas the tightest possible. With "inline-block" the link targets are rectangular with paddings added, therefore making the hotspot area larger. Add this CSS to Settings / Site / Custom code / CSS:
#main > .cont .projector .jcards .jcard .jcaption .comment a { display: inline-block; }

Please note, the links this way will occupy more space making the mobile layout much uglier, see attachment. This is why I don't want to "fix" this behavior.

On more thing; you are using convoluted and deprecated HTML code, which does not work, and complicate things even further - perhaps triggering this error.
<a title="" style="text-decoration: none;" href="index.html#img=028_AND08112.jpg"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">Exmouth </font></font></a>
<img alt="" src="../../../img/Pfeil_rechts_small.png">

I'd use this:
<a href="index.html#img=028_AND08112.jpg">Exmouth</a> &rarr; 


Edited by: Laza on 04-Nov-2019 08:17
Schegg

Posts: 19
Registered: 6-Mar-2009
Re: Link in the caption is working just one time
Posted: 05-Nov-2019 18:07   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Hi Laza and jGromit

Many thanks for the answer, and for the tip for the HTML Code

I tried to add the CSS Code in the Custome field, unfortunately without any success.

It's how jGromit described:

ETA: Correction - the link is working only intermittently.

ETA: When the link fails, it takes you to the next image, rather than the first. When that happens, a quick F5 refresh actually makes it work. Something is being cached.

In Turtle i don't had this issue.

is it a Browser theme or a Projector Skin one?

BR Andi
Laza

Posts: 2,214
Registered: 6-Sep-2005
Re: Link in the caption is working just one time
Posted: 05-Nov-2019 18:11   in response to: Schegg in response to: Schegg
 
  Click to reply to this thread Reply
In Projector the caption is part of the swipe-able content, this is why it interferes with the click (unlike in Turtle).
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums