The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Social Widget

View previous topic View next topic Go down

Social Widget

Post by DeathDunk98* on April 3rd 2014, 10:40 pm

Hi Smile
I saw a nice widget in the http://www.converseit.com I thought some of you may know th code of it, so I want the widget with the same icons and animations:)
avatar
DeathDunk98*
Forumember

Posts : 479
Reputation : 3
Language : Shqip

Back to top Go down

Re: Social Widget

Post by Sir. Mayo on April 4th 2014, 5:19 pm

That widget can be found here:
http://www.addthis.com/
avatar
Sir. Mayo
Forumember

Male Posts : 979
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

http://sir-mayo.forumotion.com/

Back to top Go down

Re: Social Widget

Post by DeathDunk98* on April 4th 2014, 7:00 pm

I cannot find it ?
avatar
DeathDunk98*
Forumember

Posts : 479
Reputation : 3
Language : Shqip

Back to top Go down

Re: Social Widget

Post by Pizza Boi on April 4th 2014, 7:05 pm

Hi Very Happy

Use this as the tutorial and just replace it with the FB icons and such: http://www.avacweb.com/t56-4-sidebar-toggle

Regards,
Pizza Boi
avatar
Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Re: Social Widget

Post by DeathDunk98* on April 4th 2014, 7:36 pm

So :
Code:

[list=1][size=12][color=#0d700d][font=monospace][*]$[color=#000099]([/color][color=#000099]function[/color][color=#000099]([/color][color=#000099])[/color] [color=#000099]{[/color]
[*]   [color=#000099]([/color][color=#cc0033]'Sidebar toggling script for forumotion boards. Copyright by LGforum, All Rights Reserved. Use and  modification of this script is not allowed without this entire copyright notice in the original, copied, or modified script. No distribution without consent.'[/color][color=#000099])[/color];
[*]   [color=#000099]var[/color] hideimg [color=#000000][b]=[/b][/color] [color=#cc0033]"URL OF IMAGE TO CLICK TO HIDE THE SIDEBAR"[/color];
[*]   [color=#000099]var[/color] showimg [color=#000000][b]=[/b][/color] [color=#cc0033]"URL OF IMAGE TO CLICK TO SHOW THE SIDEBAR"[/color];
[*]   [size=13][color=#81203b][b]window[/b][/color][/size].sidebar [color=#000000][b]=[/b][/color] [size=13][color=#81203b][b]document[/b][/color][/size].getElementById[color=#000099]([/color][color=#cc0033]'left'[/color][color=#000099])[/color]; [color=#666666][i]//change to right for the right sidebar.[/i][/color]
[*]   
[*]   $[color=#000099]([/color]sidebar[color=#000099])[/color].before[color=#000099]([/color][color=#cc0033]'<div class="side_toggle"><img id="side_show" src="'[/color] [color=#000000][b]+[/b][/color] showimg [color=#000000][b]+[/b][/color] [color=#cc0033]'" style="display: none;"><img id="side_hide" src="'[/color] [color=#000000][b]+[/b][/color] hideimg [color=#000000][b]+[/b][/color] [color=#cc0033]'"></div>'[/color][color=#000099])[/color];
[*]   
[*]   [color=#000099]var[/color] toggle_side [color=#000000][b]=[/b][/color] [color=#000099]function[/color][color=#000099]([/color]id[color=#000099])[/color] [color=#000099]{[/color]
[*]      [size=13][color=#81203b][b]document[/b][/color][/size].getElementById[color=#000099]([/color][color=#cc0033]'side_'[/color] [color=#000000][b]+[/b][/color] id[color=#000099])[/color].style.display [color=#000000][b]=[/b][/color] [color=#cc0033]'none'[/color];
[*]      [size=13][color=#81203b][b]document[/b][/color][/size].getElementById[color=#000099]([/color][color=#cc0033]'side_'[/color] [color=#000000][b]+[/b][/color] [color=#000099]([/color]id [color=#000000][b]==[/b][/color][color=#000000][b]=[/b][/color] [color=#cc0033]'show'[/color] ? [color=#cc0033]'hide'[/color] [color=#000099]:[/color] [color=#cc0033]'show'[/color][color=#000099])[/color][color=#000099])[/color].style.display [color=#000000][b]=[/b][/color] [color=#cc0033]''[/color];
[*]      sidebar.style.display [color=#000000][b]=[/b][/color] id [color=#000000][b]==[/b][/color][color=#000000][b]=[/b][/color] [color=#cc0033]'hide'[/color] ? [color=#cc0033]'none'[/color] [color=#000099]:[/color] [color=#cc0033]''[/color];
[*]      my_setcookie[color=#000099]([/color][color=#cc0033]'LGsidehide'[/color], id, [color=#ff0000]1[/color][color=#000099])[/color];
[*]   [color=#000099]}[/color];
[*]   
[*]   $[color=#000099]([/color][color=#cc0033]'img'[/color], sidebar.previousSibling[color=#000099])[/color].click[color=#000099]([/color][color=#000099]function[/color][color=#000099]([/color][color=#000099])[/color] [color=#000099]{[/color]
[*]      toggle_side[color=#000099]([/color][color=#000099]this[/color].id.[color=#0099ff]replace[/color][color=#000099]([/color][color=#cc0033]'side_'[/color], [color=#cc0033]''[/color][color=#000099])[/color][color=#000099])[/color];
[*]   [color=#000099]}[/color][color=#000099])[/color];
[*]   
[*]   [color=#000099]var[/color] c [color=#000000][b]=[/b][/color] my_getcookie[color=#000099]([/color][color=#cc0033]'LGsidehide'[/color][color=#000099])[/color];
[*]   [color=#000099]if[/color][color=#000099]([/color]c [color=#000000][b]!=[/b][/color][color=#000000][b]=[/b][/color] [color=#000099]null[/color][color=#000099])[/color] toggle_side[color=#000099]([/color]c[color=#000099])[/color];
[*][color=#000099]}[/color][color=#000099])[/color];
[/font][*][/color][*][/size][*][/list]

be more precise ? where do I have to put the A HREF the link and the image please ? just for facebook icon for example ?
avatar
DeathDunk98*
Forumember

Posts : 479
Reputation : 3
Language : Shqip

Back to top Go down

Re: Social Widget

Post by Pizza Boi on April 4th 2014, 8:14 pm

Hi Very Happy

My apologies, the link I gave was wrong. Please use Mayo's instead and try downloading it and then installing it.

Regards,
Pizza Boi
avatar
Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Re: Social Widget

Post by DeathDunk98* on April 4th 2014, 9:22 pm

Sir Mayo can you provide the code to me cause I have no clue how to get it from there ?
avatar
DeathDunk98*
Forumember

Posts : 479
Reputation : 3
Language : Shqip

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum