i need a popup with social buttons

Everything to do with Popus for Admiror Gallery.
Post Reply
Message
Author
oxygen
Maegashira
Maegashira
Posts: 14
Joined: Thu Aug 04, 2011 12:35 am

i need a popup with social buttons

#1 Post by oxygen »

Can anyone adwise a lightbox or other popup which has functions like facebook buttons and twitter buttons?
for example like here: http://www.addictedtolight.com/index.php?w=1280&h=879
you can see, if you open the pic there are buttons beneath the pic.
would be grat if something already exists.

maybe anyone can write a code to implement this at fancybox or pirobox?

Admiror Gallery 5 - Fundraising Campaign

User avatar
Bifford
Contributor
Contributor
Posts: 220
Joined: Thu Oct 21, 2010 12:31 am
Location: Essex, UK
Contact:

Re: i need a popup with social buttons

#2 Post by Bifford »

That's pretty cool! :) I especially like the "share on facebook" link!

Sam / Bifford

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: i need a popup with social buttons

#3 Post by Vasiljevski »

Well this is fairly easy to do :)

You just need to change a JS file of the popup a bit :) What popup do you plan to use? I could modify it to fit your needs :)
Help Admiror Gallery become even better,
give us a review on JED

oxygen
Maegashira
Maegashira
Posts: 14
Joined: Thu Aug 04, 2011 12:35 am

Re: i need a popup with social buttons

#4 Post by oxygen »

Hi,
I use the fancybox at the moment.
but it would be nice, to use the priobox with functions of the fancybox.

So maybe you can help me for both popups. But the first priority is the fancybox. :D
thanks :)

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: i need a popup with social buttons

#5 Post by Vasiljevski »

Well pirobox with function of fancybox, that is out of my scope :)

But adding social buttons that I can help.

I will try tomorrow to make something like it, and let you know what I came up with :)
Help Admiror Gallery become even better,
give us a review on JED

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: i need a popup with social buttons

#6 Post by Vasiljevski »

Here is the first version of Fancybox with Social Bookmarks.

Try it and let me know what should be made better :)

For adding you domain as a link to share just add option :

Code: Select all

\'domain\'=\'http://www.yourdomain.com\'

in file:

Code: Select all

plugins\content\AdmirorGallery\popups\fancybox\index.php

Code: Select all

$this->popupEngine->endCode='
<script type="text/javascript" charset="utf-8">
        AG_jQuery("a[rel='.$this->popupEngine->rel.']").fancybox({
		 \'transitionIn\' : \'elastic\',
		 \'transitionOut\' : \'elastic\',
		 \'easingIn\' : \'easeOutBack\',
		 \'easingOut\' : \'easeInBack\',
\'domain\' : \'http://www.yourdomain.com\',
        });
</script>
';
Fancybox with Social Bookmarks - http://www.vasiljevski.com/forum/viewto ... f=20&t=442
Help Admiror Gallery become even better,
give us a review on JED

Post Reply