Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2019-08-16 04:21:22

MasterPO
Member
From: The Netherlands
Registered: 2014-01-02
Posts: 24
Website

Move Google maps button

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

#2 2019-08-16 05:17:15

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Move Google maps button

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

#3 2019-08-16 21:26:49

MasterPO
Member
From: The Netherlands
Registered: 2014-01-02
Posts: 24
Website

Re: Move Google maps button

I think that's too difficult for me. Maybe one of the other members/readers do have a solution for me smile

Rod, tnx anyway.

Peter

Offline

#4 2019-08-25 10:33:21

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Move Google maps button

Link?


Matt

The Turning Gate, http://theturninggate.net

Offline

#5 2019-08-25 16:47:03

MasterPO
Member
From: The Netherlands
Registered: 2014-01-02
Posts: 24
Website

Re: Move Google maps button

Hi Matt,

At this link you can see an example:
http://potokphotography.com/galleries/spain/#gallery-8

Pete

Offline

#6 2019-09-01 02:12:06

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Move Google maps button

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.


Matt

The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB