Page 1 of 1
i need a popup with social buttons
Posted: Thu Sep 08, 2011 1:46 am
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?
Re: i need a popup with social buttons
Posted: Thu Sep 08, 2011 9:39 pm
by Bifford
That's pretty cool!

I especially like the "share on facebook" link!
Sam / Bifford
Re: i need a popup with social buttons
Posted: Fri Sep 09, 2011 12:47 pm
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

Re: i need a popup with social buttons
Posted: Sat Oct 08, 2011 10:38 pm
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.
thanks

Re: i need a popup with social buttons
Posted: Sun Oct 09, 2011 10:46 pm
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

Re: i need a popup with social buttons
Posted: Tue Oct 11, 2011 10:06 am
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