Hover over thumbnails

More
13 years 3 months ago #17665 by chenz2
Hover over thumbnails was created by chenz2
How can I replicate www.istockphoto.com/search/agency#3fa3a34 where you hover over an image and it auto opens the large image? Right now, I can only seem to have it where you have to click on the image to view the popup. Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #17666 by ggppdk
Replied by ggppdk on topic Hover over thumbnails
Image field use these scripts to create popups:
components/com_flexicontent/librairies/multibox/js/overlay.js
components/com_flexicontent/librairies/multibox/js/multibox.js

So probably you can by changing these files ...

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #17692 by chenz2
Replied by chenz2 on topic Hover over thumbnails
I got it to work! I just edited image.php and changed the class of multibox to 'preview', which brings up the hoverbox:
Code:
<a href="'.$srcb.'" id="mb'.$id.'" class="preview"> <img src="'. $src .'" alt ="'.$alt.'"'.$legend.' /> <div class="multiBoxDesc mb'.$id.'">'.($desc ? $desc : $title).'</div>

But what code do I use so that if I click on the image, it takes me to the details page of that item? $item_link does not work.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.545 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline