Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
Hi,
I removed all except google maps from the fancy box (in css). The button 'feels' a bit lonely. How can I move the google maps button form the fancy box to the top pallet?
My presentation type is Slideshow.
Last edited by MasterPO (2019-08-16 04:21:49)
Offline
I think it imight be possible to remove it from .fancy-box-pallet and place it in .fancybox-toolbar using jQuery. (use the phplugins scripts hook to add the code)
the html for the map icon is in a list item, the html items in the toolbar are buttons.
So while it looks possible, you'll need to figure out the html that will work best in the toolbar.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Offline
Hi Matt,
At this link you can see an example:
http://potokphotography.com/galleries/spain/#gallery-8
Pete
Offline
Oh, I see what you mean. Unfortunately, that's probably not possible without rewriting the Fancybox implementation. You'd need to tie into the lifecycle callbacks for each slide, so that the button gets moved every time the image changes. Not really practical to do for either of us.
Instead, I would reevaluate the value of having or not having items in the Image menu, and I would either put more things in there, or remove it entirely.
Offline
Pages: 1