Version Description
- Overkill declaration in the CSS fixed
- Custom icons can now have mailto:-functionality
- jQuery UI issues fixed
- Rectangle G+ icon now shown as last one as it takes more space (looks better)
Download this release
Release Info
Developer | socialdude |
Plugin | Social Share Icons & Social Share Buttons |
Version | 2.2.7 |
Comparing to | |
See all releases |
Code changes from version 2.2.6 to 2.2.7
- css/colorpicker/images/Thumbs.db +0 -0
- css/sfsi-style.css +126 -116
- images/visit_icons/Follow/icon_Follow_en_US-old.png +0 -0
- images/visit_icons/Follow/icon_Follow_en_US.png +0 -0
- js/custom-admin.js +35 -35
- js/custom-min.js +1 -1
- js/custom.js +35 -35
- js/customValidate-min.js +2 -1
- libs/controllers/sfsi_buttons_controller.php +12 -4
- libs/controllers/sfsiocns_OnPosts.php +5 -5
- libs/sfsi_install_uninstall.php +2 -2
- libs/sfsi_plus_subscribe_widget.php +3 -0
- libs/sfsi_widget.php +11 -11
- readme.txt +11 -3
- ultimate_social_media_icons.php +33 -18
- views/sfsi_option_view8.php +8 -13
- views/sfsi_pop_content.php +12 -12
css/colorpicker/images/Thumbs.db
DELETED
Binary file
|
css/sfsi-style.css
CHANGED
@@ -1327,10 +1327,10 @@ ul.sfsiplus_tab_3_icns li .sfsiplus_icns_tab_3, ul.sfsiplus_tab_3_icns li .radio
|
|
1327 |
height: 29px;
|
1328 |
backgoround-color: #fff;
|
1329 |
}
|
1330 |
-
.
|
1331 |
float: left;
|
1332 |
}
|
1333 |
-
.
|
1334 |
display: inline-block;
|
1335 |
margin-right: 4px;
|
1336 |
float: left;
|
@@ -1348,7 +1348,7 @@ ul.sfsiplus_tab_3_icns li .sfsiplus_icns_tab_3, ul.sfsiplus_tab_3_icns li .radio
|
|
1348 |
{
|
1349 |
min-height: 55px;
|
1350 |
}
|
1351 |
-
.
|
1352 |
min-height: 0!important;
|
1353 |
}
|
1354 |
.sfsi_plus_widget a img {
|
@@ -1402,7 +1402,7 @@ ul.sfsiplus_tab_3_icns li .sfsiplus_icns_tab_3, ul.sfsiplus_tab_3_icns li .radio
|
|
1402 |
-o-transform: scale(1.1);
|
1403 |
transform: scale(1.1);
|
1404 |
}
|
1405 |
-
.
|
1406 |
float: left;
|
1407 |
}
|
1408 |
.sfsi_pop_up .button a:hover {
|
@@ -1463,17 +1463,17 @@ a.addthis_button_compact {
|
|
1463 |
#sfsi_plus_Show_popupOn_PageIDs option.sel-active {
|
1464 |
background: #f7941d;
|
1465 |
}
|
1466 |
-
.
|
1467 |
float: left;
|
1468 |
margin: 0;
|
1469 |
}
|
1470 |
-
.
|
1471 |
height: 27px;
|
1472 |
}
|
1473 |
.sfsi_plus_outr_div li {
|
1474 |
float: left;
|
1475 |
}
|
1476 |
-
.
|
1477 |
min-height: 0;
|
1478 |
}
|
1479 |
#___plus_1>iframe {
|
@@ -1691,7 +1691,7 @@ ul.tab_3_list li span {
|
|
1691 |
.pop_up_box .fb_2 span {
|
1692 |
height: 28px!important;
|
1693 |
}
|
1694 |
-
.pop_up_box .
|
1695 |
margin-top: 0;
|
1696 |
}
|
1697 |
.tab6 .social_icon_like1 ul li span {
|
@@ -1707,7 +1707,7 @@ ul.tab_3_list li span {
|
|
1707 |
width: 89%;
|
1708 |
z-index: 9999;
|
1709 |
}
|
1710 |
-
.
|
1711 |
background: #FFF;
|
1712 |
border: 1px solid #e7e7e7;
|
1713 |
box-shadow: #e7e7e7 0 0 2px 1px;
|
@@ -1720,18 +1720,18 @@ ul.tab_3_list li span {
|
|
1720 |
border-bottom: #e5e5e5 solid 4px;
|
1721 |
width: 100px;
|
1722 |
}
|
1723 |
-
.
|
1724 |
display: inline-table;
|
1725 |
}
|
1726 |
.sfsiplus_inerCnt, .sfsiplus_inerCnt:hover, .sfsiplus_inerCnt>a, .sfsiplus_inerCnt>a:hover, .widget-area .widget a {
|
1727 |
outline: 0;
|
1728 |
}
|
1729 |
-
.
|
1730 |
bottom: 90%;
|
1731 |
left: 20%;
|
1732 |
opacity: 0;
|
1733 |
}
|
1734 |
-
.
|
1735 |
background: url(../images/bot_tip_icn.png) no-repeat;
|
1736 |
position: absolute;
|
1737 |
bottom: -21px;
|
@@ -1740,7 +1740,7 @@ ul.tab_3_list li span {
|
|
1740 |
height: 21px;
|
1741 |
margin-left: -10px;
|
1742 |
}
|
1743 |
-
.
|
1744 |
position: absolute;
|
1745 |
-webkit-transform: rotate(180deg);
|
1746 |
-moz-transform: rotate(180deg);
|
@@ -1753,17 +1753,17 @@ ul.tab_3_list li span {
|
|
1753 |
height: 21px;
|
1754 |
margin-right: -5px;
|
1755 |
}
|
1756 |
-
.
|
1757 |
margin-top: 0;
|
1758 |
}
|
1759 |
-
.
|
1760 |
margin: 0;
|
1761 |
}
|
1762 |
.sfsiTlleftBig {
|
1763 |
bottom: 121%;
|
1764 |
left: 22%;
|
1765 |
margin-left: -54%}
|
1766 |
-
.
|
1767 |
bottom: 100%;
|
1768 |
left: 50%;
|
1769 |
margin-left: -66px !important;
|
@@ -1882,63 +1882,67 @@ h2.optional {
|
|
1882 |
display: inline-block;
|
1883 |
float: none;
|
1884 |
}
|
1885 |
-
.
|
1886 |
width: 79px;
|
1887 |
}
|
1888 |
-
.
|
1889 |
margin: 0 0 10px -22px;
|
1890 |
}
|
1891 |
-
.
|
1892 |
margin: 0 0 0 -53px;
|
1893 |
}
|
1894 |
-
.
|
1895 |
width: 68px;
|
1896 |
height: auto;
|
1897 |
}
|
1898 |
-
.
|
1899 |
text-align: center;
|
1900 |
width: 100%;
|
1901 |
float: left;
|
1902 |
overflow: hidden;
|
1903 |
}
|
1904 |
-
.
|
1905 |
margin: 2px 0 2px 0;
|
1906 |
height: 28px;
|
1907 |
display: inline-block;
|
1908 |
float: none;
|
1909 |
/* width: 62px;s*/
|
1910 |
}
|
1911 |
-
img
|
1912 |
-
|
|
|
|
|
|
|
|
|
1913 |
margin: 2px 0 2px 0 ;
|
1914 |
height: 20px;
|
1915 |
/* width: 49px;*/
|
1916 |
display:block;
|
1917 |
overflow: hidden;
|
1918 |
}
|
1919 |
-
.
|
1920 |
margin: 2px 0 2px 0;
|
1921 |
height: 20px;
|
1922 |
/* width: 62px;*/
|
1923 |
display:inline-block;
|
1924 |
float: none;
|
1925 |
}
|
1926 |
-
.
|
1927 |
margin: 9px 0 0;
|
1928 |
height: 25px;
|
1929 |
}
|
1930 |
-
.
|
1931 |
text-align: center;
|
1932 |
float: left;
|
1933 |
width: 100%}
|
1934 |
-
.
|
1935 |
margin: 2px 0;
|
1936 |
height: 24px;
|
1937 |
display: inline-block;
|
1938 |
float: none;
|
1939 |
/*width: 73px;*/
|
1940 |
}
|
1941 |
-
.
|
1942 |
margin: 2px 0;
|
1943 |
height: 20px;
|
1944 |
display:inline-block;
|
@@ -1946,37 +1950,37 @@ img {vertical-align:sub !important;}
|
|
1946 |
/*max-width: 73px;*/
|
1947 |
width: 100%;
|
1948 |
}
|
1949 |
-
.
|
1950 |
margin: 9px 0 0;
|
1951 |
height: 20px;
|
1952 |
float: none;
|
1953 |
display: inline-block;
|
1954 |
}
|
1955 |
-
.
|
1956 |
/* margin-left: -59px;*/
|
1957 |
}
|
1958 |
-
.
|
1959 |
padding-top: 0;
|
1960 |
}
|
1961 |
-
.
|
1962 |
width: 76px;
|
1963 |
}
|
1964 |
-
.
|
1965 |
padding-top: 0;
|
1966 |
}
|
1967 |
-
.
|
1968 |
text-align: center;
|
1969 |
width: 100%;
|
1970 |
float: left;
|
1971 |
}
|
1972 |
-
.
|
1973 |
margin: 2px 0;
|
1974 |
display: inline-block;
|
1975 |
float: none;
|
1976 |
height: 29px;
|
1977 |
/*width: 76px;*/
|
1978 |
}
|
1979 |
-
.
|
1980 |
margin: 2px 0 2px 0;
|
1981 |
display:inline-block;
|
1982 |
float: none;
|
@@ -1984,28 +1988,28 @@ img {vertical-align:sub !important;}
|
|
1984 |
width:100%;
|
1985 |
/* width: 38px;*/
|
1986 |
}
|
1987 |
-
.
|
1988 |
margin: 2px 0 2px 0;
|
1989 |
display:block;
|
1990 |
float: none;
|
1991 |
height: 24px;
|
1992 |
/* width: 76px;
|
1993 |
*/}
|
1994 |
-
.
|
1995 |
margin: 9px 0 0;
|
1996 |
height: 29px;
|
1997 |
}
|
1998 |
-
.
|
1999 |
bottom: 100%;
|
2000 |
left: 50%;
|
2001 |
margin-bottom: 2px;
|
2002 |
}
|
2003 |
-
.
|
2004 |
text-align: center;
|
2005 |
width: 100%;
|
2006 |
float: left;
|
2007 |
}
|
2008 |
-
.
|
2009 |
margin: 2px 0!important;
|
2010 |
display: inline-block;
|
2011 |
float: none;
|
@@ -2013,16 +2017,16 @@ img {vertical-align:sub !important;}
|
|
2013 |
overflow: hidden;
|
2014 |
/*width: 100%;*/
|
2015 |
}
|
2016 |
-
.
|
2017 |
display: inline-block;
|
2018 |
vertical-align: middle;
|
2019 |
/*width: 100%;*/
|
2020 |
width:auto;
|
2021 |
}
|
2022 |
-
.
|
2023 |
float: left;
|
2024 |
}
|
2025 |
-
.
|
2026 |
margin: 2px 24px 2px !important;
|
2027 |
display: inline-block;
|
2028 |
float: none;
|
@@ -2030,18 +2034,18 @@ img {vertical-align:sub !important;}
|
|
2030 |
overflow: hidden;
|
2031 |
height: 20px;
|
2032 |
}
|
2033 |
-
.
|
2034 |
/* width: 61px!important;*/
|
2035 |
}
|
2036 |
-
.
|
2037 |
-
.
|
2038 |
margin: 0px 0!important;
|
2039 |
display:inline-block;
|
2040 |
float: none;
|
2041 |
height: 20px;
|
2042 |
/* width: 58px;s*/
|
2043 |
}
|
2044 |
-
.
|
2045 |
margin: 9px 0 0;
|
2046 |
display: inline-block;
|
2047 |
float: none;
|
@@ -2049,36 +2053,36 @@ img {vertical-align:sub !important;}
|
|
2049 |
height: 20px;
|
2050 |
overflow: hidden;
|
2051 |
}
|
2052 |
-
.
|
2053 |
width: 100%!important;
|
2054 |
}
|
2055 |
-
.
|
2056 |
margin: 9px 0 0;
|
2057 |
height: 20px;
|
2058 |
display: inline-block;
|
2059 |
float: none;
|
2060 |
width: 58px;
|
2061 |
}
|
2062 |
-
.utube_tool_bdr .
|
2063 |
text-align: center;
|
2064 |
width: 100%;
|
2065 |
float: left;
|
2066 |
}
|
2067 |
-
.
|
2068 |
-
.utube_tool_bdr .
|
2069 |
margin: 2px 0 2px;
|
2070 |
height: 24px;
|
2071 |
display: inline-block;
|
2072 |
float: none;
|
2073 |
width: 87px;
|
2074 |
}
|
2075 |
-
.utube_tool_bdr .
|
2076 |
margin: 2px 0 2;
|
2077 |
height: 24px;
|
2078 |
display:inline-block;
|
2079 |
float: none;
|
2080 |
-
|
2081 |
-
|
2082 |
}
|
2083 |
.utube_tool_bdr {
|
2084 |
width: 93px;
|
@@ -2086,28 +2090,28 @@ img {vertical-align:sub !important;}
|
|
2086 |
left: 50%;
|
2087 |
margin-bottom: 2px;
|
2088 |
}
|
2089 |
-
.
|
2090 |
width: 66px;
|
2091 |
}
|
2092 |
-
.
|
2093 |
text-align: center;
|
2094 |
float: left;
|
2095 |
width: 100%}
|
2096 |
-
.
|
2097 |
margin: 2px 0;
|
2098 |
display: inline-block;
|
2099 |
float: none;
|
2100 |
height: 23px;
|
2101 |
width: 100%;
|
2102 |
}
|
2103 |
-
.
|
2104 |
margin: 2px 0;
|
2105 |
display:inline-block;
|
2106 |
float: none;
|
2107 |
height: 23px;
|
2108 |
width: 100%;
|
2109 |
}
|
2110 |
-
.
|
2111 |
margin: 2px 0;
|
2112 |
display:inline-block;
|
2113 |
float: none;
|
@@ -2116,34 +2120,34 @@ img {vertical-align:sub !important;}
|
|
2116 |
}
|
2117 |
|
2118 |
|
2119 |
-
.
|
2120 |
margin: 2px 0;
|
2121 |
display: inline-block;
|
2122 |
float: none;
|
2123 |
height: 28px;
|
2124 |
width: 66px;
|
2125 |
}
|
2126 |
-
.sfsi_plus_FrntInner .
|
2127 |
-
.sfsi_plus_widget .
|
2128 |
-
.sfsi_plus_widget .
|
2129 |
-
.sfsi_plus_widget .
|
2130 |
|
2131 |
-
.
|
2132 |
margin: 9px 0 0!important;
|
2133 |
height: 20px;
|
2134 |
display: inline-block;
|
2135 |
float: none;
|
2136 |
overflow: hidden;
|
2137 |
}
|
2138 |
-
.
|
2139 |
width: 62px;
|
2140 |
height: auto;
|
2141 |
}
|
2142 |
-
.
|
2143 |
margin: 0px auto!important;
|
2144 |
float: left !important;
|
2145 |
width: 100%}
|
2146 |
-
.
|
2147 |
text-align: center;
|
2148 |
}
|
2149 |
.sfsi_pop_up .button {
|
@@ -2221,7 +2225,7 @@ img {vertical-align:sub !important;}
|
|
2221 |
.plus_custom-links p.cus_link label {
|
2222 |
margin-left: 0;
|
2223 |
}
|
2224 |
-
.pop_up_box .
|
2225 |
opacity: .9;
|
2226 |
}
|
2227 |
.tab2 .rss_url_row .sfrsTxt {
|
@@ -2243,16 +2247,19 @@ img {vertical-align:sub !important;}
|
|
2243 |
line-height: 41px;
|
2244 |
margin-right: 8px;
|
2245 |
}
|
2246 |
-
.icon2 .fb_iframe_widget span {
|
2247 |
/* width: 500px!important; sunil*/
|
2248 |
}
|
2249 |
@media (max-width:767px) {
|
2250 |
-
|
2251 |
width: auto;
|
2252 |
}
|
2253 |
-
.sfsi_plus_outr_div
|
2254 |
-
|
2255 |
-
|
|
|
|
|
|
|
2256 |
font-size: 22px!important;
|
2257 |
line-height: 28px;
|
2258 |
}
|
@@ -2263,74 +2270,75 @@ img {vertical-align:sub !important;}
|
|
2263 |
.sfsiplus_specify_counts .listing li .high_prb {
|
2264 |
height: 41px;
|
2265 |
}
|
2266 |
-
.
|
2267 |
position: relative;
|
2268 |
}
|
2269 |
-
.
|
2270 |
-
.
|
2271 |
-
.
|
2272 |
-
.
|
2273 |
-
.
|
2274 |
|
2275 |
-
.
|
2276 |
-
.
|
2277 |
-
.
|
2278 |
-
.
|
2279 |
-
.
|
2280 |
|
2281 |
-
.
|
2282 |
-
.
|
2283 |
-
.
|
2284 |
-
.
|
2285 |
-
.
|
2286 |
|
2287 |
-
.
|
2288 |
{
|
2289 |
position: relative;
|
2290 |
width: 75px;
|
2291 |
}
|
2292 |
-
.
|
2293 |
{
|
2294 |
margin: 0px;
|
2295 |
height: 20px !important;
|
2296 |
overflow: visible !important;
|
2297 |
}
|
2298 |
-
.
|
2299 |
{
|
2300 |
overflow: visible !important;
|
|
|
2301 |
}
|
2302 |
-
.
|
2303 |
{
|
2304 |
width: auto;
|
2305 |
float: left;
|
2306 |
border: medium none;
|
2307 |
padding-top: 0px;
|
2308 |
}
|
2309 |
-
.
|
2310 |
{
|
2311 |
outline: medium none;
|
2312 |
}
|
2313 |
-
.
|
2314 |
{
|
2315 |
float: left;
|
2316 |
}
|
2317 |
-
.
|
2318 |
position: relative;
|
2319 |
width: 75px;
|
2320 |
}
|
2321 |
-
.
|
2322 |
float: none;
|
2323 |
width: auto;
|
2324 |
vertical-align: middle;
|
2325 |
margin: 2px 0 0;
|
2326 |
}
|
2327 |
/*absolute commented as for standard icon it was giving issue while icon was to be aligned centerd.*/
|
2328 |
-
.
|
2329 |
position: relative;
|
2330 |
/*width: 450px!important;*/
|
2331 |
float: left;
|
2332 |
}
|
2333 |
-
.
|
2334 |
position: relative;
|
2335 |
}
|
2336 |
.sf_google > div
|
@@ -2341,12 +2349,12 @@ img {vertical-align:sub !important;}
|
|
2341 |
{
|
2342 |
width: 100% !important;
|
2343 |
}
|
2344 |
-
.
|
2345 |
{
|
2346 |
float: left !important;
|
2347 |
margin-top: 1px !important;
|
2348 |
}
|
2349 |
-
.wrapper .
|
2350 |
margin: 7px 0 0 4px!important;
|
2351 |
}
|
2352 |
.tab2 .utube_inn label {
|
@@ -2534,10 +2542,10 @@ h1.abt_titl {
|
|
2534 |
padding: 0;
|
2535 |
}
|
2536 |
}@media (min-width:320px) and (max-width:480px) {
|
2537 |
-
.
|
2538 |
padding: 5px 14px 0;
|
2539 |
}
|
2540 |
-
.
|
2541 |
margin-bottom: 18px;
|
2542 |
clear: both;
|
2543 |
}
|
@@ -2551,10 +2559,10 @@ h1.abt_titl {
|
|
2551 |
width: 100%}
|
2552 |
}
|
2553 |
@media (max-width:320px) {
|
2554 |
-
.
|
2555 |
padding: 5px 14px 0;
|
2556 |
}
|
2557 |
-
.
|
2558 |
margin-bottom: 18px;
|
2559 |
clear: both;
|
2560 |
}
|
@@ -3126,19 +3134,19 @@ label.sfsiplus_toglpstpgsbttl { float: left; margin-top: 5px !important}
|
|
3126 |
line-height: 18px;
|
3127 |
margin: 5px 0;
|
3128 |
}
|
3129 |
-
.sfsibeforpstwpr .
|
3130 |
{
|
3131 |
font-size: 20px;
|
3132 |
}
|
3133 |
-
.sfsiaftrpstwpr .
|
3134 |
{
|
3135 |
font-size: 20px;
|
3136 |
}
|
3137 |
-
.sfsibeforpstwpr .
|
3138 |
{
|
3139 |
|
3140 |
}
|
3141 |
-
.sfsiaftrpstwpr .
|
3142 |
{
|
3143 |
|
3144 |
}
|
@@ -3167,6 +3175,7 @@ label.sfsiplus_toglpstpgsbttl { float: left; margin-top: 5px !important}
|
|
3167 |
font-size: 20px;
|
3168 |
margin: 62px 5px 0 20px;
|
3169 |
font-family: 'helveticaneue-light';
|
|
|
3170 |
width: 120px;
|
3171 |
}
|
3172 |
|
@@ -3210,6 +3219,7 @@ label.sfsiplus_toglpstpgsbttl { float: left; margin-top: 5px !important}
|
|
3210 |
.sfsiplus_tab_3_icns.sfsiplus_shwthmbfraftr {
|
3211 |
overflow: visible;
|
3212 |
}
|
3213 |
-
/*.
|
3214 |
-
.
|
3215 |
-
.cstmicon1{text-align:center;}
|
|
1327 |
height: 29px;
|
1328 |
backgoround-color: #fff;
|
1329 |
}
|
1330 |
+
.sfsi_plus_tool_tip_2 .top_arow .sfsi_plus_inside, .top_arow .sfsi_plus_inside {
|
1331 |
float: left;
|
1332 |
}
|
1333 |
+
.sfsi_plus_tool_tip_2 .tool_tip>img, .tool_tip>img {
|
1334 |
display: inline-block;
|
1335 |
margin-right: 4px;
|
1336 |
float: left;
|
1348 |
{
|
1349 |
min-height: 55px;
|
1350 |
}
|
1351 |
+
.sfsi_plus_tool_tip_2 a {
|
1352 |
min-height: 0!important;
|
1353 |
}
|
1354 |
.sfsi_plus_widget a img {
|
1402 |
-o-transform: scale(1.1);
|
1403 |
transform: scale(1.1);
|
1404 |
}
|
1405 |
+
.sfsi_plus_Sicons {
|
1406 |
float: left;
|
1407 |
}
|
1408 |
.sfsi_pop_up .button a:hover {
|
1463 |
#sfsi_plus_Show_popupOn_PageIDs option.sel-active {
|
1464 |
background: #f7941d;
|
1465 |
}
|
1466 |
+
.sfsi_plus_inside div iframe {
|
1467 |
float: left;
|
1468 |
margin: 0;
|
1469 |
}
|
1470 |
+
.sfsi_plus_inside div #___plus_0, .sfsi_plus_inside div #___plusone_0 {
|
1471 |
height: 27px;
|
1472 |
}
|
1473 |
.sfsi_plus_outr_div li {
|
1474 |
float: left;
|
1475 |
}
|
1476 |
+
.sfsi_plus_tool_tip_2 .sfsi_plus_inside div {
|
1477 |
min-height: 0;
|
1478 |
}
|
1479 |
#___plus_1>iframe {
|
1691 |
.pop_up_box .fb_2 span {
|
1692 |
height: 28px!important;
|
1693 |
}
|
1694 |
+
.pop_up_box .sfsi_plus_tool_tip_2 .fbb .fb_1 a {
|
1695 |
margin-top: 0;
|
1696 |
}
|
1697 |
.tab6 .social_icon_like1 ul li span {
|
1707 |
width: 89%;
|
1708 |
z-index: 9999;
|
1709 |
}
|
1710 |
+
.sfsi_plus_tool_tip_2, .tool_tip {
|
1711 |
background: #FFF;
|
1712 |
border: 1px solid #e7e7e7;
|
1713 |
box-shadow: #e7e7e7 0 0 2px 1px;
|
1720 |
border-bottom: #e5e5e5 solid 4px;
|
1721 |
width: 100px;
|
1722 |
}
|
1723 |
+
.sfsi_plus_tool_tip_2 {
|
1724 |
display: inline-table;
|
1725 |
}
|
1726 |
.sfsiplus_inerCnt, .sfsiplus_inerCnt:hover, .sfsiplus_inerCnt>a, .sfsiplus_inerCnt>a:hover, .widget-area .widget a {
|
1727 |
outline: 0;
|
1728 |
}
|
1729 |
+
.sfsi_plus_tool_tip_2_inr {
|
1730 |
bottom: 90%;
|
1731 |
left: 20%;
|
1732 |
opacity: 0;
|
1733 |
}
|
1734 |
+
.sfsi_plus_tool_tip_2 .bot_arow {
|
1735 |
background: url(../images/bot_tip_icn.png) no-repeat;
|
1736 |
position: absolute;
|
1737 |
bottom: -21px;
|
1740 |
height: 21px;
|
1741 |
margin-left: -10px;
|
1742 |
}
|
1743 |
+
.sfsi_plus_tool_tip_2 .top_big_arow {
|
1744 |
position: absolute;
|
1745 |
-webkit-transform: rotate(180deg);
|
1746 |
-moz-transform: rotate(180deg);
|
1753 |
height: 21px;
|
1754 |
margin-right: -5px;
|
1755 |
}
|
1756 |
+
.sfsi_plus_tool_tip_2_inr .gpls_visit>a, .sfsi_plus_tool_tip_2_inr .prints_visit_1 a, .sfsi_plus_tool_tip_2_inr .utub_visit>a {
|
1757 |
margin-top: 0;
|
1758 |
}
|
1759 |
+
.sfsi_plus_tool_tip_2_inr .linkin_1 a, .sfsi_plus_tool_tip_2_inr .linkin_2 a, .sfsi_plus_tool_tip_2_inr .linkin_3 a, .sfsi_plus_tool_tip_2_inr .linkin_4 a, .sfsi_plus_tool_tip_2_inr .prints_visit a {
|
1760 |
margin: 0;
|
1761 |
}
|
1762 |
.sfsiTlleftBig {
|
1763 |
bottom: 121%;
|
1764 |
left: 22%;
|
1765 |
margin-left: -54%}
|
1766 |
+
.sfsi_plus_Tlleft {
|
1767 |
bottom: 100%;
|
1768 |
left: 50%;
|
1769 |
margin-left: -66px !important;
|
1882 |
display: inline-block;
|
1883 |
float: none;
|
1884 |
}
|
1885 |
+
.sfsi_plus_printst_tool_bdr {
|
1886 |
width: 79px;
|
1887 |
}
|
1888 |
+
.sfsi_plus_printst_tool_bdr .prints_visit {
|
1889 |
margin: 0 0 10px -22px;
|
1890 |
}
|
1891 |
+
.sfsi_plus_printst_tool_bdr .prints_visit_1 {
|
1892 |
margin: 0 0 0 -53px;
|
1893 |
}
|
1894 |
+
.sfsi_plus_fb_tool_bdr {
|
1895 |
width: 68px;
|
1896 |
height: auto;
|
1897 |
}
|
1898 |
+
.sfsi_plus_fb_tool_bdr .sfsi_plus_inside {
|
1899 |
text-align: center;
|
1900 |
width: 100%;
|
1901 |
float: left;
|
1902 |
overflow: hidden;
|
1903 |
}
|
1904 |
+
.sfsi_plus_fb_tool_bdr .sfsi_plus_inside .icon1 {
|
1905 |
margin: 2px 0 2px 0;
|
1906 |
height: 28px;
|
1907 |
display: inline-block;
|
1908 |
float: none;
|
1909 |
/* width: 62px;s*/
|
1910 |
}
|
1911 |
+
.sfsi_plus_inside img
|
1912 |
+
{
|
1913 |
+
vertical-align:sub !important;
|
1914 |
+
}
|
1915 |
+
.sfsi_plus_fb_tool_bdr .sfsi_plus_inside .icon2
|
1916 |
+
{
|
1917 |
margin: 2px 0 2px 0 ;
|
1918 |
height: 20px;
|
1919 |
/* width: 49px;*/
|
1920 |
display:block;
|
1921 |
overflow: hidden;
|
1922 |
}
|
1923 |
+
.sfsi_plus_fb_tool_bdr .sfsi_plus_inside .icon3 {
|
1924 |
margin: 2px 0 2px 0;
|
1925 |
height: 20px;
|
1926 |
/* width: 62px;*/
|
1927 |
display:inline-block;
|
1928 |
float: none;
|
1929 |
}
|
1930 |
+
.sfsi_plus_fb_tool_bdr .sfsi_plus_inside .fb_1, .sfsi_plus_fb_tool_bdr .sfsi_plus_inside .fb_2, .sfsi_plus_fb_tool_bdr .sfsi_plus_inside .fb_3 {
|
1931 |
margin: 9px 0 0;
|
1932 |
height: 25px;
|
1933 |
}
|
1934 |
+
.sfsi_plus_printst_tool_bdr .sfsi_plus_inside {
|
1935 |
text-align: center;
|
1936 |
float: left;
|
1937 |
width: 100%}
|
1938 |
+
.sfsi_plus_printst_tool_bdr .sfsi_plus_inside .icon1{
|
1939 |
margin: 2px 0;
|
1940 |
height: 24px;
|
1941 |
display: inline-block;
|
1942 |
float: none;
|
1943 |
/*width: 73px;*/
|
1944 |
}
|
1945 |
+
.sfsi_plus_printst_tool_bdr .sfsi_plus_inside .icon2 {
|
1946 |
margin: 2px 0;
|
1947 |
height: 20px;
|
1948 |
display:inline-block;
|
1950 |
/*max-width: 73px;*/
|
1951 |
width: 100%;
|
1952 |
}
|
1953 |
+
.sfsi_plus_printst_tool_bdr .sfsi_plus_inside .prints_visit, .sfsi_plus_printst_tool_bdr .sfsi_plus_inside .prints_visit_1 {
|
1954 |
margin: 9px 0 0;
|
1955 |
height: 20px;
|
1956 |
float: none;
|
1957 |
display: inline-block;
|
1958 |
}
|
1959 |
+
.sfsi_plus_printst_tool_bdr {
|
1960 |
/* margin-left: -59px;*/
|
1961 |
}
|
1962 |
+
.sfsi_plus_fb_tool_bdr .sfsi_plus_inside .icon1>a>img, .sfsi_plus_gpls_tool_bdr .sfsi_plus_inside .icon1>a>img, .sfsi_plus_linkedin_tool_bdr .sfsi_plus_inside .icon1>a>img, .sfsi_plus_linkedin_tool_bdr .sfsi_plus_inside .icon4>a>img, .sfsi_plus_printst_tool_bdr .sfsi_plus_inside .icon1>a>img, .sfsi_plus_printst_tool_bdr .sfsi_plus_inside .icon2>a>img, .utube_tool_bdr .sfsi_plus_inside .icon1>a>img {
|
1963 |
padding-top: 0;
|
1964 |
}
|
1965 |
+
.sfsi_plus_gpls_tool_bdr {
|
1966 |
width: 76px;
|
1967 |
}
|
1968 |
+
.sfsi_plus_gpls_tool_bdr .sfsi_plus_inside .icon1>a>img {
|
1969 |
padding-top: 0;
|
1970 |
}
|
1971 |
+
.sfsi_plus_gpls_tool_bdr .sfsi_plus_inside {
|
1972 |
text-align: center;
|
1973 |
width: 100%;
|
1974 |
float: left;
|
1975 |
}
|
1976 |
+
.sfsi_plus_gpls_tool_bdr .sfsi_plus_inside .icon1 {
|
1977 |
margin: 2px 0;
|
1978 |
display: inline-block;
|
1979 |
float: none;
|
1980 |
height: 29px;
|
1981 |
/*width: 76px;*/
|
1982 |
}
|
1983 |
+
.sfsi_plus_gpls_tool_bdr .sfsi_plus_inside .icon2 {
|
1984 |
margin: 2px 0 2px 0;
|
1985 |
display:inline-block;
|
1986 |
float: none;
|
1988 |
width:100%;
|
1989 |
/* width: 38px;*/
|
1990 |
}
|
1991 |
+
.sfsi_plus_gpls_tool_bdr .sfsi_plus_inside .icon3 {
|
1992 |
margin: 2px 0 2px 0;
|
1993 |
display:block;
|
1994 |
float: none;
|
1995 |
height: 24px;
|
1996 |
/* width: 76px;
|
1997 |
*/}
|
1998 |
+
.sfsi_plus_gpls_tool_bdr .sfsi_plus_inside .gpls_visit, .sfsi_plus_gpls_tool_bdr .sfsi_plus_inside .gtalk_2, .sfsi_plus_gpls_tool_bdr .sfsi_plus_inside .gtalk_3 {
|
1999 |
margin: 9px 0 0;
|
2000 |
height: 29px;
|
2001 |
}
|
2002 |
+
.sfsi_plus_fb_tool_bdr, .sfsi_plus_gpls_tool_bdr, .sfsi_plus_linkedin_tool_bdr, .sfsi_plus_printst_tool_bdr, .sfsi_plus_twt_tool_bdr {
|
2003 |
bottom: 100%;
|
2004 |
left: 50%;
|
2005 |
margin-bottom: 2px;
|
2006 |
}
|
2007 |
+
.sfsi_plus_twt_tool_bdr .sfsi_plus_inside {
|
2008 |
text-align: center;
|
2009 |
width: 100%;
|
2010 |
float: left;
|
2011 |
}
|
2012 |
+
.sfsi_plus_twt_tool_bdr .sfsi_plus_inside .cstmicon1 {
|
2013 |
margin: 2px 0!important;
|
2014 |
display: inline-block;
|
2015 |
float: none;
|
2017 |
overflow: hidden;
|
2018 |
/*width: 100%;*/
|
2019 |
}
|
2020 |
+
.sfsi_plus_twt_tool_bdr .sfsi_plus_inside .cstmicon1 a {
|
2021 |
display: inline-block;
|
2022 |
vertical-align: middle;
|
2023 |
/*width: 100%;*/
|
2024 |
width:auto;
|
2025 |
}
|
2026 |
+
.sfsi_plus_twt_tool_bdr .sfsi_plus_inside .cstmicon1 a img{
|
2027 |
float: left;
|
2028 |
}
|
2029 |
+
.sfsi_plus_twt_tool_bdr .sfsi_plus_inside .icon1 {
|
2030 |
margin: 2px 24px 2px !important;
|
2031 |
display: inline-block;
|
2032 |
float: none;
|
2034 |
overflow: hidden;
|
2035 |
height: 20px;
|
2036 |
}
|
2037 |
+
.sfsi_plus_twt_tool_bdr .sfsi_plus_inside .icon1 iframe {
|
2038 |
/* width: 61px!important;*/
|
2039 |
}
|
2040 |
+
.sfsi_plus_tool_tip_2, .sfsi_plus_fb_tool_bdr, .sfsi_plus_twt_tool_bdr, .sfsi_plus_linkedin_tool_bdr, .sfsi_plus_printst_tool_bdr, .sfsi_plus_gpls_tool_bdr, .sfsi_plus_Tlleft {width:140px !important; padding:6px 0;}
|
2041 |
+
.sfsi_plus_twt_tool_bdr .sfsi_plus_inside .icon2 {
|
2042 |
margin: 0px 0!important;
|
2043 |
display:inline-block;
|
2044 |
float: none;
|
2045 |
height: 20px;
|
2046 |
/* width: 58px;s*/
|
2047 |
}
|
2048 |
+
.sfsi_plus_twt_tool_bdr .sfsi_plus_inside .twt_1 {
|
2049 |
margin: 9px 0 0;
|
2050 |
display: inline-block;
|
2051 |
float: none;
|
2053 |
height: 20px;
|
2054 |
overflow: hidden;
|
2055 |
}
|
2056 |
+
.sfsi_plus_twt_tool_bdr .sfsi_plus_inside .twt_1 iframe {
|
2057 |
width: 100%!important;
|
2058 |
}
|
2059 |
+
.sfsi_plus_twt_tool_bdr .sfsi_plus_inside .twt_2 {
|
2060 |
margin: 9px 0 0;
|
2061 |
height: 20px;
|
2062 |
display: inline-block;
|
2063 |
float: none;
|
2064 |
width: 58px;
|
2065 |
}
|
2066 |
+
.utube_tool_bdr .sfsi_plus_inside {
|
2067 |
text-align: center;
|
2068 |
width: 100%;
|
2069 |
float: left;
|
2070 |
}
|
2071 |
+
.sfsi_plus_inside > div {}
|
2072 |
+
.utube_tool_bdr .sfsi_plus_inside .icon1{
|
2073 |
margin: 2px 0 2px;
|
2074 |
height: 24px;
|
2075 |
display: inline-block;
|
2076 |
float: none;
|
2077 |
width: 87px;
|
2078 |
}
|
2079 |
+
.utube_tool_bdr .sfsi_plus_inside .icon2 {
|
2080 |
margin: 2px 0 2;
|
2081 |
height: 24px;
|
2082 |
display:inline-block;
|
2083 |
float: none;
|
2084 |
+
min-width: 100px;
|
2085 |
+
width: auto;
|
2086 |
}
|
2087 |
.utube_tool_bdr {
|
2088 |
width: 93px;
|
2090 |
left: 50%;
|
2091 |
margin-bottom: 2px;
|
2092 |
}
|
2093 |
+
.sfsi_plus_linkedin_tool_bdr {
|
2094 |
width: 66px;
|
2095 |
}
|
2096 |
+
.sfsi_plus_linkedin_tool_bdr .sfsi_plus_inside {
|
2097 |
text-align: center;
|
2098 |
float: left;
|
2099 |
width: 100%}
|
2100 |
+
.sfsi_plus_linkedin_tool_bdr .sfsi_plus_inside .icon1{
|
2101 |
margin: 2px 0;
|
2102 |
display: inline-block;
|
2103 |
float: none;
|
2104 |
height: 23px;
|
2105 |
width: 100%;
|
2106 |
}
|
2107 |
+
.sfsi_plus_linkedin_tool_bdr .sfsi_plus_inside .icon2{
|
2108 |
margin: 2px 0;
|
2109 |
display:inline-block;
|
2110 |
float: none;
|
2111 |
height: 23px;
|
2112 |
width: 100%;
|
2113 |
}
|
2114 |
+
.sfsi_plus_linkedin_tool_bdr .sfsi_plus_inside .icon3 {
|
2115 |
margin: 2px 0;
|
2116 |
display:inline-block;
|
2117 |
float: none;
|
2120 |
}
|
2121 |
|
2122 |
|
2123 |
+
.sfsi_plus_linkedin_tool_bdr .sfsi_plus_inside .icon4 {
|
2124 |
margin: 2px 0;
|
2125 |
display: inline-block;
|
2126 |
float: none;
|
2127 |
height: 28px;
|
2128 |
width: 66px;
|
2129 |
}
|
2130 |
+
.sfsi_plus_FrntInner .sfsi_plus_linkedin_tool_bdr .sfsi_plus_inside .icon1{ margin: 2px 0;}
|
2131 |
+
.sfsi_plus_widget .sfsi_plus_linkedin_tool_bdr .sfsi_plus_inside .icon4,
|
2132 |
+
.sfsi_plus_widget .sfsi_plus_gpls_tool_bdr .sfsi_plus_inside .icon1,
|
2133 |
+
.sfsi_plus_widget .sfsi_plus_fb_tool_bdr .sfsi_plus_inside .icon1 { height: auto}
|
2134 |
|
2135 |
+
.sfsi_plus_linkedin_tool_bdr .linkin_1, .sfsi_plus_linkedin_tool_bdr .linkin_2, .sfsi_plus_linkedin_tool_bdr .linkin_3, .sfsi_plus_linkedin_tool_bdr .linkin_4 {
|
2136 |
margin: 9px 0 0!important;
|
2137 |
height: 20px;
|
2138 |
display: inline-block;
|
2139 |
float: none;
|
2140 |
overflow: hidden;
|
2141 |
}
|
2142 |
+
.sfsi_plus_twt_tool_bdr {
|
2143 |
width: 62px;
|
2144 |
height: auto;
|
2145 |
}
|
2146 |
+
.sfsi_plus_twt_tool_bdr .sfsi_plus_inside .icon1>iframe {
|
2147 |
margin: 0px auto!important;
|
2148 |
float: left !important;
|
2149 |
width: 100%}
|
2150 |
+
.sfsi_plus_twt_tool_bdr .sfsi_plus_inside .icon1>iframe #widget {
|
2151 |
text-align: center;
|
2152 |
}
|
2153 |
.sfsi_pop_up .button {
|
2225 |
.plus_custom-links p.cus_link label {
|
2226 |
margin-left: 0;
|
2227 |
}
|
2228 |
+
.pop_up_box .sfsi_plus_tool_tip_2 .fbb .fb_1 a>img:hover {
|
2229 |
opacity: .9;
|
2230 |
}
|
2231 |
.tab2 .rss_url_row .sfrsTxt {
|
2247 |
line-height: 41px;
|
2248 |
margin-right: 8px;
|
2249 |
}
|
2250 |
+
.sfsi_inside .icon2 .fb_iframe_widget span {
|
2251 |
/* width: 500px!important; sunil*/
|
2252 |
}
|
2253 |
@media (max-width:767px) {
|
2254 |
+
.icon2 .fb_iframe_widget span {
|
2255 |
width: auto;
|
2256 |
}
|
2257 |
+
.sfsi_plus_outr_div
|
2258 |
+
{
|
2259 |
+
top: 10%
|
2260 |
+
}
|
2261 |
+
.sfsi_plus_outr_div h2
|
2262 |
+
{
|
2263 |
font-size: 22px!important;
|
2264 |
line-height: 28px;
|
2265 |
}
|
2270 |
.sfsiplus_specify_counts .listing li .high_prb {
|
2271 |
height: 41px;
|
2272 |
}
|
2273 |
+
.sfsi_plus_Sicons {
|
2274 |
position: relative;
|
2275 |
}
|
2276 |
+
.sfsi_plus_Sicons .sf_subscrbe{ margin: 2px 3px 0 0; line-height: 0px;}
|
2277 |
+
.sfsi_plus_Sicons .sf_fb{ margin: 0 4px 0 5px; line-height: 0px;}
|
2278 |
+
.sfsi_plus_Sicons .sf_google{ margin: 0 5px 0 5px; line-height: 0px;}
|
2279 |
+
.sfsi_plus_Sicons .sf_twiter{ margin: 1px 7px 0 4px; line-height: 0px;}
|
2280 |
+
.sfsi_plus_Sicons .sf_addthis{ margin: 2px 7px 0 2px; line-height: 0px;}
|
2281 |
|
2282 |
+
.sfsi_plus_Sicons.left .sf_subscrbe{ margin: 2px 8px 0 0;}
|
2283 |
+
.sfsi_plus_Sicons.left .sf_fb{ margin: 0 8px 0 0;}
|
2284 |
+
.sfsi_plus_Sicons.left .sf_google{ margin: 0 8px 0 0;}
|
2285 |
+
.sfsi_plus_Sicons.left .sf_twiter{ margin: 1px 8px 0 0;}
|
2286 |
+
.sfsi_plus_Sicons.left .sf_addthis{ margin: 2px 7px 0 0;}
|
2287 |
|
2288 |
+
.sfsi_plus_Sicons.right .sf_subscrbe{ margin: 2px 0 0; }
|
2289 |
+
.sfsi_plus_Sicons.right .sf_fb{ margin: 0 0 0 7px; }
|
2290 |
+
.sfsi_plus_Sicons.right .sf_google{ margin: 0 0 0 8px; }
|
2291 |
+
.sfsi_plus_Sicons.right .sf_twiter{ margin: 1px 0 0 8px; }
|
2292 |
+
.sfsi_plus_Sicons.right .sf_addthis{ margin: 2px 0 0 8px; }
|
2293 |
|
2294 |
+
.sfsi_plus_Sicons .sf_subscrbe, .sfsi_plus_Sicons .sf_twiter
|
2295 |
{
|
2296 |
position: relative;
|
2297 |
width: 75px;
|
2298 |
}
|
2299 |
+
.sfsi_plus_Sicons .sf_twiter iframe
|
2300 |
{
|
2301 |
margin: 0px;
|
2302 |
height: 20px !important;
|
2303 |
overflow: visible !important;
|
2304 |
}
|
2305 |
+
.sfsi_plus_Sicons .sf_twiter iframe #widget
|
2306 |
{
|
2307 |
overflow: visible !important;
|
2308 |
+
|
2309 |
}
|
2310 |
+
.sfsi_plus_Sicons .sf_subscrbe a
|
2311 |
{
|
2312 |
width: auto;
|
2313 |
float: left;
|
2314 |
border: medium none;
|
2315 |
padding-top: 0px;
|
2316 |
}
|
2317 |
+
.sfsi_plus_Sicons .sf_subscrbe a:focus
|
2318 |
{
|
2319 |
outline: medium none;
|
2320 |
}
|
2321 |
+
.sfsi_plus_Sicons .sf_subscrbe a img
|
2322 |
{
|
2323 |
float: left;
|
2324 |
}
|
2325 |
+
.sfsi_plus_Sicons .sf_fb {
|
2326 |
position: relative;
|
2327 |
width: 75px;
|
2328 |
}
|
2329 |
+
.sfsi_plus_Sicons .fb_iframe_widget {
|
2330 |
float: none;
|
2331 |
width: auto;
|
2332 |
vertical-align: middle;
|
2333 |
margin: 2px 0 0;
|
2334 |
}
|
2335 |
/*absolute commented as for standard icon it was giving issue while icon was to be aligned centerd.*/
|
2336 |
+
.sfsi_plus_Sicons .sf_fb .fb_iframe_widget>span {
|
2337 |
position: relative;
|
2338 |
/*width: 450px!important;*/
|
2339 |
float: left;
|
2340 |
}
|
2341 |
+
.sfsi_plus_Sicons .sf_addthis, .sfsi_plus_Sicons .sf_google {
|
2342 |
position: relative;
|
2343 |
}
|
2344 |
.sf_google > div
|
2349 |
{
|
2350 |
width: 100% !important;
|
2351 |
}
|
2352 |
+
.sfsi_plus_Sicons .sf_google>div
|
2353 |
{
|
2354 |
float: left !important;
|
2355 |
margin-top: 1px !important;
|
2356 |
}
|
2357 |
+
.wrapper .sfsi_plus_Sicons .sf_addthis {
|
2358 |
margin: 7px 0 0 4px!important;
|
2359 |
}
|
2360 |
.tab2 .utube_inn label {
|
2542 |
padding: 0;
|
2543 |
}
|
2544 |
}@media (min-width:320px) and (max-width:480px) {
|
2545 |
+
.sfsi_plus_tool_tip_2, .tool_tip {
|
2546 |
padding: 5px 14px 0;
|
2547 |
}
|
2548 |
+
.sfsi_plus_inside:last-child {
|
2549 |
margin-bottom: 18px;
|
2550 |
clear: both;
|
2551 |
}
|
2559 |
width: 100%}
|
2560 |
}
|
2561 |
@media (max-width:320px) {
|
2562 |
+
.sfsi_plus_tool_tip_2, .tool_tip {
|
2563 |
padding: 5px 14px 0;
|
2564 |
}
|
2565 |
+
.sfsi_plus_inside:last-child {
|
2566 |
margin-bottom: 18px;
|
2567 |
clear: both;
|
2568 |
}
|
3134 |
line-height: 18px;
|
3135 |
margin: 5px 0;
|
3136 |
}
|
3137 |
+
.sfsibeforpstwpr .sfsi_plus_Sicons span
|
3138 |
{
|
3139 |
font-size: 20px;
|
3140 |
}
|
3141 |
+
.sfsiaftrpstwpr .sfsi_plus_Sicons span
|
3142 |
{
|
3143 |
font-size: 20px;
|
3144 |
}
|
3145 |
+
.sfsibeforpstwpr .sfsi_plus_Sicons
|
3146 |
{
|
3147 |
|
3148 |
}
|
3149 |
+
.sfsiaftrpstwpr .sfsi_plus_Sicons
|
3150 |
{
|
3151 |
|
3152 |
}
|
3175 |
font-size: 20px;
|
3176 |
margin: 62px 5px 0 20px;
|
3177 |
font-family: 'helveticaneue-light';
|
3178 |
+
|
3179 |
width: 120px;
|
3180 |
}
|
3181 |
|
3219 |
.sfsiplus_tab_3_icns.sfsiplus_shwthmbfraftr {
|
3220 |
overflow: visible;
|
3221 |
}
|
3222 |
+
/*.sfsi_plus_twt_tool_bdr .sfsi_plus_inside .icon1{margin: 2px 35px 2px !important;clear:both;}*/
|
3223 |
+
.sfsi_plus_twt_tool_bdr .sfsi_plus_inside .cstmicon1 a img{margin: 2px 12px 2px !important;clear:both;text-align:center;float:none;}
|
3224 |
+
.cstmicon1{text-align:center;}
|
3225 |
+
.sfsi_plus_Sicons img, #sfsiplusid_facebook img, #sfsiplusid_google img, #sfsiplusid_twitter img { height: 20px;}
|
images/visit_icons/Follow/icon_Follow_en_US-old.png
ADDED
Binary file
|
images/visit_icons/Follow/icon_Follow_en_US.png
CHANGED
Binary file
|
js/custom-admin.js
CHANGED
@@ -1691,84 +1691,84 @@ SFSI(document).ready(function(s) {
|
|
1691 |
}), /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ? SFSI("img.sfsi_wicon").on("click", function(s) {
|
1692 |
s.stopPropagation();
|
1693 |
var i = SFSI("#sfsi_plus_floater_sec").val();
|
1694 |
-
SFSI("div.sfsi_plus_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.
|
1695 |
-
SFSI(this).parent().parent().parent().parent().siblings("li").length > 0 && (SFSI(this).parent().parent().parent().parent().siblings("li").find("div.
|
1696 |
-
SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.
|
1697 |
SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
|
1698 |
"z-index":"999"
|
1699 |
-
}), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.
|
1700 |
opacity:1,
|
1701 |
"z-index":10
|
1702 |
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
1703 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
1704 |
opacity:1,
|
1705 |
"z-index":10
|
1706 |
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
1707 |
-
SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.
|
1708 |
opacity:1,
|
1709 |
"z-index":10
|
1710 |
-
})), ("top-left" == i || "top-right" == i) && SFSI(this).parent().parent().parent().parent("#sfsi_plus_floater").length > 0 && "sfsi_plus_floater" == SFSI(this).parent().parent().parent().parent().attr("id") ? (SFSI(this).parentsUntil("div").siblings("div.
|
1711 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
1712 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
1713 |
opacity:1,
|
1714 |
"z-index":10
|
1715 |
-
}), SFSI(this).parentsUntil("div").siblings("div.
|
1716 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
1717 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
1718 |
opacity:1,
|
1719 |
"z-index":1e3
|
1720 |
-
}), SFSI(this).parentsUntil("div").siblings("div.
|
1721 |
}) :SFSI("img.sfsi_wicon").on("mouseenter", function() {
|
1722 |
var s = SFSI("#sfsi_plus_floater_sec").val();
|
1723 |
-
SFSI("div.sfsi_plus_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.
|
1724 |
-
SFSI(this).parent().parent().parent().parent().siblings("li").length > 0 && (SFSI(this).parent().parent().parent().parent().siblings("li").find("div.
|
1725 |
-
SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.
|
1726 |
SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
|
1727 |
"z-index":"999"
|
1728 |
-
}), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.
|
1729 |
opacity:1,
|
1730 |
"z-index":10
|
1731 |
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
1732 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
1733 |
opacity:1,
|
1734 |
"z-index":10
|
1735 |
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
1736 |
-
SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.
|
1737 |
opacity:1,
|
1738 |
"z-index":10
|
1739 |
-
})), ("top-left" == s || "top-right" == s) && SFSI(this).parent().parent().parent().parent("#sfsi_plus_floater").length > 0 && "sfsi_plus_floater" == SFSI(this).parent().parent().parent().parent().attr("id") ? (SFSI(this).parentsUntil("div").siblings("div.
|
1740 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
1741 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
1742 |
opacity:1,
|
1743 |
"z-index":10
|
1744 |
-
}), SFSI(this).parentsUntil("div").siblings("div.
|
1745 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
1746 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
1747 |
opacity:1,
|
1748 |
"z-index":10
|
1749 |
-
}), SFSI(this).parentsUntil("div").siblings("div.
|
1750 |
}), SFSI("div.sfsi_plus_wicons").on("mouseleave", function() {
|
1751 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "fade_in" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity", "0.6"),
|
1752 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "scale" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale"),
|
1753 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "combo" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && (SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity", "0.6"),
|
1754 |
SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale")), "google" == SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").attr("id") ? SFSI("body").on("click", function() {
|
1755 |
-
SFSI(this).children(".sfsiplus_inerCnt").find("div.
|
1756 |
}) :(SFSI(this).css({
|
1757 |
"z-index":"0"
|
1758 |
-
}), SFSI(this).children(".sfsiplus_inerCnt").find("div.
|
1759 |
}),
|
1760 |
SFSI("body").on("click", function() {
|
1761 |
-
SFSI(".sfsiplus_inerCnt").find("div.
|
1762 |
}),
|
1763 |
SFSI(".adminTooltip >a").on("hover", function() {
|
1764 |
-
SFSI(this).offset().top, SFSI(this).parent("div").find("div.
|
1765 |
-
SFSI(this).parent("div").find("div.
|
1766 |
}),
|
1767 |
SFSI(".adminTooltip").on("mouseleave", function() {
|
1768 |
-
"none" != SFSI(".
|
1769 |
-
SFSI(this).parent("div").find("div.
|
1770 |
-
}) :(SFSI(this).parent("div").find("div.
|
1771 |
-
SFSI(this).parent("div").find("div.
|
1772 |
}),
|
1773 |
SFSI(".expand-area").on("click", function() {
|
1774 |
object_name.Re_ad == SFSI(this).text() ? (SFSI(this).siblings("p").children("label").fadeIn("slow"),
|
1691 |
}), /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ? SFSI("img.sfsi_wicon").on("click", function(s) {
|
1692 |
s.stopPropagation();
|
1693 |
var i = SFSI("#sfsi_plus_floater_sec").val();
|
1694 |
+
SFSI("div.sfsi_plus_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide(),
|
1695 |
+
SFSI(this).parent().parent().parent().parent().siblings("li").length > 0 && (SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_tool_tip_2").css("z-index", "0"),
|
1696 |
+
SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide()),
|
1697 |
SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
|
1698 |
"z-index":"999"
|
1699 |
+
}), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
1700 |
opacity:1,
|
1701 |
"z-index":10
|
1702 |
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
1703 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
1704 |
opacity:1,
|
1705 |
"z-index":10
|
1706 |
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
1707 |
+
SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
1708 |
opacity:1,
|
1709 |
"z-index":10
|
1710 |
+
})), ("top-left" == i || "top-right" == i) && SFSI(this).parent().parent().parent().parent("#sfsi_plus_floater").length > 0 && "sfsi_plus_floater" == SFSI(this).parent().parent().parent().parent().attr("id") ? (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").addClass("sfsi_plc_btm"),
|
1711 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),
|
1712 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
1713 |
opacity:1,
|
1714 |
"z-index":10
|
1715 |
+
}), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show()) :(SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),
|
1716 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").removeClass("sfsi_plc_btm"),
|
1717 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
1718 |
opacity:1,
|
1719 |
"z-index":1e3
|
1720 |
+
}), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show());
|
1721 |
}) :SFSI("img.sfsi_wicon").on("mouseenter", function() {
|
1722 |
var s = SFSI("#sfsi_plus_floater_sec").val();
|
1723 |
+
SFSI("div.sfsi_plus_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide(),
|
1724 |
+
SFSI(this).parent().parent().parent().parent().siblings("li").length > 0 && (SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_tool_tip_2").css("z-index", "0"),
|
1725 |
+
SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide()),
|
1726 |
SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
|
1727 |
"z-index":"999"
|
1728 |
+
}), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
1729 |
opacity:1,
|
1730 |
"z-index":10
|
1731 |
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
1732 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
1733 |
opacity:1,
|
1734 |
"z-index":10
|
1735 |
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
1736 |
+
SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
1737 |
opacity:1,
|
1738 |
"z-index":10
|
1739 |
+
})), ("top-left" == s || "top-right" == s) && SFSI(this).parent().parent().parent().parent("#sfsi_plus_floater").length > 0 && "sfsi_plus_floater" == SFSI(this).parent().parent().parent().parent().attr("id") ? (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").addClass("sfsi_plc_btm"),
|
1740 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),
|
1741 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
1742 |
opacity:1,
|
1743 |
"z-index":10
|
1744 |
+
}), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show()) :(SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),
|
1745 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").removeClass("sfsi_plc_btm"),
|
1746 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
1747 |
opacity:1,
|
1748 |
"z-index":10
|
1749 |
+
}), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show());
|
1750 |
}), SFSI("div.sfsi_plus_wicons").on("mouseleave", function() {
|
1751 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "fade_in" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity", "0.6"),
|
1752 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "scale" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale"),
|
1753 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "combo" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && (SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity", "0.6"),
|
1754 |
SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale")), "google" == SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").attr("id") ? SFSI("body").on("click", function() {
|
1755 |
+
SFSI(this).children(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide();
|
1756 |
}) :(SFSI(this).css({
|
1757 |
"z-index":"0"
|
1758 |
+
}), SFSI(this).children(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide());
|
1759 |
}),
|
1760 |
SFSI("body").on("click", function() {
|
1761 |
+
SFSI(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide();
|
1762 |
}),
|
1763 |
SFSI(".adminTooltip >a").on("hover", function() {
|
1764 |
+
SFSI(this).offset().top, SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").css("opacity", "1"),
|
1765 |
+
SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").show();
|
1766 |
}),
|
1767 |
SFSI(".adminTooltip").on("mouseleave", function() {
|
1768 |
+
"none" != SFSI(".sfsi_plus_gpls_tool_bdr").css("display") && 0 != SFSI(".sfsi_plus_gpls_tool_bdr").css("opacity") ? SFSI(".pop_up_box ").on("click", function() {
|
1769 |
+
SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").css("opacity", "0"), SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").hide();
|
1770 |
+
}) :(SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").css("opacity", "0"),
|
1771 |
+
SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").hide());
|
1772 |
}),
|
1773 |
SFSI(".expand-area").on("click", function() {
|
1774 |
object_name.Re_ad == SFSI(this).text() ? (SFSI(this).siblings("p").children("label").fadeIn("slow"),
|
js/custom-min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
function sfsi_plus_update_index(){var s=1;SFSI("ul.icn_listing li.custom").each(function(){SFSI(this).children("span.sfsiplus_custom-txt").html("Custom "+s),s++}),cntt=1,SFSI("div.cm_lnk").each(function(){SFSI(this).find("h2.custom").find("span.sfsiCtxt").html("Custom "+cntt+":"),cntt++}),cntt=1,SFSI("div.custom_m").find("div.sfsiplus_custom_section").each(function(){SFSI(this).find("label").html("Custom "+cntt+":"),cntt++})}function sfsipluscollapse(s){var i=!0,e=SFSI(s).closest("div.ui-accordion-content").prev("h3.ui-accordion-header"),t=SFSI(s).closest("div.ui-accordion-content").first();e.toggleClass("ui-corner-all",i).toggleClass("accordion-header-active ui-state-active ui-corner-top",!i).attr("aria-selected",(!i).toString()),e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e",i).toggleClass("ui-icon-triangle-1-s",!i),t.toggleClass("accordion-content-active",!i),i?t.slideUp():t.slideDown()}function sfsi_plus_delete_CusIcon(s,i){sfsiplus_beForeLoad();var e={action:"deleteIcons",icon_name:i.attr("name")};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:e,dataType:"json",success:function(e){if("success"==e.res){sfsiplus_showErrorSuc("success","Saved !",1);var t=e.last_index+1;SFSI("#total_cusotm_icons").val(e.total_up),SFSI(s).closest(".custom").remove(),SFSI("li.custom:last").addClass("bdr_btm_non"),SFSI(".custom-links").find("div."+i.attr("name")).remove(),SFSI(".custom_m").find("div."+i.attr("name")).remove(),SFSI(".share_icon_order").children("li."+i.attr("name")).remove(),SFSI("ul.sfsi_sample_icons").children("li."+i.attr("name")).remove();var n=e.total_up+1;4==e.total_up&&SFSI(".icn_listing").append('<li id="c'+t+'" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="sfsiICON_'+t+'_display" type="checkbox" value="yes" class="styled" style="display:none;" element-type="cusotm-icon" isNew="yes" /></div> <span class="custom-img"><img src="'+SFSI("#plugin_url").val()+'images/custom.png" id="CImg_'+t+'" /> </span> <span class="custom sfsiplus_custom-txt">Custom'+n+' </span> <div class="sfsiplus_right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>')}else sfsiplus_showErrorSuc("error","Unkown error , please try again",1);return sfsi_plus_update_index(),plus_update_Sec5Iconorder(),sfsi_plus_update_step1(),sfsi_plus_update_step5(),sfsiplus_afterLoad(),"suc"}})}function plus_update_Sec5Iconorder(){SFSI("ul.share_icon_order").children("li").each(function(){SFSI(this).attr("data-index",SFSI(this).index()+1)})}function sfsi_plus_section_Display(s,i){"hide"==i?(SFSI("."+s+" :input").prop("disabled",!0),SFSI("."+s+" :button").prop("disabled",!0),SFSI("."+s).hide()):(SFSI("."+s+" :input").removeAttr("disabled",!0),SFSI("."+s+" :button").removeAttr("disabled",!0),SFSI("."+s).show())}function sfsi_plus_depened_sections(){if("sfsi"==SFSI("input[name='sfsi_rss_icons']:checked").val()){for(i=0;16>i;i++){var s=i+1,e=74*i;SFSI(".sfsiplus_row_"+s+"_2").css("background-position","-588px -"+e+"px")}var t=SFSI(".icon_img").attr("src"),n=t.replace("email.png","sf_asfsiplus_row_icn.png");SFSI(".icon_img").attr("src",n)}else{for(SFSI(".sfsiplus_row_1_2").css("background-position","-58px 0"),i=0;16>i;i++){var s=i+1,e=74*i;SFSI(".sfsiplus_row_"+s+"_2").css("background-position","-58px -"+e+"px")}var t=SFSI(".icon_img").attr("src");if(t){var n=t.replace("sf_asfsiplus_row_icn.png","email.png");SFSI(".icon_img").attr("src",n)}}SFSI("input[name='sfsi_rss_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_rss_section","show"):sfsi_plus_section_Display("sfsiplus_rss_section","hide"),SFSI("input[name='sfsi_email_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_email_section","show"):sfsi_plus_section_Display("sfsiplus_email_section","hide"),SFSI("input[name='sfsi_facebook_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_facebook_section","show"):sfsi_plus_section_Display("sfsiplus_facebook_section","hide"),SFSI("input[name='sfsi_twitter_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_twitter_section","show"):sfsi_plus_section_Display("sfsiplus_twitter_section","hide"),SFSI("input[name='sfsi_google_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_google_section","show"):sfsi_plus_section_Display("sfsiplus_google_section","hide"),SFSI("input[name='sfsi_share_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_share_section","show"):sfsi_plus_section_Display("sfsiplus_share_section","hide"),SFSI("input[name='sfsi_youtube_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_youtube_section","show"):sfsi_plus_section_Display("sfsiplus_youtube_section","hide"),SFSI("input[name='sfsi_pinterest_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_pinterest_section","show"):sfsi_plus_section_Display("sfsiplus_pinterest_section","hide"),SFSI("input[name='sfsi_instagram_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_instagram_section","show"):sfsi_plus_section_Display("sfsiplus_instagram_section","hide"),SFSI("input[name='sfsi_linkedin_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_linkedin_section","show"):sfsi_plus_section_Display("sfsiplus_linkedin_section","hide"),SFSI("input[element-type='cusotm-icon']").prop("checked")?sfsi_plus_section_Display("sfsiplus_custom_section","show"):sfsi_plus_section_Display("sfsiplus_custom_section","hide")}function PlusCustomIConSectionsUpdate(){sfsi_plus_section_Display("counter".ele,show)}function sfsi_customskin_upload(s,i){var e=(jQuery(i).attr("title"),s),t={action:"UploadSkins",custom_imgurl:e};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:t,success:function(e){if(e.res="success"){var t=s.split("=");jQuery(i).prev(".imgskin").attr("src",t[1]),jQuery(i).prev(".imgskin").css("display","block"),jQuery(i).text("Update"),jQuery(i).next(".dlt_btn").css("display","block")}}})}function sfsiplus_deleteskin_icon(s){var i=jQuery(s).attr("title"),e=i,t={action:"DeleteSkin",iconname:e};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:t,success:function(i){(i.res="success")&&(SFSI(s).prev("a").text("Upload"),SFSI(s).prev("a").prev("img").attr("src",""),SFSI(s).prev("a").prev("img").css("display","none"),SFSI(s).css("display","none"))}})}function SFSI_plus_done(){e={action:"Iamdone"},SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:e,success:function(s){jQuery("li.cstomskins_upload").children(".sfsiplus_icns_tab_3").html(s),SFSI("input[name='sfsi_rss_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_rss_section","show"):sfsi_plus_section_Display("sfsiplus_rss_section","hide"),SFSI("input[name='sfsi_email_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_email_section","show"):sfsi_plus_section_Display("sfsiplus_email_section","hide"),SFSI("input[name='sfsi_facebook_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_facebook_section","show"):sfsi_plus_section_Display("sfsiplus_facebook_section","hide"),SFSI("input[name='sfsi_twitter_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_twitter_section","show"):sfsi_plus_section_Display("sfsiplus_twitter_section","hide"),SFSI("input[name='sfsi_google_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_google_section","show"):sfsi_plus_section_Display("sfsiplus_google_section","hide"),SFSI("input[name='sfsi_share_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_share_section","show"):sfsi_plus_section_Display("sfsiplus_share_section","hide"),SFSI("input[name='sfsi_youtube_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_youtube_section","show"):sfsi_plus_section_Display("sfsiplus_youtube_section","hide"),SFSI("input[name='sfsi_pinterest_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_pinterest_section","show"):sfsi_plus_section_Display("sfsiplus_pinterest_section","hide"),SFSI("input[name='sfsi_instagram_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_instagram_section","show"):sfsi_plus_section_Display("sfsiplus_instagram_section","hide"),SFSI("input[name='sfsi_linkedin_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_linkedin_section","show"):sfsi_plus_section_Display("sfsiplus_linkedin_section","hide"),SFSI("input[element-type='cusotm-icon']").prop("checked")?sfsi_plus_section_Display("sfsiplus_custom_section","show"):sfsi_plus_section_Display("sfsiplus_custom_section","hide"),SFSI(".cstmskins-overlay").hide("slow"),sfsi_plus_update_step3()&&sfsipluscollapse(this)}})}function sfsi_newcustomicon_upload(s){var i=s,e={action:"UploadIcons",custom_imgurl:i};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:e,dataType:"json",async:!0,success:function(s){sfsiplus_afterIconSuccess(s)}})}function sfsi_plus_update_step1(){global_error=0,sfsiplus_beForeLoad(),sfsi_plus_depened_sections();var s=!1,i=SFSI("input[name='sfsi_rss_display']:checked").val(),e=SFSI("input[name='sfsi_email_display']:checked").val(),t=SFSI("input[name='sfsi_facebook_display']:checked").val(),n=SFSI("input[name='sfsi_twitter_display']:checked").val(),o=SFSI("input[name='sfsi_google_display']:checked").val(),a=SFSI("input[name='sfsi_share_display']:checked").val(),c=SFSI("input[name='sfsi_youtube_display']:checked").val(),r=SFSI("input[name='sfsi_pinterest_display']:checked").val(),p=SFSI("input[name='sfsi_linkedin_display']:checked").val(),_=SFSI("input[name='sfsi_instagram_display']:checked").val(),l=SFSI("input[name='sfsi_custom1_display']:checked").val(),S=SFSI("input[name='sfsi_custom2_display']:checked").val(),u=SFSI("input[name='sfsi_custom3_display']:checked").val(),f=SFSI("input[name='sfsi_custom4_display']:checked").val(),d=SFSI("input[name='sfsi_custom5_display']:checked").val(),m={action:"updateSrcn1",sfsi_rss_display:i,sfsi_email_display:e,sfsi_facebook_display:t,sfsi_twitter_display:n,sfsi_google_display:o,sfsi_share_display:a,sfsi_youtube_display:c,sfsi_pinterest_display:r,sfsi_linkedin_display:p,sfsi_instagram_display:_,sfsi_custom1_display:l,sfsi_custom2_display:S,sfsi_custom3_display:u,sfsi_custom4_display:f,sfsi_custom5_display:d};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:m,async:!0,dataType:"json",success:function(i){"success"==i?(sfsiplus_showErrorSuc("success","Saved !",1),sfsipluscollapse("#sfsi_save1"),sfsi_plus_make_popBox()):(global_error=1,sfsiplus_showErrorSuc("error","Unkown error , please try again",1),s=!1),sfsiplus_afterLoad()}})}function sfsi_plus_update_step2(){var s=sfsi_plus_validationStep2();if(!s)return global_error=1,!1;sfsiplus_beForeLoad();var i=1==SFSI("input[name='sfsi_rss_url']").prop("disabled")?"":SFSI("input[name='sfsi_rss_url']").val(),e=1==SFSI("input[name='sfsi_rss_icons']").prop("disabled")?"":SFSI("input[name='sfsi_rss_icons']:checked").val(),t=1==SFSI("input[name='sfsi_facebookPage_option']").prop("disabled")?"":SFSI("input[name='sfsi_facebookPage_option']:checked").val(),n=1==SFSI("input[name='sfsi_plus_facebookLike_option']").prop("disabled")?"":SFSI("input[name='sfsi_plus_facebookLike_option']:checked").val(),o=1==SFSI("input[name='sfsi_plus_facebookShare_option']").prop("disabled")?"":SFSI("input[name='sfsi_plus_facebookShare_option']:checked").val(),a=SFSI("input[name='sfsi_facebookPage_url']").val(),c=1==SFSI("input[name='sfsi_plus_twitter_followme']").prop("disabled")?"":SFSI("input[name='sfsi_plus_twitter_followme']:checked").val(),r=1==SFSI("input[name='sfsi_twitter_followUserName']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_followUserName']").val(),p=1==SFSI("input[name='sfsi_plus_twitter_aboutPage']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_aboutPage']:checked").val(),_=1==SFSI("input[name='sfsi_plus_twitter_page']").prop("disabled")?"":SFSI("input[name='sfsi_plus_twitter_page']:checked").val(),l=SFSI("input[name='sfsi_twitter_pageURL']").val(),S=SFSI("textarea[name='sfsi_twitter_aboutPageText']").val(),u=1==SFSI("input[name='sfsi_google_page']").prop("disabled")?"":SFSI("input[name='sfsi_google_page']:checked").val(),f=1==SFSI("input[name='sfsi_googleLike_option']").prop("disabled")?"":SFSI("input[name='sfsi_googleLike_option']:checked").val(),d=SFSI("input[name='sfsi_google_pageURL']").val(),m=1==SFSI("input[name='sfsi_plus_googleShare_option']").prop("disabled")?"":SFSI("input[name='sfsi_plus_googleShare_option']:checked").val(),I=1==SFSI("input[name='sfsi_youtube_page']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_page']:checked").val(),F=1==SFSI("input[name='sfsi_plus_youtube_pageUrl']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_pageUrl']").val(),h=1==SFSI("input[name='sfsi_youtube_follow']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_follow']:checked").val(),v=SFSI("input[name='sfsi_plus_youtubeusernameorid']:checked").val(),g=SFSI("input[name='sfsi_plus_ytube_user']").val(),k=SFSI("input[name='sfsi_plus_ytube_chnlid']").val(),y=1==SFSI("input[name='sfsi_plus_pinterest_page']").prop("disabled")?"":SFSI("input[name='sfsi_plus_pinterest_page']:checked").val(),b=1==SFSI("input[name='sfsi_plus_pinterest_pageUrl']").prop("disabled")?"":SFSI("input[name='sfsi_plus_pinterest_pageUrl']").val(),w=1==SFSI("input[name='sfsi_pinterest_pingBlog']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_pingBlog']:checked").val(),x=1==SFSI("input[name='sfsi_plus_instagram_pageUrl']").prop("disabled")?"":SFSI("input[name='sfsi_plus_instagram_pageUrl']").val(),C=1==SFSI("input[name='sfsi_linkedin_page']").prop("disabled")?"":SFSI("input[name='sfsi_linkedin_page']:checked").val(),D=1==SFSI("input[name='sfsi_linkedin_pageURL']").prop("disabled")?"":SFSI("input[name='sfsi_linkedin_pageURL']").val(),U=1==SFSI("input[name='sfsi_linkedin_follow']").prop("disabled")?"":SFSI("input[name='sfsi_linkedin_follow']:checked").val(),j=SFSI("input[name='sfsi_linkedin_followCompany']").val(),O=1==SFSI("input[name='sfsi_linkedin_SharePage']").prop("disabled")?"":SFSI("input[name='sfsi_linkedin_SharePage']:checked").val(),T=SFSI("input[name='sfsi_plus_linkedin_recommendBusines']:checked").val(),P=SFSI("input[name='sfsi_linkedin_recommendProductId']").val(),M=SFSI("input[name='sfsi_linkedin_recommendCompany']").val(),L={};SFSI("input[name='sfsi_plus_CustomIcon_links[]']").each(function(){L[SFSI(this).attr("file-id")]=this.value});var B={action:"updateSrcn2",sfsi_rss_url:i,sfsi_rss_icons:e,sfsi_facebookPage_option:t,sfsi_plus_facebookLike_option:n,sfsi_plus_facebookShare_option:o,sfsi_facebookPage_url:a,sfsi_plus_twitter_followme:c,sfsi_twitter_followUserName:r,sfsi_twitter_aboutPage:p,sfsi_twitter_page:_,sfsi_twitter_pageURL:l,sfsi_twitter_aboutPageText:S,sfsi_google_page:u,sfsi_googleLike_option:f,sfsi_google_pageURL:d,sfsi_plus_googleShare_option:m,sfsi_youtube_page:I,sfsi_youtube_pageUrl:F,sfsi_youtube_follow:h,sfsi_plus_youtubeusernameorid:v,sfsi_plus_ytube_user:g,sfsi_plus_ytube_chnlid:k,sfsi_pinterest_page:y,sfsi_pinterest_pageUrl:b,sfsi_plus_instagram_pageUrl:x,sfsi_pinterest_pingBlog:w,sfsi_linkedin_page:C,sfsi_linkedin_pageURL:D,sfsi_linkedin_follow:U,sfsi_linkedin_followCompany:j,sfsi_linkedin_SharePage:O,sfsi_plus_linkedin_recommendBusines:T,sfsi_linkedin_recommendCompany:M,sfsi_linkedin_recommendProductId:P,sfsi_plus_custom_links:L};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:B,async:!0,dataType:"json",success:function(s){"success"==s?(sfsiplus_showErrorSuc("success","Saved !",2),sfsipluscollapse("#sfsi_save2"),sfsi_plus_depened_sections()):(global_error=1,sfsiplus_showErrorSuc("error","Unkown error , please try again",2),return_value=!1),sfsiplus_afterLoad()}})}function sfsi_plus_update_step3(){var s=sfsi_plus_validationStep3();if(!s)return global_error=1,!1;sfsiplus_beForeLoad();var i=SFSI("input[name='sfsi_plus_actvite_theme']:checked").val(),e=SFSI("input[name='sfsi_mouseOver']:checked").val(),t=SFSI("input[name='sfsi_plus_shuffle_icons']:checked").val(),n=SFSI("input[name='sfsi_plus_shuffle_Firstload']:checked").val(),o=SFSI("#sfsi_mouseOver_effect option:selected").val(),a=SFSI("input[name='sfsi_plus_shuffle_interval']:checked").val(),c=SFSI("input[name='sfsi_plus_shuffle_intervalTime']").val(),r=SFSI("input[name='sfsi_plus_specialIcon_animation']:checked").val(),p=SFSI("input[name='sfsi_plus_specialIcon_MouseOver']:checked").val(),_=SFSI("input[name='sfsi_plus_specialIcon_Firstload']:checked").val(),l=SFSI("#sfsi_plus_specialIcon_Firstload_Icons option:selected").val(),S=SFSI("input[name='sfsi_plus_specialIcon_interval']:checked").val(),u=SFSI("input[name='sfsi_plus_specialIcon_intervalTime']").val(),f=SFSI("#sfsi_plus_specialIcon_intervalIcons option:selected").val(),d={action:"updateSrcn3",sfsi_plus_actvite_theme:i,sfsi_mouseOver:e,sfsi_plus_shuffle_icons:t,sfsi_plus_shuffle_Firstload:n,sfsi_mouseOver_effect:o,sfsi_plus_shuffle_interval:a,sfsi_plus_shuffle_intervalTime:c,sfsi_plus_specialIcon_animation:r,sfsi_plus_specialIcon_MouseOver:p,sfsi_plus_specialIcon_Firstload:_,sfsi_plus_specialIcon_Firstload_Icons:l,sfsi_plus_specialIcon_interval:S,sfsi_plus_specialIcon_intervalTime:u,sfsi_plus_specialIcon_intervalIcons:f};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:d,async:!0,dataType:"json",success:function(s){"success"==s?(sfsiplus_showErrorSuc("success","Saved !",3),sfsipluscollapse("#sfsi_save3")):(sfsiplus_showErrorSuc("error","Unkown error , please try again",3),return_value=!1),sfsiplus_afterLoad()}})}function sfsi_plus_show_counts(){"yes"==SFSI("input[name='sfsi_display_counts']:checked").val()?(SFSI(".count_sections").slideDown(),sfsi_plus_showPreviewCounts()):(SFSI(".count_sections").slideUp(),sfsi_plus_showPreviewCounts())}function sfsi_plus_showPreviewCounts(){var s=0;1==SFSI("input[name='sfsi_rss_countsDisplay']").prop("checked")?(SFSI("#sfsi_rss_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_rss_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_email_countsDisplay']").prop("checked")?(SFSI("#sfsi_email_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_email_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_plus_facebook_countsDisplay']").prop("checked")?(SFSI("#sfsi_plus_facebook_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_facebook_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_twitter_countsDisplay']").prop("checked")?(SFSI("#sfsi_twitter_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_twitter_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_google_countsDisplay']").prop("checked")?(SFSI("#sfsi_google_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_google_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_linkedIn_countsDisplay']").prop("checked")?(SFSI("#sfsi_linkedIn_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_linkedIn_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_plus_youtube_countsDisplay']").prop("checked")?(SFSI("#sfsi_plus_youtube_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_youtube_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_plus_pinterest_countsDisplay']").prop("checked")?(SFSI("#sfsi_pinterest_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_pinterest_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_plus_shares_countsDisplay']").prop("checked")?(SFSI("#sfsi_plus_shares_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_plus_shares_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_plus_instagram_countsDisplay']").prop("checked")?(SFSI("#sfsi_plus_instagram_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_plus_instagram_countsDisplay").css("opacity",0),0==s||"no"==SFSI("input[name='sfsi_display_counts']:checked").val()?SFSI(".sfsi_Cdisplay").hide():SFSI(".sfsi_Cdisplay").show()}function sfsi_plus_show_OnpostsDisplay(){"yes"==SFSI("input[name='sfsi_plus_show_Onposts']:checked").val()?SFSI(".sfsiplus_PostsSettings_section").slideDown():SFSI(".sfsiplus_PostsSettings_section").slideUp()}function sfsi_plus_update_step4(){var s=!1,i=sfsi_plus_validationStep4();if(!i)return global_error=1,!1;sfsiplus_beForeLoad();var e=SFSI("input[name='sfsi_display_counts']:checked").val(),t=1==SFSI("input[name='sfsi_email_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_email_countsDisplay']:checked").val(),n=1==SFSI("input[name='sfsi_email_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_email_countsFrom']:checked").val(),o=SFSI("input[name='sfsi_plus_email_manualCounts']").val(),a=SFSI("input[name='sfsi_plus_google_api_key']").val(),c=1==SFSI("input[name='sfsi_rss_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_rss_countsDisplay']:checked").val(),r=SFSI("input[name='sfsi_plus_rss_manualCounts']").val(),p=1==SFSI("input[name='sfsi_facebook_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_facebook_countsDisplay']:checked").val(),_=1==SFSI("input[name='sfsi_facebook_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_facebook_countsFrom']:checked").val(),l=SFSI("input[name='sfsi_facebook_manualCounts']").val(),S=1==SFSI("input[name='sfsi_twitter_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_countsDisplay']:checked").val(),u=1==SFSI("input[name='sfsi_twitter_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_countsFrom']:checked").val(),f=SFSI("input[name='sfsi_twitter_manualCounts']").val(),d=SFSI("input[name='sfsiplus_tw_consumer_key']").val(),m=SFSI("input[name='sfsiplus_tw_consumer_secret']").val(),I=SFSI("input[name='sfsiplus_tw_oauth_access_token']").val(),F=SFSI("input[name='sfsiplus_tw_oauth_access_token_secret']").val(),h=1==SFSI("input[name='sfsi_google_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_google_countsDisplay']:checked").val(),v=1==SFSI("input[name='sfsi_google_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_google_countsFrom']:checked").val(),g=SFSI("input[name='sfsi_google_manualCounts']").val(),k=1==SFSI("input[name='sfsi_linkedIn_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_linkedIn_countsFrom']:checked").val(),y=SFSI("input[name='sfsi_linkedIn_manualCounts']").val(),b=SFSI("input[name='sfsi_plus_ln_company']").val(),w=SFSI("input[name='ln_api_key']").val(),x=SFSI("input[name='sfsi_plus_ln_secret_key']").val(),C=SFSI("input[name='ln_oAuth_user_token']").val(),D=1==SFSI("input[name='sfsi_linkedIn_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_linkedIn_countsDisplay']:checked").val(),k=1==SFSI("input[name='sfsi_linkedIn_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_linkedIn_countsFrom']:checked").val(),y=SFSI("input[name='sfsi_linkedIn_manualCounts']").val(),U=1==SFSI("input[name='sfsi_youtube_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_countsDisplay']:checked").val(),j=1==SFSI("input[name='sfsi_youtube_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_countsFrom']:checked").val(),O=SFSI("input[name='sfsi_youtube_manualCounts']").val(),T=SFSI("input[name='sfsi_youtube_user']").val(),P=1==SFSI("input[name='sfsi_pinterest_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_countsDisplay']:checked").val(),M=1==SFSI("input[name='sfsi_pinterest_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_countsFrom']:checked").val(),L=SFSI("input[name='sfsi_plus_pinterest_manualCounts']").val(),B=SFSI("input[name='sfsi_plus_pinterest_user']").val(),E=SFSI("input[name='sfsi_plus_pinterest_board']").val(),z=1==SFSI("input[name='sfsi_plus_instagram_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_plus_instagram_countsDisplay']:checked").val(),A=1==SFSI("input[name='sfsi_plus_instagram_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_plus_instagram_countsFrom']:checked").val(),N=SFSI("input[name='sfsi_plus_instagram_manualCounts']").val(),H=SFSI("input[name='sfsi_plus_instagram_User']").val(),R=1==SFSI("input[name='sfsi_plus_shares_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_plus_shares_countsDisplay']:checked").val(),Q=1==SFSI("input[name='sfsi_plus_shares_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_plus_shares_countsFrom']:checked").val(),W=SFSI("input[name='sfsi_plus_shares_manualCounts']").val(),q={action:"updateSrcn4",sfsi_display_counts:e,sfsi_email_countsDisplay:t,sfsi_email_countsFrom:n,sfsi_email_manualCounts:o,sfsi_rss_countsDisplay:c,sfsi_rss_manualCounts:r,sfsi_facebook_countsDisplay:p,sfsi_facebook_countsFrom:_,sfsi_facebook_manualCounts:l,sfsi_twitter_countsDisplay:S,sfsi_twitter_countsFrom:u,sfsi_twitter_manualCounts:f,sfsiplus_tw_consumer_key:d,sfsiplus_tw_consumer_secret:m,sfsiplus_tw_oauth_access_token:I,sfsiplus_tw_oauth_access_token_secret:F,sfsi_google_countsDisplay:h,sfsi_google_countsFrom:v,sfsi_google_manualCounts:g,sfsi_google_api_key:a,sfsi_linkedIn_countsDisplay:D,sfsi_linkedIn_countsFrom:k,sfsi_linkedIn_manualCounts:y,ln_company:b,ln_api_key:w,sfsi_plus_ln_secret_key:x,ln_oAuth_user_token:C,sfsi_youtube_countsDisplay:U,sfsi_youtube_countsFrom:j,sfsi_youtube_manualCounts:O,sfsi_youtube_user:T,sfsi_pinterest_countsDisplay:P,sfsi_pinterest_countsFrom:M,sfsi_plus_pinterest_manualCounts:L,sfsi_plus_pinterest_user:B,sfsi_plus_pinterest_board:E,sfsi_plus_instagram_countsDisplay:z,sfsi_plus_instagram_countsFrom:A,sfsi_plus_instagram_manualCounts:N,sfsi_plus_instagram_User:H,sfsi_plus_shares_countsDisplay:R,sfsi_plus_shares_countsFrom:Q,sfsi_plus_shares_manualCounts:W};return SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:q,dataType:"json",async:!0,success:function(s){"success"==s.res?(sfsiplus_showErrorSuc("success","Saved !",4),sfsipluscollapse("#sfsi_save4"),sfsi_plus_showPreviewCounts()):(sfsiplus_showErrorSuc("error","Unkown error , please try again",4),global_error=1),sfsiplus_afterLoad()}}),s}function sfsi_plus_update_step5(){var s=sfsi_plus_validationStep5();if(!s)return global_error=1,!1;sfsiplus_beForeLoad();var i=SFSI("input[name='sfsi_plus_icons_size']").val(),e=SFSI("input[name='sfsi_plus_icons_perRow']").val(),t=SFSI("input[name='sfsi_plus_icons_spacing']").val(),n=SFSI("#sfsi_plus_icons_Alignment").val(),o=SFSI("input[name='sfsi_plus_icons_ClickPageOpen']:checked").val(),a=SFSI("input[name='sfsi_plus_icons_float']:checked").val(),c=SFSI("input[name='sfsi_plus_disable_floaticons']:checked").val(),r=SFSI("#sfsi_plus_icons_floatPosition").val(),p=SFSI("input[name='sfsi_plus_icons_stick']:checked").val(),_=SFSI("#sfsi_plus_rssIcon_order").attr("data-index"),l=SFSI("#sfsi_plus_emailIcon_order").attr("data-index"),S=SFSI("#sfsi_plus_googleIcon_order").attr("data-index"),u=SFSI("#sfsi_plus_facebookIcon_order").attr("data-index"),f=SFSI("#sfsi_plus_twitterIcon_order").attr("data-index"),d=SFSI("#sfsi_plus_youtubeIcon_order").attr("data-index"),m=SFSI("#sfsi_plus_pinterestIcon_order").attr("data-index"),I=SFSI("#sfsi_plus_instagramIcon_order").attr("data-index"),F=SFSI("#sfsi_plus_shareIcon_order").attr("data-index"),h=SFSI("#sfsi_plus_linkedinIcon_order").attr("data-index"),v=new Array;SFSI(".sfsiplus_custom_iconOrder").each(function(){v.push({order:SFSI(this).attr("data-index"),ele:SFSI(this).attr("element-id")})});var g=1==SFSI("input[name='sfsi_plus_rss_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_rss_MouseOverText']").val(),k=1==SFSI("input[name='sfsi_plus_email_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_email_MouseOverText']").val(),y=1==SFSI("input[name='sfsi_plus_twitter_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_twitter_MouseOverText']").val(),b=1==SFSI("input[name='sfsi_plus_facebook_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_facebook_MouseOverText']").val(),w=1==SFSI("input[name='sfsi_plus_google_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_google_MouseOverText']").val(),x=1==SFSI("input[name='sfsi_plus_linkedIn_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_linkedIn_MouseOverText']").val(),C=1==SFSI("input[name='sfsi_plus_youtube_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_youtube_MouseOverText']").val(),D=1==SFSI("input[name='sfsi_plus_pinterest_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_pinterest_MouseOverText']").val(),U=1==SFSI("input[name='sfsi_plus_instagram_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_instagram_MouseOverText']").val(),j=1==SFSI("input[name='sfsi_plus_share_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_share_MouseOverText']").val(),O={};SFSI("input[name='sfsi_plus_custom_MouseOverTexts[]']").each(function(){O[SFSI(this).attr("file-id")]=this.value});var T={action:"updateSrcn5",sfsi_plus_icons_size:i,sfsi_plus_icons_Alignment:n,sfsi_plus_icons_perRow:e,sfsi_plus_icons_spacing:t,sfsi_plus_icons_ClickPageOpen:o,sfsi_plus_icons_float:a,sfsi_plus_disable_floaticons:c,sfsi_plus_icons_floatPosition:r,sfsi_plus_icons_stick:p,sfsi_plus_rss_MouseOverText:g,sfsi_plus_email_MouseOverText:k,sfsi_plus_twitter_MouseOverText:y,sfsi_plus_facebook_MouseOverText:b,sfsi_plus_google_MouseOverText:w,sfsi_plus_youtube_MouseOverText:C,sfsi_plus_linkedIn_MouseOverText:x,sfsi_plus_pinterest_MouseOverText:D,sfsi_plus_share_MouseOverText:j,sfsi_plus_instagram_MouseOverText:U,sfsi_plus_custom_MouseOverTexts:O,sfsi_plus_rssIcon_order:_,sfsi_plus_emailIcon_order:l,sfsi_plus_facebookIcon_order:u,sfsi_plus_twitterIcon_order:f,sfsi_plus_googleIcon_order:S,sfsi_plus_youtubeIcon_order:d,sfsi_plus_pinterestIcon_order:m,sfsi_plus_shareIcon_order:F,sfsi_plus_instagramIcon_order:I,sfsi_plus_linkedinIcon_order:h,sfsi_plus_custom_orders:v};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:T,dataType:"json",async:!0,success:function(s){"success"==s?(sfsiplus_showErrorSuc("success","Saved !",5),sfsipluscollapse("#sfsi_save5")):(global_error=1,sfsiplus_showErrorSuc("error","Unkown error , please try again",5)),sfsiplus_afterLoad()}})}function sfsi_plus_update_step6(){sfsiplus_beForeLoad();var s=SFSI("input[name='sfsi_plus_show_Onposts']:checked").val(),i=SFSI("input[name='sfsi_plus_textBefor_icons']").val(),e=SFSI("#sfsi_plus_icons_alignment").val(),t=SFSI("#sfsi_plus_icons_DisplayCounts").val(),n={action:"updateSrcn6",sfsi_plus_show_Onposts:s,sfsi_plus_icons_DisplayCounts:t,sfsi_plus_icons_alignment:e,sfsi_plus_textBefor_icons:i};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:n,dataType:"json",async:!0,success:function(s){"success"==s?(sfsiplus_showErrorSuc("success","Saved !",6),sfsipluscollapse("#sfsi_save6")):(global_error=1,sfsiplus_showErrorSuc("error","Unkown error , please try again",6)),sfsiplus_afterLoad()}})}function sfsi_plus_update_step7(){var s=sfsi_plus_validationStep7();if(!s)return global_error=1,!1;sfsiplus_beForeLoad();var i=SFSI("input[name='sfsi_plus_popup_text']").val(),e=SFSI("#sfsi_plus_popup_font option:selected").val(),t=(SFSI("#sfsi_plus_popup_fontStyle option:selected").val(),SFSI("input[name='sfsi_plus_popup_fontColor']").val()),n=SFSI("input[name='sfsi_plus_popup_fontSize']").val(),o=SFSI("input[name='sfsi_plus_popup_background_color']").val(),a=SFSI("input[name='sfsi_plus_popup_border_color']").val(),c=SFSI("input[name='sfsi_plus_popup_border_thickness']").val(),r=SFSI("input[name='sfsi_plus_popup_border_shadow']:checked").val(),p=SFSI("input[name='sfsi_plus_Show_popupOn']:checked").val(),_=[];SFSI("#sfsi_plus_Show_popupOn_PageIDs :selected").each(function(s,i){_[s]=SFSI(i).val()});var l=SFSI("input[name='sfsi_plus_Shown_pop']:checked").val(),S=SFSI("input[name='sfsi_plus_Shown_popupOnceTime']").val(),u=SFSI("#sfsi_plus_Shown_popuplimitPerUserTime").val(),f={action:"updateSrcn7",sfsi_plus_popup_text:i,sfsi_plus_popup_font:e,sfsi_plus_popup_fontColor:t,sfsi_plus_popup_fontSize:n,sfsi_plus_popup_background_color:o,sfsi_plus_popup_border_color:a,sfsi_plus_popup_border_thickness:c,sfsi_plus_popup_border_shadow:r,sfsi_plus_Show_popupOn:p,sfsi_plus_Show_popupOn_PageIDs:_,sfsi_plus_Shown_pop:l,sfsi_plus_Shown_popupOnceTime:S,sfsi_plus_Shown_popuplimitPerUserTime:u};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:f,dataType:"json",async:!0,success:function(s){"success"==s?(sfsiplus_showErrorSuc("success","Saved !",7),sfsipluscollapse("#sfsi_save7")):sfsiplus_showErrorSuc("error","Unkown error , please try again",7),sfsiplus_afterLoad()}})}function sfsiplus_afterIconSuccess(s){if(s.res="success"){var i=s.key+1,e=s.element,t=e+1;SFSI("#total_cusotm_icons").val(s.element),SFSI(".upload-overlay").hide("slow"),SFSI(".uperror").html(""),sfsiplus_showErrorSuc("success","Custom Icon updated successfully",1),d=new Date,SFSI("input[name=sfsiICON_"+s.key+"]").removeAttr("ele-type"),SFSI("input[name=sfsiICON_"+s.key+"]").removeAttr("isnew"),SFSI("li.custom:last").removeClass("bdr_btm_non"),SFSI("li.custom:last").children("span.custom-img").children("img").attr("src",s.img_path+"?"+d.getTime()),icons_name=SFSI("li.custom:last").find("input.styled").attr("name");var n=icons_name.split("_");s.key=n[1],s.img_path+="?"+d.getTime(),5>e&&SFSI(".icn_listing").append('<li id="c'+i+'" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="sfsiICON_'+i+'" type="checkbox" value="yes" class="styled" style="display:none;" element-type="cusotm-icon" isNew="yes" /></div> <span class="custom-img"><img src="'+SFSI("#plugin_url").val()+'images/custom.png" id="CImg_'+i+'" /> </span> <span class="custom sfsiplus_custom-txt">Custom'+t+' </span> <div class="sfsiplus_right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>'),SFSI(".sfsiplus_custom_section").show(),SFSI(".custom-links").append(' <div class="row sfsiICON_'+s.key+' cm_lnk"> <h2 class="custom"> <span class="customstep2-img"> <img src="'+s.img_path+"?"+d.getTime()+'" style="border-radius:48%" /> </span> <span class="sfsiCtxt">Custom '+e+'</span> </h2> <div class="inr_cont "><p>Where do you want this icon to link to?</p> <p class="radio_section fb_url sfsiplus_custom_section sfsiICON_'+s.key+'" ><label>Link :</label><input file-id="'+s.key+'" name="sfsi_plus_CustomIcon_links[]" type="text" value="" placeholder="http://" class="add" /></p></div></div>');var o=SFSI("div.custom_m").find("div.mouseover_field").length;SFSI("div.custom_m").append(0==o%2?'<div class="clear"> </div> <div class="mouseover_field sfsiplus_custom_section sfsiICON_'+s.key+'"><label>Custom '+e+':</label><input name="sfsi_plus_custom_MouseOverTexts[]" value="" type="text" file-id="'+s.key+'" /></div>':'<div class="cHover " ><div class="mouseover_field sfsiplus_custom_section sfsiICON_'+s.key+'"><label>Custom '+e+':</label><input name="sfsi_plus_custom_MouseOverTexts[]" value="" type="text" file-id="'+s.key+'" /></div>'),SFSI("ul.share_icon_order").append('<li class="sfsiplus_custom_iconOrder sfsiICON_'+s.key+'" data-index="" element-id="'+s.key+'" id=""><a href="#" title="Custom Icon" ><img src="'+s.img_path+'" alt="Linked In" class="sfcm"/></a></li>'),SFSI("ul.sfsi_sample_icons").append('<li class="sfsiICON_'+s.key+'" element-id="'+s.key+'" ><div><img src="'+s.img_path+'" alt="Linked In" class="sfcm"/><span class="sfsi_Cdisplay">12k</span></div></li>'),sfsi_plus_update_index(),plus_update_Sec5Iconorder(),sfsi_plus_update_step1(),sfsi_plus_update_step2(),sfsi_plus_update_step5(),SFSI(".upload-overlay").css("pointer-events","auto"),sfsi_plus_showPreviewCounts(),sfsiplus_afterLoad()
|
2 |
-
}}function sfsiplus_beforeIconSubmit(s){if(SFSI(".uperror").html("Uploading....."),window.File&&window.FileReader&&window.FileList&&window.Blob){SFSI(s).val()||SFSI(".uperror").html("File is empty");var i=s.files[0].size,e=s.files[0].type;switch(e){case"image/png":case"image/gif":case"image/jpeg":case"image/pjpeg":break;default:return SFSI(".uperror").html("Unsupported file"),!1}return i>1048576?(SFSI(".uperror").html("Image should be less than 1 MB"),!1):!0}return!0}function sfsiplus_bytesToSize(s){var i=["Bytes","KB","MB","GB","TB"];if(0==s)return"0 Bytes";var e=parseInt(Math.floor(Math.log(s)/Math.log(1024)));return Math.round(s/Math.pow(1024,e),2)+" "+i[e]}function sfsiplus_showErrorSuc(s,i,e){if("error"==s)var t="errorMsg";else var t="sucMsg";return SFSI(".tab"+e+">."+t).html(i),SFSI(".tab"+e+">."+t).show(),SFSI(".tab"+e+">."+t).effect("highlight",{},5e3),setTimeout(function(){SFSI("."+t).slideUp("slow")},5e3),!1}function sfsiplus_beForeLoad(){SFSI(".loader-img").show(),SFSI(".save_button >a").html("Saving..."),SFSI(".save_button >a").css("pointer-events","none")}function sfsiplus_afterLoad(){SFSI("input").removeClass("inputError"),SFSI(".save_button >a").html("Save"),SFSI(".tab8>div.save_button >a").html("Save All Settings"),SFSI(".save_button >a").css("pointer-events","auto"),SFSI(".save_button >a").removeAttr("onclick"),SFSI(".loader-img").hide()}function sfsi_plus_make_popBox(){var s=0;SFSI(".sfsi_sample_icons >li").each(function(){"none"!=SFSI(this).css("display")&&(s=1)}),0==s?SFSI(".sfsi_plus_Popinner").hide():SFSI(".sfsi_plus_Popinner").show(),""!=SFSI('input[name="sfsi_plus_popup_text"]').val()?(SFSI(".sfsi_plus_Popinner >h2").html(SFSI('input[name="sfsi_plus_popup_text"]').val()),SFSI(".sfsi_plus_Popinner >h2").show()):SFSI(".sfsi_plus_Popinner >h2").hide(),SFSI(".sfsi_plus_Popinner").css({"border-color":SFSI('input[name="sfsi_plus_popup_border_color"]').val(),"border-width":SFSI('input[name="sfsi_plus_popup_border_thickness"]').val(),"border-style":"solid"}),SFSI(".sfsi_plus_Popinner").css("background-color",SFSI('input[name="sfsi_plus_popup_background_color"]').val()),SFSI(".sfsi_plus_Popinner h2").css("font-family",SFSI("#sfsi_plus_popup_font").val()),SFSI(".sfsi_plus_Popinner h2").css("font-style",SFSI("#sfsi_plus_popup_fontStyle").val()),SFSI(".sfsi_plus_Popinner >h2").css("font-size",parseInt(SFSI('input[name="sfsi_plus_popup_fontSize"]').val())),SFSI(".sfsi_plus_Popinner >h2").css("color",SFSI('input[name="sfsi_plus_popup_fontColor"]').val()+" !important"),"yes"==SFSI('input[name="sfsi_plus_popup_border_shadow"]:checked').val()?SFSI(".sfsi_plus_Popinner").css("box-shadow","12px 30px 18px #CCCCCC"):SFSI(".sfsi_plus_Popinner").css("box-shadow","none")}function sfsi_plus_stick_widget(s){0==sfsiplus_initTop.length&&(SFSI(".sfsi_plus_widget").each(function(s){sfsiplus_initTop[s]=SFSI(this).position().top}),console.log(sfsiplus_initTop));var i=SFSI(window).scrollTop(),e=[],t=[];SFSI(".sfsi_plus_widget").each(function(s){e[s]=SFSI(this).position().top,t[s]=SFSI(this)});var n=!1;for(var o in e){var a=parseInt(o)+1;e[o]<i&&e[a]>i&&a<e.length?(SFSI(t[o]).css({position:"fixed",top:s}),SFSI(t[a]).css({position:"",top:sfsiplus_initTop[a]}),n=!0):SFSI(t[o]).css({position:"",top:sfsiplus_initTop[o]})}if(!n){var c=e.length-1,r=-1;e.length>1&&(r=e.length-2),sfsiplus_initTop[c]<i?(SFSI(t[c]).css({position:"fixed",top:s}),r>=0&&SFSI(t[r]).css({position:"",top:sfsiplus_initTop[r]})):(SFSI(t[c]).css({position:"",top:sfsiplus_initTop[c]}),r>=0&&e[r]<i)}}function sfsi_plus_float_widget(s){function i(){c="Microsoft Internet Explorer"===navigator.appName?a-document.documentElement.scrollTop:a-window.pageYOffset,Math.abs(c)>0?(window.removeEventListener("scroll",i),a-=c*o,SFSI("#sfsi_plus_floater").css({top:(a+t).toString()+"px"}),setTimeout(i,n)):window.addEventListener("scroll",i,!1)}function e(){var s=SFSI("#sfsi_plus_floater").attr("data-top"),e=parseInt(SFSI("#sfsi_plus_floater").height()),t=parseInt(SFSI("#sfsi_plus_floater").css("top"));parseInt(e)+parseInt(t)<=s?window.addEventListener("scroll",i,!1):(window.removeEventListener("scroll",i),SFSI("#sfsi_plus_floater").css("top",s+"px"))}if("center"==s)var t=window.innerHeight/2;else if("bottom"==s)var t=window.innerHeight-SFSI("#sfsi_plus_floater").height();else var t=parseInt(s);var n=50,o=.1,a=0,c=0;SFSI("#sfsi_plus_floater"),window.onscroll=e}function sfsi_plus_shuffle(){var s=[];SFSI(".sfsi_plus_wicons ").each(function(i){SFSI(this).text().match(/^\s*$/)||(s[i]="<div class='"+SFSI(this).attr("class")+"'>"+SFSI(this).html()+"</div>",SFSI(this).fadeOut("slow"),SFSI(this).insertBefore(SFSI(this).prev(".sfsi_plus_wicons")),SFSI(this).fadeIn("slow"))}),s=sfsiplus_Shuffle(s),$("#sfsi_plus_wDiv").html("");for(var i=0;i<testArray.length;i++)$("#sfsi_plus_wDiv").append(s[i])}function sfsiplus_Shuffle(s){for(var i,e,t=s.length;t;i=parseInt(Math.random()*t),e=s[--t],s[t]=s[i],s[i]=e);return s}function sfsi_plus_setCookie(s,i,e){var t=new Date;t.setTime(t.getTime()+864e5*e);var n="expires="+t.toGMTString();document.cookie=s+"="+i+"; "+n}function sfsfi_plus_getCookie(s){for(var i=s+"=",e=document.cookie.split(";"),t=0;t<e.length;t++){var n=e[t].trim();if(0==n.indexOf(i))return n.substring(i.length,n.length)}return""}function sfsi_plus_hideFooter(){}function showhideutube(s){var i=SFSI(s).children("input").val();"name"==i?(SFSI(s).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlnmewpr").slideDown(),SFSI(s).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlidwpr").slideUp()):(SFSI(s).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlidwpr").slideDown(),SFSI(s).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlnmewpr").slideUp())}function sfsiplushidemepopup(){SFSI(".sfsi_plus_FrntInner").fadeOut()}jQuery(document).ready(function(){jQuery("#sfsi_plus_floater").attr("data-top",jQuery(document).height())}),window.onerror=function(){},SFSI=jQuery.noConflict(),SFSI(window).load(function(){SFSI("#sfpluspageLoad").fadeOut(2e3)});var global_error=0;SFSI(document).ready(function(s){function i(){SFSI(".uperror").html(""),sfsiplus_afterLoad();var s=SFSI('input[name="'+SFSI("#upload_id").val()+'"]');s.removeAttr("checked");var i=SFSI(s).parent().find("span:first");return SFSI(i).css("background-position","0px 0px"),SFSI(".upload-overlay").hide("slow"),!1}SFSI(".sfsiplus_tab_3_icns").on("click",".cstomskins_upload",function(){SFSI(".cstmskins-overlay").show("slow",function(){e=0})}),SFSI("#custmskin_clspop").live("click",function(){SFSI_plus_done(),SFSI(".cstmskins-overlay").hide("slow")}),SFSI("head").append('<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />'),SFSI("head").append('<meta http-equiv="Pragma" content="no-cache" />'),SFSI("head").append('<meta http-equiv="Expires" content="0" />'),SFSI("#accordion").accordion({collapsible:!0,active:!1,heightStyle:"content",event:"click",beforeActivate:function(s,i){if(i.newHeader[0])var e=i.newHeader,t=e.next(".ui-accordion-content");else var e=i.oldHeader,t=e.next(".ui-accordion-content");var n="true"==e.attr("aria-selected");return e.toggleClass("ui-corner-all",n).toggleClass("accordion-header-active ui-state-active ui-corner-top",!n).attr("aria-selected",(!n).toString()),e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e",n).toggleClass("ui-icon-triangle-1-s",!n),t.toggleClass("accordion-content-active",!n),n?t.slideUp():t.slideDown(),!1}}),SFSI("#accordion1").accordion({collapsible:!0,active:!1,heightStyle:"content",event:"click",beforeActivate:function(s,i){if(i.newHeader[0])var e=i.newHeader,t=e.next(".ui-accordion-content");else var e=i.oldHeader,t=e.next(".ui-accordion-content");var n="true"==e.attr("aria-selected");return e.toggleClass("ui-corner-all",n).toggleClass("accordion-header-active ui-state-active ui-corner-top",!n).attr("aria-selected",(!n).toString()),e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e",n).toggleClass("ui-icon-triangle-1-s",!n),t.toggleClass("accordion-content-active",!n),n?t.slideUp():t.slideDown(),!1}}),SFSI(".closeSec").on("click",function(){var s=!0,i=SFSI(this).closest("div.ui-accordion-content").prev("h3.ui-accordion-header").first(),e=SFSI(this).closest("div.ui-accordion-content").first();i.toggleClass("ui-corner-all",s).toggleClass("accordion-header-active ui-state-active ui-corner-top",!s).attr("aria-selected",(!s).toString()),i.children(".ui-icon").toggleClass("ui-icon-triangle-1-e",s).toggleClass("ui-icon-triangle-1-s",!s),e.toggleClass("accordion-content-active",!s),s?e.slideUp():e.slideDown()}),SFSI(document).click(function(s){var i=SFSI(".sfsi_plus_FrntInner"),e=SFSI(".sfsi_plus_wDiv"),t=SFSI("#at15s");i.is(s.target)||0!==i.has(s.target).length||e.is(s.target)||0!==e.has(s.target).length||t.is(s.target)||0!==t.has(s.target).length||i.fadeOut()}),SFSI(".sfsi_plus_outr_div").find(".addthis_button").mousemove(function(){var s=SFSI(".sfsi_plus_outr_div").find(".addthis_button").offset().top+10;SFSI("#at15s").css({top:s+"px",left:SFSI(".sfsi_plus_outr_div").find(".addthis_button").offset().left+"px"})}),SFSI("#sfsifontCloroPicker").ColorPicker({color:"#f80000",onBeforeShow:function(){s(this).ColorPickerSetColor(SFSI("#sfsi_plus_popup_fontColor").val())},onShow:function(s){return SFSI(s).fadeIn(500),!1},onHide:function(s){return SFSI(s).fadeOut(500),sfsi_plus_make_popBox(),!1},onChange:function(s,i){SFSI("#sfsi_plus_popup_fontColor").val("#"+i),SFSI("#sfsifontCloroPicker").css("background","#"+i),sfsi_plus_make_popBox()},onClick:function(s,i){SFSI("#sfsi_plus_popup_fontColor").val("#"+i),SFSI("#sfsifontCloroPicker").css("background","#"+i),sfsi_plus_make_popBox()}}),SFSI("div#sfsiplusid_linkedin").find(".icon4").find("a").find("img").mouseover(function(){SFSI(this).attr("src",ajax_object.plugin_url+"images/visit_icons/linkedIn_hover.svg")}),SFSI("div#sfsiplusid_linkedin").find(".icon4").find("a").find("img").mouseleave(function(){SFSI(this).attr("src",ajax_object.plugin_url+"images/visit_icons/linkedIn.svg")}),SFSI("div#sfsiplusid_youtube").find(".icon1").find("a").find("img").mouseover(function(){SFSI(this).attr("src",ajax_object.plugin_url+"images/visit_icons/youtube_hover.svg")}),SFSI("div#sfsiplusid_youtube").find(".icon1").find("a").find("img").mouseleave(function(){SFSI(this).attr("src",ajax_object.plugin_url+"images/visit_icons/youtube.svg")}),SFSI("div#sfsiplusid_facebook").find(".icon1").find("a").find("img").mouseover(function(){SFSI(this).css("opacity","0.9")}),SFSI("div#sfsiplusid_facebook").find(".icon1").find("a").find("img").mouseleave(function(){SFSI(this).css("opacity","1")}),SFSI("div#sfsiplusid_twitter").find(".cstmicon1").find("a").find("img").mouseover(function(){SFSI(this).css("opacity","0.9")}),SFSI("div#sfsiplusid_twitter").find(".cstmicon1").find("a").find("img").mouseleave(function(){SFSI(this).css("opacity","1")}),SFSI("#sfsiBackgroundColorPicker").ColorPicker({color:"#f80000",onBeforeShow:function(){s(this).ColorPickerSetColor(SFSI("#sfsi_plus_popup_background_color").val())},onShow:function(s){return SFSI(s).fadeIn(500),!1},onHide:function(s){return SFSI(s).fadeOut(500),!1},onChange:function(s,i){SFSI("#sfsi_plus_popup_background_color").val("#"+i),SFSI("#sfsiBackgroundColorPicker").css("background","#"+i),sfsi_plus_make_popBox()},onClick:function(s,i){SFSI("#sfsi_plus_popup_background_color").val("#"+i),SFSI("#sfsiBackgroundColorPicker").css("background","#"+i),sfsi_plus_make_popBox()}}),SFSI("#sfsiBorderColorPicker").ColorPicker({color:"#f80000",onBeforeShow:function(){s(this).ColorPickerSetColor(SFSI("#sfsi_plus_popup_border_color").val())},onShow:function(s){return SFSI(s).fadeIn(500),!1},onHide:function(s){return SFSI(s).fadeOut(500),!1},onChange:function(s,i){SFSI("#sfsi_plus_popup_border_color").val("#"+i),SFSI("#sfsiBorderColorPicker").css("background","#"+i),sfsi_plus_make_popBox()},onClick:function(s,i){SFSI("#sfsi_plus_popup_border_color").val("#"+i),SFSI("#sfsiBorderColorPicker").css("background","#"+i),sfsi_plus_make_popBox()}}),SFSI("#sfsi_save1").on("click",function(){sfsi_plus_update_step1()&&sfsipluscollapse(this)}),SFSI("#sfsi_save2").on("click",function(){sfsi_plus_update_step2()&&sfsipluscollapse(this)}),SFSI("#sfsi_save3").on("click",function(){sfsi_plus_update_step3()&&sfsipluscollapse(this)}),SFSI("#sfsi_save4").on("click",function(){sfsi_plus_update_step4()&&sfsipluscollapse(this)}),SFSI("#sfsi_save5").on("click",function(){sfsi_plus_update_step5()&&sfsipluscollapse(this)}),SFSI("#sfsi_save6").on("click",function(){sfsi_plus_update_step6()&&sfsipluscollapse(this)}),SFSI("#sfsi_save7").on("click",function(){sfsi_plus_update_step7()&&sfsipluscollapse(this)}),SFSI("#save_all_settings").on("click",function(){return SFSI("#save_all_settings").text("Saving.."),SFSI(".save_button >a").css("pointer-events","none"),sfsi_plus_update_step1(),1==global_error?(sfsiplus_showErrorSuc("error",'Some Selection error in "Which icons do you want to show on your site?" tab.',8),global_error=0,!1):(sfsi_plus_update_step2(),1==global_error?(sfsiplus_showErrorSuc("error",'Some Selection error in "What do you want the icons to do?" tab.',8),global_error=0,!1):(sfsi_plus_update_step3(),1==global_error?(sfsiplus_showErrorSuc("error",'Some Selection error in "What design & animation do you want to give your icons?" tab.',8),global_error=0,!1):(sfsi_plus_update_step4(),1==global_error?(sfsiplus_showErrorSuc("error",'Some Selection error in "Do you want to display "counts" next to your icons?" tab.',8),global_error=0,!1):(sfsi_plus_update_step5(),1==global_error?(sfsiplus_showErrorSuc("error",'Some Selection error in "Any other wishes for your main icons?" tab.',8),global_error=0,!1):(sfsi_plus_update_step6(),1==global_error?(sfsiplus_showErrorSuc("error",'Some Selection error in "Do you want to display icons at the end of every post?" tab.',8),global_error=0,!1):(sfsi_plus_update_step7(),1==global_error?(sfsiplus_showErrorSuc("error",'Some Selection error in "Do you want to display a pop-up, asking people to subscribe?" tab.',8),global_error=0,!1):void(0==global_error&&sfsiplus_showErrorSuc("success",'Saved! Now go to the <a href="widgets.php">widget</a> area and place the widget into your sidebar (if not done already)',8))))))))}),SFSI(".fileUPInput").live("change",function(){sfsiplus_beForeLoad(),sfsiplus_beforeIconSubmit(this)&&(SFSI(".upload-overlay").css("pointer-events","none"),SFSI("#customIconFrm").ajaxForm({dataType:"json",success:sfsiplus_afterIconSuccess,resetForm:!0}).submit())}),SFSI(".pop-up").on("click",function(){("fbex-s2"==SFSI(this).attr("data-id")||"googlex-s2"==SFSI(this).attr("data-id")||"linkex-s2"==SFSI(this).attr("data-id"))&&(SFSI("."+SFSI(this).attr("data-id")).hide(),SFSI("."+SFSI(this).attr("data-id")).css("opacity","1"),SFSI("."+SFSI(this).attr("data-id")).css("z-index","1000")),SFSI("."+SFSI(this).attr("data-id")).show("slow")}),SFSI("#close_popup").live("click",function(){SFSI(".read-overlay").hide("slow")});var e=0;SFSI(".icn_listing").on("click",".checkbox",function(){if(1==e)return!1;"yes"==SFSI(this).attr("dynamic_ele")&&(s=SFSI(this).parent().find("input:checkbox:first"),s.is(":checked")?SFSI(s).attr("checked",!1):SFSI(s).attr("checked",!0)),s=SFSI(this).parent().find("input:checkbox:first"),"yes"==SFSI(s).attr("isNew")&&("0px 0px"==SFSI(this).css("background-position")?(SFSI(s).attr("checked",!0),SFSI(this).css("background-position","0px -36px")):(SFSI(s).removeAttr("checked",!0),SFSI(this).css("background-position","0px 0px")));var s=SFSI(this).parent().find("input:checkbox:first");if(s.is(":checked")&&"cusotm-icon"==s.attr("element-type"))SFSI(".fileUPInput").attr("name","custom_icons[]"),SFSI(".upload-overlay").show("slow",function(){e=0}),SFSI("#upload_id").val(s.attr("name"));else if(!s.is(":checked")&&"cusotm-icon"==s.attr("element-type"))return s.attr("ele-type")?(SFSI(this).attr("checked",!0),SFSI(this).css("background-position","0px -36px"),e=0,!1):confirm("Are you sure want to delete this Icon..?? ")?"suc"==sfsi_plus_delete_CusIcon(this,s)?(s.attr("checked",!1),SFSI(this).css("background-position","0px 0px"),e=0,!1):(e=0,!1):(s.attr("checked",!0),SFSI(this).css("background-position","0px -36px"),e=0,!1)}),SFSI(".icn_listing").on("click",".checkbox",function(){checked=SFSI(this).parent().find("input:checkbox:first"),"sfsi_email_display"!=checked.attr("name")||checked.is(":checked")||SFSI(".demail-1").show("slow")}),SFSI("#deac_email2").on("click",function(){SFSI(".demail-1").hide("slow"),SFSI(".demail-2").show("slow")}),SFSI("#deac_email3").on("click",function(){SFSI(".demail-2").hide("slow"),SFSI(".demail-3").show("slow")}),SFSI(".hideemailpop").on("click",function(){SFSI('input[name="sfsi_email_display"]').attr("checked",!0),SFSI('input[name="sfsi_email_display"]').parent().find("span:first").css("background-position","0px -36px"),SFSI(".demail-1").hide("slow"),SFSI(".demail-2").hide("slow"),SFSI(".demail-3").hide("slow")}),SFSI(".hidePop").on("click",function(){SFSI(".demail-1").hide("slow"),SFSI(".demail-2").hide("slow"),SFSI(".demail-3").hide("slow")}),SFSI(".activate_footer").on("click",function(){SFSI(this).text("activating....");var s={action:"activateFooter"};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:s,dataType:"json",success:function(s){"success"==s.res&&(SFSI(".demail-1").hide("slow"),SFSI(".demail-2").hide("slow"),SFSI(".demail-3").hide("slow"),SFSI(".activate_footer").text("Ok, activate link"))}})}),SFSI(".sfsiplus_removeFooter").on("click",function(){SFSI(this).text("working....");var s={action:"removeFooter"};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:s,dataType:"json",success:function(s){"success"==s.res&&(SFSI(".sfsiplus_removeFooter").fadeOut("slow"),SFSI(".sfsiplus_footerLnk").fadeOut("slow"))}})}),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_display_counts"==s.attr("name")&&sfsi_plus_show_counts()}),SFSI("#close_Uploadpopup").on("click",i),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_plus_show_Onposts"==s.attr("name")&&sfsi_plus_show_OnpostsDisplay()}),sfsi_plus_show_OnpostsDisplay(),sfsi_plus_depened_sections(),sfsi_plus_show_counts(),sfsi_plus_showPreviewCounts(),SFSI(".share_icon_order").sortable({update:function(){SFSI(".share_icon_order li").each(function(){SFSI(this).attr("data-index",SFSI(this).index()+1)})},revert:!0}),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_email_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_email_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_email_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_email_countsFrom']:checked").val()?SFSI("input[name='sfsi_email_manualCounts']").slideDown():SFSI("input[name='sfsi_email_manualCounts']").slideUp()),"sfsi_facebook_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_facebook_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_facebook_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_facebook_countsFrom']:checked").val()?SFSI("input[name='sfsi_facebook_manualCounts']").slideDown():SFSI("input[name='sfsi_facebook_manualCounts']").slideUp()),"sfsi_twitter_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_twitter_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_twitter_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_twitter_countsFrom']:checked").val()?(SFSI("input[name='sfsi_twitter_manualCounts']").slideDown(),SFSI(".tw_follow_options").slideUp()):(SFSI("input[name='sfsi_twitter_manualCounts']").slideUp(),SFSI(".tw_follow_options").slideDown())),"sfsi_google_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_google_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_google_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_google_countsFrom']:checked").val()&&(SFSI("input[name='sfsi_google_manualCounts']").slideDown(),SFSI(".google_option").slideUp()),"likes"==SFSI("input[name='sfsi_google_countsFrom']:checked").val()&&(SFSI("input[name='sfsi_google_manualCounts']").slideUp(),SFSI(".google_option").slideUp()),"follower"==SFSI("input[name='sfsi_google_countsFrom']:checked").val()&&(SFSI(".google_option").slideDown(),SFSI("input[name='sfsi_google_manualCounts']").slideUp())),"sfsi_linkedIn_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_linkedIn_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_linkedIn_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_linkedIn_countsFrom']:checked").val()?(SFSI("input[name='sfsi_linkedIn_manualCounts']").slideDown(),SFSI(".linkedIn_options").slideUp()):(SFSI("input[name='sfsi_linkedIn_manualCounts']").slideUp(),SFSI(".linkedIn_options").slideDown())),"sfsi_youtube_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_youtube_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_youtube_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_youtube_countsFrom']:checked").val()?(SFSI("input[name='sfsi_youtube_manualCounts']").slideDown(),SFSI(".youtube_options").slideUp()):(SFSI("input[name='sfsi_youtube_manualCounts']").slideUp(),SFSI(".youtube_options").slideDown())),"sfsi_pinterest_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_pinterest_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_pinterest_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_pinterest_countsFrom']:checked").val()?(SFSI("input[name='sfsi_plus_pinterest_manualCounts']").slideDown(),SFSI(".pin_options").slideUp()):SFSI("input[name='sfsi_plus_pinterest_manualCounts']").slideUp()),"sfsi_plus_instagram_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_plus_instagram_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_plus_instagram_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_plus_instagram_countsFrom']:checked").val()?(SFSI("input[name='sfsi_plus_instagram_manualCounts']").slideDown(),SFSI(".instagram_userLi").slideUp()):(SFSI("input[name='sfsi_plus_instagram_manualCounts']").slideUp(),SFSI(".instagram_userLi").slideDown())),"sfsi_plus_shares_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_plus_shares_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_plus_shares_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_plus_shares_countsFrom']:checked").val()?SFSI("input[name='sfsi_plus_shares_manualCounts']").slideDown():SFSI("input[name='sfsi_plus_shares_manualCounts']").slideUp())}),sfsi_plus_make_popBox(),SFSI('input[name="sfsi_plus_popup_text"] ,input[name="sfsi_plus_popup_background_color"],input[name="sfsi_plus_popup_border_color"],input[name="sfsi_plus_popup_border_thickness"],input[name="sfsi_plus_popup_fontSize"],input[name="sfsi_plus_popup_fontColor"]').on("keyup",sfsi_plus_make_popBox),SFSI('input[name="sfsi_plus_popup_text"] ,input[name="sfsi_plus_popup_background_color"],input[name="sfsi_plus_popup_border_color"],input[name="sfsi_plus_popup_border_thickness"],input[name="sfsi_plus_popup_fontSize"],input[name="sfsi_plus_popup_fontColor"]').on("focus",sfsi_plus_make_popBox),SFSI("#sfsi_plus_popup_font ,#sfsi_plus_popup_fontStyle").on("change",sfsi_plus_make_popBox),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_plus_popup_border_shadow"==s.attr("name")&&sfsi_plus_make_popBox()}),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?SFSI("img.sfsi_wicon").on("click",function(s){s.stopPropagation();var i=SFSI("#sfsi_plus_floater_sec").val();SFSI("div.sfsi_plus_wicons").css("z-index","0"),SFSI(this).parent().parent().parent().siblings("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_tool_tip_2").hide(),SFSI(this).parent().parent().parent().parent().siblings("li").length>0&&(SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_tool_tip_2").css("z-index","0"),SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_tool_tip_2").hide()),SFSI(this).parent().parent().parent().css("z-index","1000000"),SFSI(this).parent().parent().css({"z-index":"999"}),SFSI(this).attr("effect")&&"fade_in"==SFSI(this).attr("effect")&&(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("effect")&&"scale"==SFSI(this).attr("effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("effect")&&"combo"==SFSI(this).attr("effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parent().css("opacity","1"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10})),("top-left"==i||"top-right"==i)&&SFSI(this).parent().parent().parent().parent("#sfsi_plus_floater").length>0&&"sfsi_plus_floater"==SFSI(this).parent().parent().parent().parent().attr("id")?(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").addClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show()):(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").removeClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":1e3}),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show())}):SFSI("img.sfsi_wicon").on("mouseenter",function(){var s=SFSI("#sfsi_plus_floater_sec").val();SFSI("div.sfsi_plus_wicons").css("z-index","0"),SFSI(this).parent().parent().parent().siblings("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_tool_tip_2").hide(),SFSI(this).parent().parent().parent().parent().siblings("li").length>0&&(SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_tool_tip_2").css("z-index","0"),SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_tool_tip_2").hide()),SFSI(this).parent().parent().parent().css("z-index","1000000"),SFSI(this).parent().parent().css({"z-index":"999"}),SFSI(this).attr("effect")&&"fade_in"==SFSI(this).attr("effect")&&(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("effect")&&"scale"==SFSI(this).attr("effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("effect")&&"combo"==SFSI(this).attr("effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parent().css("opacity","1"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10})),("top-left"==s||"top-right"==s)&&SFSI(this).parent().parent().parent().parent("#sfsi_plus_floater").length>0&&"sfsi_plus_floater"==SFSI(this).parent().parent().parent().parent().attr("id")?(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").addClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show()):(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").removeClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show())}),SFSI("div.sfsi_plus_wicons").on("mouseleave",function(){SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect")&&"fade_in"==SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect")&&SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity","0.6"),SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect")&&"scale"==SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect")&&SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale"),SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect")&&"combo"==SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect")&&(SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity","0.6"),SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale")),"google"==SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").attr("id")?SFSI("body").on("click",function(){SFSI(this).children(".sfsiplus_inerCnt").find("div.sfsi_tool_tip_2").hide()}):(SFSI(this).css({"z-index":"0"}),SFSI(this).children(".sfsiplus_inerCnt").find("div.sfsi_tool_tip_2").hide())}),SFSI("body").on("click",function(){SFSI(".sfsiplus_inerCnt").find("div.sfsi_tool_tip_2").hide()}),SFSI(".adminTooltip >a").on("hover",function(){SFSI(this).offset().top,SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity","1"),SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").show()}),SFSI(".adminTooltip").on("mouseleave",function(){"none"!=SFSI(".gpls_tool_bdr").css("display")&&0!=SFSI(".gpls_tool_bdr").css("opacity")?SFSI(".pop_up_box ").on("click",function(){SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity","0"),SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").hide()}):(SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity","0"),SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").hide())}),SFSI(".expand-area").on("click",function(){"Read more"==SFSI(this).text()?(SFSI(this).siblings("p").children("label").fadeIn("slow"),SFSI(this).text("Collapse")):(SFSI(this).siblings("p").children("label").fadeOut("slow"),SFSI(this).text("Read more"))}),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_plus_icons_float"==s.attr("name")&&"yes"==s.val()&&(SFSI(".float_options").slideDown("slow"),SFSI('input[name="sfsi_plus_icons_stick"][value="no"]').attr("checked",!0),SFSI('input[name="sfsi_plus_icons_stick"][value="yes"]').removeAttr("checked"),SFSI('input[name="sfsi_plus_icons_stick"][value="no"]').parent().find("span").attr("style","background-position:0px -41px;"),SFSI('input[name="sfsi_plus_icons_stick"][value="yes"]').parent().find("span").attr("style","background-position:0px -0px;")),("sfsi_plus_icons_stick"==s.attr("name")&&"yes"==s.val()||"sfsi_plus_icons_float"==s.attr("name")&&"no"==s.val())&&(SFSI(".float_options").slideUp("slow"),SFSI('input[name="sfsi_plus_icons_float"][value="no"]').prop("checked",!0),SFSI('input[name="sfsi_plus_icons_float"][value="yes"]').prop("checked",!1),SFSI('input[name="sfsi_plus_icons_float"][value="no"]').parent().find("span.radio").attr("style","background-position:0px -41px;"),SFSI('input[name="sfsi_plus_icons_float"][value="yes"]').parent().find("span.radio").attr("style","background-position:0px -0px;"))}),SFSI(".sfsi_plus_wDiv").length>0&&setTimeout(function(){var s=parseInt(SFSI(".sfsi_plus_wDiv").height())+15+"px";SFSI(".sfsi_plus_holders").each(function(){SFSI(this).css("height",s)})},200),SFSI(".checkbox").live("click",function(){var s=SFSI(this).parent().find("input:checkbox:first");("sfsi_plus_shuffle_Firstload"==s.attr("name")&&"checked"==s.attr("checked")||"sfsi_plus_shuffle_interval"==s.attr("name")&&"checked"==s.attr("checked"))&&(SFSI('input[name="sfsi_plus_shuffle_icons"]').parent().find("span").css("background-position","0px -36px"),SFSI('input[name="sfsi_plus_shuffle_icons"]').attr("checked","checked")),"sfsi_plus_shuffle_icons"==s.attr("name")&&"checked"!=s.attr("checked")&&(SFSI('input[name="sfsi_plus_shuffle_Firstload"]').removeAttr("checked"),SFSI('input[name="sfsi_plus_shuffle_Firstload"]').parent().find("span").css("background-position","0px 0px"),SFSI('input[name="sfsi_plus_shuffle_interval"]').removeAttr("checked"),SFSI('input[name="sfsi_plus_shuffle_interval"]').parent().find("span").css("background-position","0px 0px"))})});var sfsiplus_initTop=new Array;
|
1 |
function sfsi_plus_update_index(){var s=1;SFSI("ul.icn_listing li.custom").each(function(){SFSI(this).children("span.sfsiplus_custom-txt").html("Custom "+s),s++}),cntt=1,SFSI("div.cm_lnk").each(function(){SFSI(this).find("h2.custom").find("span.sfsiCtxt").html("Custom "+cntt+":"),cntt++}),cntt=1,SFSI("div.custom_m").find("div.sfsiplus_custom_section").each(function(){SFSI(this).find("label").html("Custom "+cntt+":"),cntt++})}function sfsipluscollapse(s){var i=!0,e=SFSI(s).closest("div.ui-accordion-content").prev("h3.ui-accordion-header"),t=SFSI(s).closest("div.ui-accordion-content").first();e.toggleClass("ui-corner-all",i).toggleClass("accordion-header-active ui-state-active ui-corner-top",!i).attr("aria-selected",(!i).toString()),e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e",i).toggleClass("ui-icon-triangle-1-s",!i),t.toggleClass("accordion-content-active",!i),i?t.slideUp():t.slideDown()}function sfsi_plus_delete_CusIcon(s,i){sfsiplus_beForeLoad();var e={action:"deleteIcons",icon_name:i.attr("name")};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:e,dataType:"json",success:function(e){if("success"==e.res){sfsiplus_showErrorSuc("success","Saved !",1);var t=e.last_index+1;SFSI("#total_cusotm_icons").val(e.total_up),SFSI(s).closest(".custom").remove(),SFSI("li.custom:last").addClass("bdr_btm_non"),SFSI(".custom-links").find("div."+i.attr("name")).remove(),SFSI(".custom_m").find("div."+i.attr("name")).remove(),SFSI(".share_icon_order").children("li."+i.attr("name")).remove(),SFSI("ul.sfsi_sample_icons").children("li."+i.attr("name")).remove();var n=e.total_up+1;4==e.total_up&&SFSI(".icn_listing").append('<li id="c'+t+'" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="sfsiICON_'+t+'_display" type="checkbox" value="yes" class="styled" style="display:none;" element-type="cusotm-icon" isNew="yes" /></div> <span class="custom-img"><img src="'+SFSI("#plugin_url").val()+'images/custom.png" id="CImg_'+t+'" /> </span> <span class="custom sfsiplus_custom-txt">Custom'+n+' </span> <div class="sfsiplus_right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>')}else sfsiplus_showErrorSuc("error","Unkown error , please try again",1);return sfsi_plus_update_index(),plus_update_Sec5Iconorder(),sfsi_plus_update_step1(),sfsi_plus_update_step5(),sfsiplus_afterLoad(),"suc"}})}function plus_update_Sec5Iconorder(){SFSI("ul.share_icon_order").children("li").each(function(){SFSI(this).attr("data-index",SFSI(this).index()+1)})}function sfsi_plus_section_Display(s,i){"hide"==i?(SFSI("."+s+" :input").prop("disabled",!0),SFSI("."+s+" :button").prop("disabled",!0),SFSI("."+s).hide()):(SFSI("."+s+" :input").removeAttr("disabled",!0),SFSI("."+s+" :button").removeAttr("disabled",!0),SFSI("."+s).show())}function sfsi_plus_depened_sections(){if("sfsi"==SFSI("input[name='sfsi_rss_icons']:checked").val()){for(i=0;16>i;i++){var s=i+1,e=74*i;SFSI(".sfsiplus_row_"+s+"_2").css("background-position","-588px -"+e+"px")}var t=SFSI(".icon_img").attr("src"),n=t.replace("email.png","sf_asfsiplus_row_icn.png");SFSI(".icon_img").attr("src",n)}else{for(SFSI(".sfsiplus_row_1_2").css("background-position","-58px 0"),i=0;16>i;i++){var s=i+1,e=74*i;SFSI(".sfsiplus_row_"+s+"_2").css("background-position","-58px -"+e+"px")}var t=SFSI(".icon_img").attr("src");if(t){var n=t.replace("sf_asfsiplus_row_icn.png","email.png");SFSI(".icon_img").attr("src",n)}}SFSI("input[name='sfsi_rss_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_rss_section","show"):sfsi_plus_section_Display("sfsiplus_rss_section","hide"),SFSI("input[name='sfsi_email_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_email_section","show"):sfsi_plus_section_Display("sfsiplus_email_section","hide"),SFSI("input[name='sfsi_facebook_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_facebook_section","show"):sfsi_plus_section_Display("sfsiplus_facebook_section","hide"),SFSI("input[name='sfsi_twitter_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_twitter_section","show"):sfsi_plus_section_Display("sfsiplus_twitter_section","hide"),SFSI("input[name='sfsi_google_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_google_section","show"):sfsi_plus_section_Display("sfsiplus_google_section","hide"),SFSI("input[name='sfsi_share_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_share_section","show"):sfsi_plus_section_Display("sfsiplus_share_section","hide"),SFSI("input[name='sfsi_youtube_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_youtube_section","show"):sfsi_plus_section_Display("sfsiplus_youtube_section","hide"),SFSI("input[name='sfsi_pinterest_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_pinterest_section","show"):sfsi_plus_section_Display("sfsiplus_pinterest_section","hide"),SFSI("input[name='sfsi_instagram_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_instagram_section","show"):sfsi_plus_section_Display("sfsiplus_instagram_section","hide"),SFSI("input[name='sfsi_linkedin_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_linkedin_section","show"):sfsi_plus_section_Display("sfsiplus_linkedin_section","hide"),SFSI("input[element-type='cusotm-icon']").prop("checked")?sfsi_plus_section_Display("sfsiplus_custom_section","show"):sfsi_plus_section_Display("sfsiplus_custom_section","hide")}function PlusCustomIConSectionsUpdate(){sfsi_plus_section_Display("counter".ele,show)}function sfsi_customskin_upload(s,i){var e=(jQuery(i).attr("title"),s),t={action:"UploadSkins",custom_imgurl:e};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:t,success:function(e){if(e.res="success"){var t=s.split("=");jQuery(i).prev(".imgskin").attr("src",t[1]),jQuery(i).prev(".imgskin").css("display","block"),jQuery(i).text("Update"),jQuery(i).next(".dlt_btn").css("display","block")}}})}function sfsiplus_deleteskin_icon(s){var i=jQuery(s).attr("title"),e=i,t={action:"DeleteSkin",iconname:e};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:t,success:function(i){(i.res="success")&&(SFSI(s).prev("a").text("Upload"),SFSI(s).prev("a").prev("img").attr("src",""),SFSI(s).prev("a").prev("img").css("display","none"),SFSI(s).css("display","none"))}})}function SFSI_plus_done(){e={action:"Iamdone"},SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:e,success:function(s){jQuery("li.cstomskins_upload").children(".sfsiplus_icns_tab_3").html(s),SFSI("input[name='sfsi_rss_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_rss_section","show"):sfsi_plus_section_Display("sfsiplus_rss_section","hide"),SFSI("input[name='sfsi_email_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_email_section","show"):sfsi_plus_section_Display("sfsiplus_email_section","hide"),SFSI("input[name='sfsi_facebook_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_facebook_section","show"):sfsi_plus_section_Display("sfsiplus_facebook_section","hide"),SFSI("input[name='sfsi_twitter_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_twitter_section","show"):sfsi_plus_section_Display("sfsiplus_twitter_section","hide"),SFSI("input[name='sfsi_google_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_google_section","show"):sfsi_plus_section_Display("sfsiplus_google_section","hide"),SFSI("input[name='sfsi_share_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_share_section","show"):sfsi_plus_section_Display("sfsiplus_share_section","hide"),SFSI("input[name='sfsi_youtube_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_youtube_section","show"):sfsi_plus_section_Display("sfsiplus_youtube_section","hide"),SFSI("input[name='sfsi_pinterest_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_pinterest_section","show"):sfsi_plus_section_Display("sfsiplus_pinterest_section","hide"),SFSI("input[name='sfsi_instagram_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_instagram_section","show"):sfsi_plus_section_Display("sfsiplus_instagram_section","hide"),SFSI("input[name='sfsi_linkedin_display']").prop("checked")?sfsi_plus_section_Display("sfsiplus_linkedin_section","show"):sfsi_plus_section_Display("sfsiplus_linkedin_section","hide"),SFSI("input[element-type='cusotm-icon']").prop("checked")?sfsi_plus_section_Display("sfsiplus_custom_section","show"):sfsi_plus_section_Display("sfsiplus_custom_section","hide"),SFSI(".cstmskins-overlay").hide("slow"),sfsi_plus_update_step3()&&sfsipluscollapse(this)}})}function sfsi_newcustomicon_upload(s){var i=s,e={action:"UploadIcons",custom_imgurl:i};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:e,dataType:"json",async:!0,success:function(s){sfsiplus_afterIconSuccess(s)}})}function sfsi_plus_update_step1(){global_error=0,sfsiplus_beForeLoad(),sfsi_plus_depened_sections();var s=!1,i=SFSI("input[name='sfsi_rss_display']:checked").val(),e=SFSI("input[name='sfsi_email_display']:checked").val(),t=SFSI("input[name='sfsi_facebook_display']:checked").val(),n=SFSI("input[name='sfsi_twitter_display']:checked").val(),o=SFSI("input[name='sfsi_google_display']:checked").val(),a=SFSI("input[name='sfsi_share_display']:checked").val(),c=SFSI("input[name='sfsi_youtube_display']:checked").val(),r=SFSI("input[name='sfsi_pinterest_display']:checked").val(),p=SFSI("input[name='sfsi_linkedin_display']:checked").val(),_=SFSI("input[name='sfsi_instagram_display']:checked").val(),l=SFSI("input[name='sfsi_custom1_display']:checked").val(),S=SFSI("input[name='sfsi_custom2_display']:checked").val(),u=SFSI("input[name='sfsi_custom3_display']:checked").val(),f=SFSI("input[name='sfsi_custom4_display']:checked").val(),d=SFSI("input[name='sfsi_custom5_display']:checked").val(),m={action:"updateSrcn1",sfsi_rss_display:i,sfsi_email_display:e,sfsi_facebook_display:t,sfsi_twitter_display:n,sfsi_google_display:o,sfsi_share_display:a,sfsi_youtube_display:c,sfsi_pinterest_display:r,sfsi_linkedin_display:p,sfsi_instagram_display:_,sfsi_custom1_display:l,sfsi_custom2_display:S,sfsi_custom3_display:u,sfsi_custom4_display:f,sfsi_custom5_display:d};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:m,async:!0,dataType:"json",success:function(i){"success"==i?(sfsiplus_showErrorSuc("success","Saved !",1),sfsipluscollapse("#sfsi_save1"),sfsi_plus_make_popBox()):(global_error=1,sfsiplus_showErrorSuc("error","Unkown error , please try again",1),s=!1),sfsiplus_afterLoad()}})}function sfsi_plus_update_step2(){var s=sfsi_plus_validationStep2();if(!s)return global_error=1,!1;sfsiplus_beForeLoad();var i=1==SFSI("input[name='sfsi_rss_url']").prop("disabled")?"":SFSI("input[name='sfsi_rss_url']").val(),e=1==SFSI("input[name='sfsi_rss_icons']").prop("disabled")?"":SFSI("input[name='sfsi_rss_icons']:checked").val(),t=1==SFSI("input[name='sfsi_facebookPage_option']").prop("disabled")?"":SFSI("input[name='sfsi_facebookPage_option']:checked").val(),n=1==SFSI("input[name='sfsi_plus_facebookLike_option']").prop("disabled")?"":SFSI("input[name='sfsi_plus_facebookLike_option']:checked").val(),o=1==SFSI("input[name='sfsi_plus_facebookShare_option']").prop("disabled")?"":SFSI("input[name='sfsi_plus_facebookShare_option']:checked").val(),a=SFSI("input[name='sfsi_facebookPage_url']").val(),c=1==SFSI("input[name='sfsi_plus_twitter_followme']").prop("disabled")?"":SFSI("input[name='sfsi_plus_twitter_followme']:checked").val(),r=1==SFSI("input[name='sfsi_twitter_followUserName']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_followUserName']").val(),p=1==SFSI("input[name='sfsi_plus_twitter_aboutPage']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_aboutPage']:checked").val(),_=1==SFSI("input[name='sfsi_plus_twitter_page']").prop("disabled")?"":SFSI("input[name='sfsi_plus_twitter_page']:checked").val(),l=SFSI("input[name='sfsi_twitter_pageURL']").val(),S=SFSI("textarea[name='sfsi_twitter_aboutPageText']").val(),u=1==SFSI("input[name='sfsi_google_page']").prop("disabled")?"":SFSI("input[name='sfsi_google_page']:checked").val(),f=1==SFSI("input[name='sfsi_googleLike_option']").prop("disabled")?"":SFSI("input[name='sfsi_googleLike_option']:checked").val(),d=SFSI("input[name='sfsi_google_pageURL']").val(),m=1==SFSI("input[name='sfsi_plus_googleShare_option']").prop("disabled")?"":SFSI("input[name='sfsi_plus_googleShare_option']:checked").val(),I=1==SFSI("input[name='sfsi_youtube_page']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_page']:checked").val(),F=1==SFSI("input[name='sfsi_plus_youtube_pageUrl']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_pageUrl']").val(),h=1==SFSI("input[name='sfsi_youtube_follow']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_follow']:checked").val(),v=SFSI("input[name='sfsi_plus_youtubeusernameorid']:checked").val(),g=SFSI("input[name='sfsi_plus_ytube_user']").val(),k=SFSI("input[name='sfsi_plus_ytube_chnlid']").val(),y=1==SFSI("input[name='sfsi_plus_pinterest_page']").prop("disabled")?"":SFSI("input[name='sfsi_plus_pinterest_page']:checked").val(),b=1==SFSI("input[name='sfsi_plus_pinterest_pageUrl']").prop("disabled")?"":SFSI("input[name='sfsi_plus_pinterest_pageUrl']").val(),w=1==SFSI("input[name='sfsi_pinterest_pingBlog']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_pingBlog']:checked").val(),x=1==SFSI("input[name='sfsi_plus_instagram_pageUrl']").prop("disabled")?"":SFSI("input[name='sfsi_plus_instagram_pageUrl']").val(),C=1==SFSI("input[name='sfsi_linkedin_page']").prop("disabled")?"":SFSI("input[name='sfsi_linkedin_page']:checked").val(),D=1==SFSI("input[name='sfsi_linkedin_pageURL']").prop("disabled")?"":SFSI("input[name='sfsi_linkedin_pageURL']").val(),U=1==SFSI("input[name='sfsi_linkedin_follow']").prop("disabled")?"":SFSI("input[name='sfsi_linkedin_follow']:checked").val(),j=SFSI("input[name='sfsi_linkedin_followCompany']").val(),O=1==SFSI("input[name='sfsi_linkedin_SharePage']").prop("disabled")?"":SFSI("input[name='sfsi_linkedin_SharePage']:checked").val(),T=SFSI("input[name='sfsi_plus_linkedin_recommendBusines']:checked").val(),P=SFSI("input[name='sfsi_linkedin_recommendProductId']").val(),M=SFSI("input[name='sfsi_linkedin_recommendCompany']").val(),L={};SFSI("input[name='sfsi_plus_CustomIcon_links[]']").each(function(){L[SFSI(this).attr("file-id")]=this.value});var B={action:"updateSrcn2",sfsi_rss_url:i,sfsi_rss_icons:e,sfsi_facebookPage_option:t,sfsi_plus_facebookLike_option:n,sfsi_plus_facebookShare_option:o,sfsi_facebookPage_url:a,sfsi_plus_twitter_followme:c,sfsi_twitter_followUserName:r,sfsi_twitter_aboutPage:p,sfsi_twitter_page:_,sfsi_twitter_pageURL:l,sfsi_twitter_aboutPageText:S,sfsi_google_page:u,sfsi_googleLike_option:f,sfsi_google_pageURL:d,sfsi_plus_googleShare_option:m,sfsi_youtube_page:I,sfsi_youtube_pageUrl:F,sfsi_youtube_follow:h,sfsi_plus_youtubeusernameorid:v,sfsi_plus_ytube_user:g,sfsi_plus_ytube_chnlid:k,sfsi_pinterest_page:y,sfsi_pinterest_pageUrl:b,sfsi_plus_instagram_pageUrl:x,sfsi_pinterest_pingBlog:w,sfsi_linkedin_page:C,sfsi_linkedin_pageURL:D,sfsi_linkedin_follow:U,sfsi_linkedin_followCompany:j,sfsi_linkedin_SharePage:O,sfsi_plus_linkedin_recommendBusines:T,sfsi_linkedin_recommendCompany:M,sfsi_linkedin_recommendProductId:P,sfsi_plus_custom_links:L};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:B,async:!0,dataType:"json",success:function(s){"success"==s?(sfsiplus_showErrorSuc("success","Saved !",2),sfsipluscollapse("#sfsi_save2"),sfsi_plus_depened_sections()):(global_error=1,sfsiplus_showErrorSuc("error","Unkown error , please try again",2),return_value=!1),sfsiplus_afterLoad()}})}function sfsi_plus_update_step3(){var s=sfsi_plus_validationStep3();if(!s)return global_error=1,!1;sfsiplus_beForeLoad();var i=SFSI("input[name='sfsi_plus_actvite_theme']:checked").val(),e=SFSI("input[name='sfsi_mouseOver']:checked").val(),t=SFSI("input[name='sfsi_plus_shuffle_icons']:checked").val(),n=SFSI("input[name='sfsi_plus_shuffle_Firstload']:checked").val(),o=SFSI("#sfsi_mouseOver_effect option:selected").val(),a=SFSI("input[name='sfsi_plus_shuffle_interval']:checked").val(),c=SFSI("input[name='sfsi_plus_shuffle_intervalTime']").val(),r=SFSI("input[name='sfsi_plus_specialIcon_animation']:checked").val(),p=SFSI("input[name='sfsi_plus_specialIcon_MouseOver']:checked").val(),_=SFSI("input[name='sfsi_plus_specialIcon_Firstload']:checked").val(),l=SFSI("#sfsi_plus_specialIcon_Firstload_Icons option:selected").val(),S=SFSI("input[name='sfsi_plus_specialIcon_interval']:checked").val(),u=SFSI("input[name='sfsi_plus_specialIcon_intervalTime']").val(),f=SFSI("#sfsi_plus_specialIcon_intervalIcons option:selected").val(),d={action:"updateSrcn3",sfsi_plus_actvite_theme:i,sfsi_mouseOver:e,sfsi_plus_shuffle_icons:t,sfsi_plus_shuffle_Firstload:n,sfsi_mouseOver_effect:o,sfsi_plus_shuffle_interval:a,sfsi_plus_shuffle_intervalTime:c,sfsi_plus_specialIcon_animation:r,sfsi_plus_specialIcon_MouseOver:p,sfsi_plus_specialIcon_Firstload:_,sfsi_plus_specialIcon_Firstload_Icons:l,sfsi_plus_specialIcon_interval:S,sfsi_plus_specialIcon_intervalTime:u,sfsi_plus_specialIcon_intervalIcons:f};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:d,async:!0,dataType:"json",success:function(s){"success"==s?(sfsiplus_showErrorSuc("success","Saved !",3),sfsipluscollapse("#sfsi_save3")):(sfsiplus_showErrorSuc("error","Unkown error , please try again",3),return_value=!1),sfsiplus_afterLoad()}})}function sfsi_plus_show_counts(){"yes"==SFSI("input[name='sfsi_display_counts']:checked").val()?(SFSI(".count_sections").slideDown(),sfsi_plus_showPreviewCounts()):(SFSI(".count_sections").slideUp(),sfsi_plus_showPreviewCounts())}function sfsi_plus_showPreviewCounts(){var s=0;1==SFSI("input[name='sfsi_rss_countsDisplay']").prop("checked")?(SFSI("#sfsi_rss_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_rss_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_email_countsDisplay']").prop("checked")?(SFSI("#sfsi_email_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_email_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_plus_facebook_countsDisplay']").prop("checked")?(SFSI("#sfsi_plus_facebook_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_facebook_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_twitter_countsDisplay']").prop("checked")?(SFSI("#sfsi_twitter_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_twitter_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_google_countsDisplay']").prop("checked")?(SFSI("#sfsi_google_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_google_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_linkedIn_countsDisplay']").prop("checked")?(SFSI("#sfsi_linkedIn_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_linkedIn_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_plus_youtube_countsDisplay']").prop("checked")?(SFSI("#sfsi_plus_youtube_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_youtube_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_plus_pinterest_countsDisplay']").prop("checked")?(SFSI("#sfsi_pinterest_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_pinterest_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_plus_shares_countsDisplay']").prop("checked")?(SFSI("#sfsi_plus_shares_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_plus_shares_countsDisplay").css("opacity",0),1==SFSI("input[name='sfsi_plus_instagram_countsDisplay']").prop("checked")?(SFSI("#sfsi_plus_instagram_countsDisplay").css("opacity",1),s=1):SFSI("#sfsi_plus_instagram_countsDisplay").css("opacity",0),0==s||"no"==SFSI("input[name='sfsi_display_counts']:checked").val()?SFSI(".sfsi_Cdisplay").hide():SFSI(".sfsi_Cdisplay").show()}function sfsi_plus_show_OnpostsDisplay(){"yes"==SFSI("input[name='sfsi_plus_show_Onposts']:checked").val()?SFSI(".sfsiplus_PostsSettings_section").slideDown():SFSI(".sfsiplus_PostsSettings_section").slideUp()}function sfsi_plus_update_step4(){var s=!1,i=sfsi_plus_validationStep4();if(!i)return global_error=1,!1;sfsiplus_beForeLoad();var e=SFSI("input[name='sfsi_display_counts']:checked").val(),t=1==SFSI("input[name='sfsi_email_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_email_countsDisplay']:checked").val(),n=1==SFSI("input[name='sfsi_email_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_email_countsFrom']:checked").val(),o=SFSI("input[name='sfsi_plus_email_manualCounts']").val(),a=SFSI("input[name='sfsi_plus_google_api_key']").val(),c=1==SFSI("input[name='sfsi_rss_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_rss_countsDisplay']:checked").val(),r=SFSI("input[name='sfsi_plus_rss_manualCounts']").val(),p=1==SFSI("input[name='sfsi_facebook_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_facebook_countsDisplay']:checked").val(),_=1==SFSI("input[name='sfsi_facebook_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_facebook_countsFrom']:checked").val(),l=SFSI("input[name='sfsi_facebook_manualCounts']").val(),S=1==SFSI("input[name='sfsi_twitter_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_countsDisplay']:checked").val(),u=1==SFSI("input[name='sfsi_twitter_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_twitter_countsFrom']:checked").val(),f=SFSI("input[name='sfsi_twitter_manualCounts']").val(),d=SFSI("input[name='sfsiplus_tw_consumer_key']").val(),m=SFSI("input[name='sfsiplus_tw_consumer_secret']").val(),I=SFSI("input[name='sfsiplus_tw_oauth_access_token']").val(),F=SFSI("input[name='sfsiplus_tw_oauth_access_token_secret']").val(),h=1==SFSI("input[name='sfsi_google_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_google_countsDisplay']:checked").val(),v=1==SFSI("input[name='sfsi_google_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_google_countsFrom']:checked").val(),g=SFSI("input[name='sfsi_google_manualCounts']").val(),k=1==SFSI("input[name='sfsi_linkedIn_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_linkedIn_countsFrom']:checked").val(),y=SFSI("input[name='sfsi_linkedIn_manualCounts']").val(),b=SFSI("input[name='sfsi_plus_ln_company']").val(),w=SFSI("input[name='ln_api_key']").val(),x=SFSI("input[name='sfsi_plus_ln_secret_key']").val(),C=SFSI("input[name='ln_oAuth_user_token']").val(),D=1==SFSI("input[name='sfsi_linkedIn_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_linkedIn_countsDisplay']:checked").val(),k=1==SFSI("input[name='sfsi_linkedIn_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_linkedIn_countsFrom']:checked").val(),y=SFSI("input[name='sfsi_linkedIn_manualCounts']").val(),U=1==SFSI("input[name='sfsi_youtube_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_countsDisplay']:checked").val(),j=1==SFSI("input[name='sfsi_youtube_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_youtube_countsFrom']:checked").val(),O=SFSI("input[name='sfsi_youtube_manualCounts']").val(),T=SFSI("input[name='sfsi_youtube_user']").val(),P=1==SFSI("input[name='sfsi_pinterest_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_countsDisplay']:checked").val(),M=1==SFSI("input[name='sfsi_pinterest_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_pinterest_countsFrom']:checked").val(),L=SFSI("input[name='sfsi_plus_pinterest_manualCounts']").val(),B=SFSI("input[name='sfsi_plus_pinterest_user']").val(),E=SFSI("input[name='sfsi_plus_pinterest_board']").val(),z=1==SFSI("input[name='sfsi_plus_instagram_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_plus_instagram_countsDisplay']:checked").val(),A=1==SFSI("input[name='sfsi_plus_instagram_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_plus_instagram_countsFrom']:checked").val(),N=SFSI("input[name='sfsi_plus_instagram_manualCounts']").val(),H=SFSI("input[name='sfsi_plus_instagram_User']").val(),R=1==SFSI("input[name='sfsi_plus_shares_countsDisplay']").prop("disabled")?"":SFSI("input[name='sfsi_plus_shares_countsDisplay']:checked").val(),Q=1==SFSI("input[name='sfsi_plus_shares_countsFrom']").prop("disabled")?"":SFSI("input[name='sfsi_plus_shares_countsFrom']:checked").val(),W=SFSI("input[name='sfsi_plus_shares_manualCounts']").val(),q={action:"updateSrcn4",sfsi_display_counts:e,sfsi_email_countsDisplay:t,sfsi_email_countsFrom:n,sfsi_email_manualCounts:o,sfsi_rss_countsDisplay:c,sfsi_rss_manualCounts:r,sfsi_facebook_countsDisplay:p,sfsi_facebook_countsFrom:_,sfsi_facebook_manualCounts:l,sfsi_twitter_countsDisplay:S,sfsi_twitter_countsFrom:u,sfsi_twitter_manualCounts:f,sfsiplus_tw_consumer_key:d,sfsiplus_tw_consumer_secret:m,sfsiplus_tw_oauth_access_token:I,sfsiplus_tw_oauth_access_token_secret:F,sfsi_google_countsDisplay:h,sfsi_google_countsFrom:v,sfsi_google_manualCounts:g,sfsi_google_api_key:a,sfsi_linkedIn_countsDisplay:D,sfsi_linkedIn_countsFrom:k,sfsi_linkedIn_manualCounts:y,ln_company:b,ln_api_key:w,sfsi_plus_ln_secret_key:x,ln_oAuth_user_token:C,sfsi_youtube_countsDisplay:U,sfsi_youtube_countsFrom:j,sfsi_youtube_manualCounts:O,sfsi_youtube_user:T,sfsi_pinterest_countsDisplay:P,sfsi_pinterest_countsFrom:M,sfsi_plus_pinterest_manualCounts:L,sfsi_plus_pinterest_user:B,sfsi_plus_pinterest_board:E,sfsi_plus_instagram_countsDisplay:z,sfsi_plus_instagram_countsFrom:A,sfsi_plus_instagram_manualCounts:N,sfsi_plus_instagram_User:H,sfsi_plus_shares_countsDisplay:R,sfsi_plus_shares_countsFrom:Q,sfsi_plus_shares_manualCounts:W};return SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:q,dataType:"json",async:!0,success:function(s){"success"==s.res?(sfsiplus_showErrorSuc("success","Saved !",4),sfsipluscollapse("#sfsi_save4"),sfsi_plus_showPreviewCounts()):(sfsiplus_showErrorSuc("error","Unkown error , please try again",4),global_error=1),sfsiplus_afterLoad()}}),s}function sfsi_plus_update_step5(){var s=sfsi_plus_validationStep5();if(!s)return global_error=1,!1;sfsiplus_beForeLoad();var i=SFSI("input[name='sfsi_plus_icons_size']").val(),e=SFSI("input[name='sfsi_plus_icons_perRow']").val(),t=SFSI("input[name='sfsi_plus_icons_spacing']").val(),n=SFSI("#sfsi_plus_icons_Alignment").val(),o=SFSI("input[name='sfsi_plus_icons_ClickPageOpen']:checked").val(),a=SFSI("input[name='sfsi_plus_icons_float']:checked").val(),c=SFSI("input[name='sfsi_plus_disable_floaticons']:checked").val(),r=SFSI("#sfsi_plus_icons_floatPosition").val(),p=SFSI("input[name='sfsi_plus_icons_stick']:checked").val(),_=SFSI("#sfsi_plus_rssIcon_order").attr("data-index"),l=SFSI("#sfsi_plus_emailIcon_order").attr("data-index"),S=SFSI("#sfsi_plus_googleIcon_order").attr("data-index"),u=SFSI("#sfsi_plus_facebookIcon_order").attr("data-index"),f=SFSI("#sfsi_plus_twitterIcon_order").attr("data-index"),d=SFSI("#sfsi_plus_youtubeIcon_order").attr("data-index"),m=SFSI("#sfsi_plus_pinterestIcon_order").attr("data-index"),I=SFSI("#sfsi_plus_instagramIcon_order").attr("data-index"),F=SFSI("#sfsi_plus_shareIcon_order").attr("data-index"),h=SFSI("#sfsi_plus_linkedinIcon_order").attr("data-index"),v=new Array;SFSI(".sfsiplus_custom_iconOrder").each(function(){v.push({order:SFSI(this).attr("data-index"),ele:SFSI(this).attr("element-id")})});var g=1==SFSI("input[name='sfsi_plus_rss_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_rss_MouseOverText']").val(),k=1==SFSI("input[name='sfsi_plus_email_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_email_MouseOverText']").val(),y=1==SFSI("input[name='sfsi_plus_twitter_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_twitter_MouseOverText']").val(),b=1==SFSI("input[name='sfsi_plus_facebook_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_facebook_MouseOverText']").val(),w=1==SFSI("input[name='sfsi_plus_google_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_google_MouseOverText']").val(),x=1==SFSI("input[name='sfsi_plus_linkedIn_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_linkedIn_MouseOverText']").val(),C=1==SFSI("input[name='sfsi_plus_youtube_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_youtube_MouseOverText']").val(),D=1==SFSI("input[name='sfsi_plus_pinterest_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_pinterest_MouseOverText']").val(),U=1==SFSI("input[name='sfsi_plus_instagram_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_instagram_MouseOverText']").val(),j=1==SFSI("input[name='sfsi_plus_share_MouseOverText']").prop("disabled")?"":SFSI("input[name='sfsi_plus_share_MouseOverText']").val(),O={};SFSI("input[name='sfsi_plus_custom_MouseOverTexts[]']").each(function(){O[SFSI(this).attr("file-id")]=this.value});var T={action:"updateSrcn5",sfsi_plus_icons_size:i,sfsi_plus_icons_Alignment:n,sfsi_plus_icons_perRow:e,sfsi_plus_icons_spacing:t,sfsi_plus_icons_ClickPageOpen:o,sfsi_plus_icons_float:a,sfsi_plus_disable_floaticons:c,sfsi_plus_icons_floatPosition:r,sfsi_plus_icons_stick:p,sfsi_plus_rss_MouseOverText:g,sfsi_plus_email_MouseOverText:k,sfsi_plus_twitter_MouseOverText:y,sfsi_plus_facebook_MouseOverText:b,sfsi_plus_google_MouseOverText:w,sfsi_plus_youtube_MouseOverText:C,sfsi_plus_linkedIn_MouseOverText:x,sfsi_plus_pinterest_MouseOverText:D,sfsi_plus_share_MouseOverText:j,sfsi_plus_instagram_MouseOverText:U,sfsi_plus_custom_MouseOverTexts:O,sfsi_plus_rssIcon_order:_,sfsi_plus_emailIcon_order:l,sfsi_plus_facebookIcon_order:u,sfsi_plus_twitterIcon_order:f,sfsi_plus_googleIcon_order:S,sfsi_plus_youtubeIcon_order:d,sfsi_plus_pinterestIcon_order:m,sfsi_plus_shareIcon_order:F,sfsi_plus_instagramIcon_order:I,sfsi_plus_linkedinIcon_order:h,sfsi_plus_custom_orders:v};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:T,dataType:"json",async:!0,success:function(s){"success"==s?(sfsiplus_showErrorSuc("success","Saved !",5),sfsipluscollapse("#sfsi_save5")):(global_error=1,sfsiplus_showErrorSuc("error","Unkown error , please try again",5)),sfsiplus_afterLoad()}})}function sfsi_plus_update_step6(){sfsiplus_beForeLoad();var s=SFSI("input[name='sfsi_plus_show_Onposts']:checked").val(),i=SFSI("input[name='sfsi_plus_textBefor_icons']").val(),e=SFSI("#sfsi_plus_icons_alignment").val(),t=SFSI("#sfsi_plus_icons_DisplayCounts").val(),n={action:"updateSrcn6",sfsi_plus_show_Onposts:s,sfsi_plus_icons_DisplayCounts:t,sfsi_plus_icons_alignment:e,sfsi_plus_textBefor_icons:i};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:n,dataType:"json",async:!0,success:function(s){"success"==s?(sfsiplus_showErrorSuc("success","Saved !",6),sfsipluscollapse("#sfsi_save6")):(global_error=1,sfsiplus_showErrorSuc("error","Unkown error , please try again",6)),sfsiplus_afterLoad()}})}function sfsi_plus_update_step7(){var s=sfsi_plus_validationStep7();if(!s)return global_error=1,!1;sfsiplus_beForeLoad();var i=SFSI("input[name='sfsi_plus_popup_text']").val(),e=SFSI("#sfsi_plus_popup_font option:selected").val(),t=(SFSI("#sfsi_plus_popup_fontStyle option:selected").val(),SFSI("input[name='sfsi_plus_popup_fontColor']").val()),n=SFSI("input[name='sfsi_plus_popup_fontSize']").val(),o=SFSI("input[name='sfsi_plus_popup_background_color']").val(),a=SFSI("input[name='sfsi_plus_popup_border_color']").val(),c=SFSI("input[name='sfsi_plus_popup_border_thickness']").val(),r=SFSI("input[name='sfsi_plus_popup_border_shadow']:checked").val(),p=SFSI("input[name='sfsi_plus_Show_popupOn']:checked").val(),_=[];SFSI("#sfsi_plus_Show_popupOn_PageIDs :selected").each(function(s,i){_[s]=SFSI(i).val()});var l=SFSI("input[name='sfsi_plus_Shown_pop']:checked").val(),S=SFSI("input[name='sfsi_plus_Shown_popupOnceTime']").val(),u=SFSI("#sfsi_plus_Shown_popuplimitPerUserTime").val(),f={action:"updateSrcn7",sfsi_plus_popup_text:i,sfsi_plus_popup_font:e,sfsi_plus_popup_fontColor:t,sfsi_plus_popup_fontSize:n,sfsi_plus_popup_background_color:o,sfsi_plus_popup_border_color:a,sfsi_plus_popup_border_thickness:c,sfsi_plus_popup_border_shadow:r,sfsi_plus_Show_popupOn:p,sfsi_plus_Show_popupOn_PageIDs:_,sfsi_plus_Shown_pop:l,sfsi_plus_Shown_popupOnceTime:S,sfsi_plus_Shown_popuplimitPerUserTime:u};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:f,dataType:"json",async:!0,success:function(s){"success"==s?(sfsiplus_showErrorSuc("success","Saved !",7),sfsipluscollapse("#sfsi_save7")):sfsiplus_showErrorSuc("error","Unkown error , please try again",7),sfsiplus_afterLoad()}})}function sfsiplus_afterIconSuccess(s){if(s.res="success"){var i=s.key+1,e=s.element,t=e+1;SFSI("#total_cusotm_icons").val(s.element),SFSI(".upload-overlay").hide("slow"),SFSI(".uperror").html(""),sfsiplus_showErrorSuc("success","Custom Icon updated successfully",1),d=new Date,SFSI("input[name=sfsiICON_"+s.key+"]").removeAttr("ele-type"),SFSI("input[name=sfsiICON_"+s.key+"]").removeAttr("isnew"),SFSI("li.custom:last").removeClass("bdr_btm_non"),SFSI("li.custom:last").children("span.custom-img").children("img").attr("src",s.img_path+"?"+d.getTime()),icons_name=SFSI("li.custom:last").find("input.styled").attr("name");var n=icons_name.split("_");s.key=n[1],s.img_path+="?"+d.getTime(),5>e&&SFSI(".icn_listing").append('<li id="c'+i+'" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="sfsiICON_'+i+'" type="checkbox" value="yes" class="styled" style="display:none;" element-type="cusotm-icon" isNew="yes" /></div> <span class="custom-img"><img src="'+SFSI("#plugin_url").val()+'images/custom.png" id="CImg_'+i+'" /> </span> <span class="custom sfsiplus_custom-txt">Custom'+t+' </span> <div class="sfsiplus_right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>'),SFSI(".sfsiplus_custom_section").show(),SFSI(".custom-links").append(' <div class="row sfsiICON_'+s.key+' cm_lnk"> <h2 class="custom"> <span class="customstep2-img"> <img src="'+s.img_path+"?"+d.getTime()+'" style="border-radius:48%" /> </span> <span class="sfsiCtxt">Custom '+e+'</span> </h2> <div class="inr_cont "><p>Where do you want this icon to link to?</p> <p class="radio_section fb_url sfsiplus_custom_section sfsiICON_'+s.key+'" ><label>Link :</label><input file-id="'+s.key+'" name="sfsi_plus_CustomIcon_links[]" type="text" value="" placeholder="http://" class="add" /></p></div></div>');var o=SFSI("div.custom_m").find("div.mouseover_field").length;SFSI("div.custom_m").append(0==o%2?'<div class="clear"> </div> <div class="mouseover_field sfsiplus_custom_section sfsiICON_'+s.key+'"><label>Custom '+e+':</label><input name="sfsi_plus_custom_MouseOverTexts[]" value="" type="text" file-id="'+s.key+'" /></div>':'<div class="cHover " ><div class="mouseover_field sfsiplus_custom_section sfsiICON_'+s.key+'"><label>Custom '+e+':</label><input name="sfsi_plus_custom_MouseOverTexts[]" value="" type="text" file-id="'+s.key+'" /></div>'),SFSI("ul.share_icon_order").append('<li class="sfsiplus_custom_iconOrder sfsiICON_'+s.key+'" data-index="" element-id="'+s.key+'" id=""><a href="#" title="Custom Icon" ><img src="'+s.img_path+'" alt="Linked In" class="sfcm"/></a></li>'),SFSI("ul.sfsi_sample_icons").append('<li class="sfsiICON_'+s.key+'" element-id="'+s.key+'" ><div><img src="'+s.img_path+'" alt="Linked In" class="sfcm"/><span class="sfsi_Cdisplay">12k</span></div></li>'),sfsi_plus_update_index(),plus_update_Sec5Iconorder(),sfsi_plus_update_step1(),sfsi_plus_update_step2(),sfsi_plus_update_step5(),SFSI(".upload-overlay").css("pointer-events","auto"),sfsi_plus_showPreviewCounts(),sfsiplus_afterLoad()
|
2 |
+
}}function sfsiplus_beforeIconSubmit(s){if(SFSI(".uperror").html("Uploading....."),window.File&&window.FileReader&&window.FileList&&window.Blob){SFSI(s).val()||SFSI(".uperror").html("File is empty");var i=s.files[0].size,e=s.files[0].type;switch(e){case"image/png":case"image/gif":case"image/jpeg":case"image/pjpeg":break;default:return SFSI(".uperror").html("Unsupported file"),!1}return i>1048576?(SFSI(".uperror").html("Image should be less than 1 MB"),!1):!0}return!0}function sfsiplus_bytesToSize(s){var i=["Bytes","KB","MB","GB","TB"];if(0==s)return"0 Bytes";var e=parseInt(Math.floor(Math.log(s)/Math.log(1024)));return Math.round(s/Math.pow(1024,e),2)+" "+i[e]}function sfsiplus_showErrorSuc(s,i,e){if("error"==s)var t="errorMsg";else var t="sucMsg";return SFSI(".tab"+e+">."+t).html(i),SFSI(".tab"+e+">."+t).show(),SFSI(".tab"+e+">."+t).effect("highlight",{},5e3),setTimeout(function(){SFSI("."+t).slideUp("slow")},5e3),!1}function sfsiplus_beForeLoad(){SFSI(".loader-img").show(),SFSI(".save_button >a").html("Saving..."),SFSI(".save_button >a").css("pointer-events","none")}function sfsiplus_afterLoad(){SFSI("input").removeClass("inputError"),SFSI(".save_button >a").html("Save"),SFSI(".tab8>div.save_button >a").html("Save All Settings"),SFSI(".save_button >a").css("pointer-events","auto"),SFSI(".save_button >a").removeAttr("onclick"),SFSI(".loader-img").hide()}function sfsi_plus_make_popBox(){var s=0;SFSI(".sfsi_sample_icons >li").each(function(){"none"!=SFSI(this).css("display")&&(s=1)}),0==s?SFSI(".sfsi_plus_Popinner").hide():SFSI(".sfsi_plus_Popinner").show(),""!=SFSI('input[name="sfsi_plus_popup_text"]').val()?(SFSI(".sfsi_plus_Popinner >h2").html(SFSI('input[name="sfsi_plus_popup_text"]').val()),SFSI(".sfsi_plus_Popinner >h2").show()):SFSI(".sfsi_plus_Popinner >h2").hide(),SFSI(".sfsi_plus_Popinner").css({"border-color":SFSI('input[name="sfsi_plus_popup_border_color"]').val(),"border-width":SFSI('input[name="sfsi_plus_popup_border_thickness"]').val(),"border-style":"solid"}),SFSI(".sfsi_plus_Popinner").css("background-color",SFSI('input[name="sfsi_plus_popup_background_color"]').val()),SFSI(".sfsi_plus_Popinner h2").css("font-family",SFSI("#sfsi_plus_popup_font").val()),SFSI(".sfsi_plus_Popinner h2").css("font-style",SFSI("#sfsi_plus_popup_fontStyle").val()),SFSI(".sfsi_plus_Popinner >h2").css("font-size",parseInt(SFSI('input[name="sfsi_plus_popup_fontSize"]').val())),SFSI(".sfsi_plus_Popinner >h2").css("color",SFSI('input[name="sfsi_plus_popup_fontColor"]').val()+" !important"),"yes"==SFSI('input[name="sfsi_plus_popup_border_shadow"]:checked').val()?SFSI(".sfsi_plus_Popinner").css("box-shadow","12px 30px 18px #CCCCCC"):SFSI(".sfsi_plus_Popinner").css("box-shadow","none")}function sfsi_plus_stick_widget(s){0==sfsiplus_initTop.length&&(SFSI(".sfsi_plus_widget").each(function(s){sfsiplus_initTop[s]=SFSI(this).position().top}),console.log(sfsiplus_initTop));var i=SFSI(window).scrollTop(),e=[],t=[];SFSI(".sfsi_plus_widget").each(function(s){e[s]=SFSI(this).position().top,t[s]=SFSI(this)});var n=!1;for(var o in e){var a=parseInt(o)+1;e[o]<i&&e[a]>i&&a<e.length?(SFSI(t[o]).css({position:"fixed",top:s}),SFSI(t[a]).css({position:"",top:sfsiplus_initTop[a]}),n=!0):SFSI(t[o]).css({position:"",top:sfsiplus_initTop[o]})}if(!n){var c=e.length-1,r=-1;e.length>1&&(r=e.length-2),sfsiplus_initTop[c]<i?(SFSI(t[c]).css({position:"fixed",top:s}),r>=0&&SFSI(t[r]).css({position:"",top:sfsiplus_initTop[r]})):(SFSI(t[c]).css({position:"",top:sfsiplus_initTop[c]}),r>=0&&e[r]<i)}}function sfsi_plus_float_widget(s){function i(){c="Microsoft Internet Explorer"===navigator.appName?a-document.documentElement.scrollTop:a-window.pageYOffset,Math.abs(c)>0?(window.removeEventListener("scroll",i),a-=c*o,SFSI("#sfsi_plus_floater").css({top:(a+t).toString()+"px"}),setTimeout(i,n)):window.addEventListener("scroll",i,!1)}function e(){var s=SFSI("#sfsi_plus_floater").attr("data-top"),e=parseInt(SFSI("#sfsi_plus_floater").height()),t=parseInt(SFSI("#sfsi_plus_floater").css("top"));parseInt(e)+parseInt(t)<=s?window.addEventListener("scroll",i,!1):(window.removeEventListener("scroll",i),SFSI("#sfsi_plus_floater").css("top",s+"px"))}if("center"==s)var t=window.innerHeight/2;else if("bottom"==s)var t=window.innerHeight-SFSI("#sfsi_plus_floater").height();else var t=parseInt(s);var n=50,o=.1,a=0,c=0;SFSI("#sfsi_plus_floater"),window.onscroll=e}function sfsi_plus_shuffle(){var s=[];SFSI(".sfsi_plus_wicons ").each(function(i){SFSI(this).text().match(/^\s*$/)||(s[i]="<div class='"+SFSI(this).attr("class")+"'>"+SFSI(this).html()+"</div>",SFSI(this).fadeOut("slow"),SFSI(this).insertBefore(SFSI(this).prev(".sfsi_plus_wicons")),SFSI(this).fadeIn("slow"))}),s=sfsiplus_Shuffle(s),$("#sfsi_plus_wDiv").html("");for(var i=0;i<testArray.length;i++)$("#sfsi_plus_wDiv").append(s[i])}function sfsiplus_Shuffle(s){for(var i,e,t=s.length;t;i=parseInt(Math.random()*t),e=s[--t],s[t]=s[i],s[i]=e);return s}function sfsi_plus_setCookie(s,i,e){var t=new Date;t.setTime(t.getTime()+864e5*e);var n="expires="+t.toGMTString();document.cookie=s+"="+i+"; "+n}function sfsfi_plus_getCookie(s){for(var i=s+"=",e=document.cookie.split(";"),t=0;t<e.length;t++){var n=e[t].trim();if(0==n.indexOf(i))return n.substring(i.length,n.length)}return""}function sfsi_plus_hideFooter(){}function showhideutube(s){var i=SFSI(s).children("input").val();"name"==i?(SFSI(s).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlnmewpr").slideDown(),SFSI(s).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlidwpr").slideUp()):(SFSI(s).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlidwpr").slideDown(),SFSI(s).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlnmewpr").slideUp())}function sfsiplushidemepopup(){SFSI(".sfsi_plus_FrntInner").fadeOut()}jQuery(document).ready(function(){jQuery("#sfsi_plus_floater").attr("data-top",jQuery(document).height())}),window.onerror=function(){},SFSI=jQuery.noConflict(),SFSI(window).load(function(){SFSI("#sfpluspageLoad").fadeOut(2e3)});var global_error=0;SFSI(document).ready(function(s){function i(){SFSI(".uperror").html(""),sfsiplus_afterLoad();var s=SFSI('input[name="'+SFSI("#upload_id").val()+'"]');s.removeAttr("checked");var i=SFSI(s).parent().find("span:first");return SFSI(i).css("background-position","0px 0px"),SFSI(".upload-overlay").hide("slow"),!1}SFSI(".sfsiplus_tab_3_icns").on("click",".cstomskins_upload",function(){SFSI(".cstmskins-overlay").show("slow",function(){e=0})}),SFSI("#custmskin_clspop").live("click",function(){SFSI_plus_done(),SFSI(".cstmskins-overlay").hide("slow")}),SFSI("head").append('<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />'),SFSI("head").append('<meta http-equiv="Pragma" content="no-cache" />'),SFSI("head").append('<meta http-equiv="Expires" content="0" />'),SFSI("#accordion").accordion({collapsible:!0,active:!1,heightStyle:"content",event:"click",beforeActivate:function(s,i){if(i.newHeader[0])var e=i.newHeader,t=e.next(".ui-accordion-content");else var e=i.oldHeader,t=e.next(".ui-accordion-content");var n="true"==e.attr("aria-selected");return e.toggleClass("ui-corner-all",n).toggleClass("accordion-header-active ui-state-active ui-corner-top",!n).attr("aria-selected",(!n).toString()),e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e",n).toggleClass("ui-icon-triangle-1-s",!n),t.toggleClass("accordion-content-active",!n),n?t.slideUp():t.slideDown(),!1}}),SFSI("#accordion1").accordion({collapsible:!0,active:!1,heightStyle:"content",event:"click",beforeActivate:function(s,i){if(i.newHeader[0])var e=i.newHeader,t=e.next(".ui-accordion-content");else var e=i.oldHeader,t=e.next(".ui-accordion-content");var n="true"==e.attr("aria-selected");return e.toggleClass("ui-corner-all",n).toggleClass("accordion-header-active ui-state-active ui-corner-top",!n).attr("aria-selected",(!n).toString()),e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e",n).toggleClass("ui-icon-triangle-1-s",!n),t.toggleClass("accordion-content-active",!n),n?t.slideUp():t.slideDown(),!1}}),SFSI(".closeSec").on("click",function(){var s=!0,i=SFSI(this).closest("div.ui-accordion-content").prev("h3.ui-accordion-header").first(),e=SFSI(this).closest("div.ui-accordion-content").first();i.toggleClass("ui-corner-all",s).toggleClass("accordion-header-active ui-state-active ui-corner-top",!s).attr("aria-selected",(!s).toString()),i.children(".ui-icon").toggleClass("ui-icon-triangle-1-e",s).toggleClass("ui-icon-triangle-1-s",!s),e.toggleClass("accordion-content-active",!s),s?e.slideUp():e.slideDown()}),SFSI(document).click(function(s){var i=SFSI(".sfsi_plus_FrntInner"),e=SFSI(".sfsi_plus_wDiv"),t=SFSI("#at15s");i.is(s.target)||0!==i.has(s.target).length||e.is(s.target)||0!==e.has(s.target).length||t.is(s.target)||0!==t.has(s.target).length||i.fadeOut()}),SFSI(".sfsi_plus_outr_div").find(".addthis_button").mousemove(function(){var s=SFSI(".sfsi_plus_outr_div").find(".addthis_button").offset().top+10;SFSI("#at15s").css({top:s+"px",left:SFSI(".sfsi_plus_outr_div").find(".addthis_button").offset().left+"px"})}),SFSI("#sfsifontCloroPicker").ColorPicker({color:"#f80000",onBeforeShow:function(){s(this).ColorPickerSetColor(SFSI("#sfsi_plus_popup_fontColor").val())},onShow:function(s){return SFSI(s).fadeIn(500),!1},onHide:function(s){return SFSI(s).fadeOut(500),sfsi_plus_make_popBox(),!1},onChange:function(s,i){SFSI("#sfsi_plus_popup_fontColor").val("#"+i),SFSI("#sfsifontCloroPicker").css("background","#"+i),sfsi_plus_make_popBox()},onClick:function(s,i){SFSI("#sfsi_plus_popup_fontColor").val("#"+i),SFSI("#sfsifontCloroPicker").css("background","#"+i),sfsi_plus_make_popBox()}}),SFSI("div#sfsiplusid_linkedin").find(".icon4").find("a").find("img").mouseover(function(){SFSI(this).attr("src",ajax_object.plugin_url+"images/visit_icons/linkedIn_hover.svg")}),SFSI("div#sfsiplusid_linkedin").find(".icon4").find("a").find("img").mouseleave(function(){SFSI(this).attr("src",ajax_object.plugin_url+"images/visit_icons/linkedIn.svg")}),SFSI("div#sfsiplusid_youtube").find(".icon1").find("a").find("img").mouseover(function(){SFSI(this).attr("src",ajax_object.plugin_url+"images/visit_icons/youtube_hover.svg")}),SFSI("div#sfsiplusid_youtube").find(".icon1").find("a").find("img").mouseleave(function(){SFSI(this).attr("src",ajax_object.plugin_url+"images/visit_icons/youtube.svg")}),SFSI("div#sfsiplusid_facebook").find(".icon1").find("a").find("img").mouseover(function(){SFSI(this).css("opacity","0.9")}),SFSI("div#sfsiplusid_facebook").find(".icon1").find("a").find("img").mouseleave(function(){SFSI(this).css("opacity","1")}),SFSI("div#sfsiplusid_twitter").find(".cstmicon1").find("a").find("img").mouseover(function(){SFSI(this).css("opacity","0.9")}),SFSI("div#sfsiplusid_twitter").find(".cstmicon1").find("a").find("img").mouseleave(function(){SFSI(this).css("opacity","1")}),SFSI("#sfsiBackgroundColorPicker").ColorPicker({color:"#f80000",onBeforeShow:function(){s(this).ColorPickerSetColor(SFSI("#sfsi_plus_popup_background_color").val())},onShow:function(s){return SFSI(s).fadeIn(500),!1},onHide:function(s){return SFSI(s).fadeOut(500),!1},onChange:function(s,i){SFSI("#sfsi_plus_popup_background_color").val("#"+i),SFSI("#sfsiBackgroundColorPicker").css("background","#"+i),sfsi_plus_make_popBox()},onClick:function(s,i){SFSI("#sfsi_plus_popup_background_color").val("#"+i),SFSI("#sfsiBackgroundColorPicker").css("background","#"+i),sfsi_plus_make_popBox()}}),SFSI("#sfsiBorderColorPicker").ColorPicker({color:"#f80000",onBeforeShow:function(){s(this).ColorPickerSetColor(SFSI("#sfsi_plus_popup_border_color").val())},onShow:function(s){return SFSI(s).fadeIn(500),!1},onHide:function(s){return SFSI(s).fadeOut(500),!1},onChange:function(s,i){SFSI("#sfsi_plus_popup_border_color").val("#"+i),SFSI("#sfsiBorderColorPicker").css("background","#"+i),sfsi_plus_make_popBox()},onClick:function(s,i){SFSI("#sfsi_plus_popup_border_color").val("#"+i),SFSI("#sfsiBorderColorPicker").css("background","#"+i),sfsi_plus_make_popBox()}}),SFSI("#sfsi_save1").on("click",function(){sfsi_plus_update_step1()&&sfsipluscollapse(this)}),SFSI("#sfsi_save2").on("click",function(){sfsi_plus_update_step2()&&sfsipluscollapse(this)}),SFSI("#sfsi_save3").on("click",function(){sfsi_plus_update_step3()&&sfsipluscollapse(this)}),SFSI("#sfsi_save4").on("click",function(){sfsi_plus_update_step4()&&sfsipluscollapse(this)}),SFSI("#sfsi_save5").on("click",function(){sfsi_plus_update_step5()&&sfsipluscollapse(this)}),SFSI("#sfsi_save6").on("click",function(){sfsi_plus_update_step6()&&sfsipluscollapse(this)}),SFSI("#sfsi_save7").on("click",function(){sfsi_plus_update_step7()&&sfsipluscollapse(this)}),SFSI("#save_all_settings").on("click",function(){return SFSI("#save_all_settings").text("Saving.."),SFSI(".save_button >a").css("pointer-events","none"),sfsi_plus_update_step1(),1==global_error?(sfsiplus_showErrorSuc("error",'Some Selection error in "Which icons do you want to show on your site?" tab.',8),global_error=0,!1):(sfsi_plus_update_step2(),1==global_error?(sfsiplus_showErrorSuc("error",'Some Selection error in "What do you want the icons to do?" tab.',8),global_error=0,!1):(sfsi_plus_update_step3(),1==global_error?(sfsiplus_showErrorSuc("error",'Some Selection error in "What design & animation do you want to give your icons?" tab.',8),global_error=0,!1):(sfsi_plus_update_step4(),1==global_error?(sfsiplus_showErrorSuc("error",'Some Selection error in "Do you want to display "counts" next to your icons?" tab.',8),global_error=0,!1):(sfsi_plus_update_step5(),1==global_error?(sfsiplus_showErrorSuc("error",'Some Selection error in "Any other wishes for your main icons?" tab.',8),global_error=0,!1):(sfsi_plus_update_step6(),1==global_error?(sfsiplus_showErrorSuc("error",'Some Selection error in "Do you want to display icons at the end of every post?" tab.',8),global_error=0,!1):(sfsi_plus_update_step7(),1==global_error?(sfsiplus_showErrorSuc("error",'Some Selection error in "Do you want to display a pop-up, asking people to subscribe?" tab.',8),global_error=0,!1):void(0==global_error&&sfsiplus_showErrorSuc("success",'Saved! Now go to the <a href="widgets.php">widget</a> area and place the widget into your sidebar (if not done already)',8))))))))}),SFSI(".fileUPInput").live("change",function(){sfsiplus_beForeLoad(),sfsiplus_beforeIconSubmit(this)&&(SFSI(".upload-overlay").css("pointer-events","none"),SFSI("#customIconFrm").ajaxForm({dataType:"json",success:sfsiplus_afterIconSuccess,resetForm:!0}).submit())}),SFSI(".pop-up").on("click",function(){("fbex-s2"==SFSI(this).attr("data-id")||"googlex-s2"==SFSI(this).attr("data-id")||"linkex-s2"==SFSI(this).attr("data-id"))&&(SFSI("."+SFSI(this).attr("data-id")).hide(),SFSI("."+SFSI(this).attr("data-id")).css("opacity","1"),SFSI("."+SFSI(this).attr("data-id")).css("z-index","1000")),SFSI("."+SFSI(this).attr("data-id")).show("slow")}),SFSI("#close_popup").live("click",function(){SFSI(".read-overlay").hide("slow")});var e=0;SFSI(".icn_listing").on("click",".checkbox",function(){if(1==e)return!1;"yes"==SFSI(this).attr("dynamic_ele")&&(s=SFSI(this).parent().find("input:checkbox:first"),s.is(":checked")?SFSI(s).attr("checked",!1):SFSI(s).attr("checked",!0)),s=SFSI(this).parent().find("input:checkbox:first"),"yes"==SFSI(s).attr("isNew")&&("0px 0px"==SFSI(this).css("background-position")?(SFSI(s).attr("checked",!0),SFSI(this).css("background-position","0px -36px")):(SFSI(s).removeAttr("checked",!0),SFSI(this).css("background-position","0px 0px")));var s=SFSI(this).parent().find("input:checkbox:first");if(s.is(":checked")&&"cusotm-icon"==s.attr("element-type"))SFSI(".fileUPInput").attr("name","custom_icons[]"),SFSI(".upload-overlay").show("slow",function(){e=0}),SFSI("#upload_id").val(s.attr("name"));else if(!s.is(":checked")&&"cusotm-icon"==s.attr("element-type"))return s.attr("ele-type")?(SFSI(this).attr("checked",!0),SFSI(this).css("background-position","0px -36px"),e=0,!1):confirm("Are you sure want to delete this Icon..?? ")?"suc"==sfsi_plus_delete_CusIcon(this,s)?(s.attr("checked",!1),SFSI(this).css("background-position","0px 0px"),e=0,!1):(e=0,!1):(s.attr("checked",!0),SFSI(this).css("background-position","0px -36px"),e=0,!1)}),SFSI(".icn_listing").on("click",".checkbox",function(){checked=SFSI(this).parent().find("input:checkbox:first"),"sfsi_email_display"!=checked.attr("name")||checked.is(":checked")||SFSI(".demail-1").show("slow")}),SFSI("#deac_email2").on("click",function(){SFSI(".demail-1").hide("slow"),SFSI(".demail-2").show("slow")}),SFSI("#deac_email3").on("click",function(){SFSI(".demail-2").hide("slow"),SFSI(".demail-3").show("slow")}),SFSI(".hideemailpop").on("click",function(){SFSI('input[name="sfsi_email_display"]').attr("checked",!0),SFSI('input[name="sfsi_email_display"]').parent().find("span:first").css("background-position","0px -36px"),SFSI(".demail-1").hide("slow"),SFSI(".demail-2").hide("slow"),SFSI(".demail-3").hide("slow")}),SFSI(".hidePop").on("click",function(){SFSI(".demail-1").hide("slow"),SFSI(".demail-2").hide("slow"),SFSI(".demail-3").hide("slow")}),SFSI(".activate_footer").on("click",function(){SFSI(this).text("activating....");var s={action:"activateFooter"};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:s,dataType:"json",success:function(s){"success"==s.res&&(SFSI(".demail-1").hide("slow"),SFSI(".demail-2").hide("slow"),SFSI(".demail-3").hide("slow"),SFSI(".activate_footer").text("Ok, activate link"))}})}),SFSI(".sfsiplus_removeFooter").on("click",function(){SFSI(this).text("working....");var s={action:"removeFooter"};SFSI.ajax({url:ajax_object.ajax_url,type:"post",data:s,dataType:"json",success:function(s){"success"==s.res&&(SFSI(".sfsiplus_removeFooter").fadeOut("slow"),SFSI(".sfsiplus_footerLnk").fadeOut("slow"))}})}),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_display_counts"==s.attr("name")&&sfsi_plus_show_counts()}),SFSI("#close_Uploadpopup").on("click",i),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_plus_show_Onposts"==s.attr("name")&&sfsi_plus_show_OnpostsDisplay()}),sfsi_plus_show_OnpostsDisplay(),sfsi_plus_depened_sections(),sfsi_plus_show_counts(),sfsi_plus_showPreviewCounts(),SFSI(".share_icon_order").sortable({update:function(){SFSI(".share_icon_order li").each(function(){SFSI(this).attr("data-index",SFSI(this).index()+1)})},revert:!0}),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_email_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_email_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_email_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_email_countsFrom']:checked").val()?SFSI("input[name='sfsi_email_manualCounts']").slideDown():SFSI("input[name='sfsi_email_manualCounts']").slideUp()),"sfsi_facebook_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_facebook_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_facebook_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_facebook_countsFrom']:checked").val()?SFSI("input[name='sfsi_facebook_manualCounts']").slideDown():SFSI("input[name='sfsi_facebook_manualCounts']").slideUp()),"sfsi_twitter_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_twitter_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_twitter_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_twitter_countsFrom']:checked").val()?(SFSI("input[name='sfsi_twitter_manualCounts']").slideDown(),SFSI(".tw_follow_options").slideUp()):(SFSI("input[name='sfsi_twitter_manualCounts']").slideUp(),SFSI(".tw_follow_options").slideDown())),"sfsi_google_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_google_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_google_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_google_countsFrom']:checked").val()&&(SFSI("input[name='sfsi_google_manualCounts']").slideDown(),SFSI(".google_option").slideUp()),"likes"==SFSI("input[name='sfsi_google_countsFrom']:checked").val()&&(SFSI("input[name='sfsi_google_manualCounts']").slideUp(),SFSI(".google_option").slideUp()),"follower"==SFSI("input[name='sfsi_google_countsFrom']:checked").val()&&(SFSI(".google_option").slideDown(),SFSI("input[name='sfsi_google_manualCounts']").slideUp())),"sfsi_linkedIn_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_linkedIn_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_linkedIn_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_linkedIn_countsFrom']:checked").val()?(SFSI("input[name='sfsi_linkedIn_manualCounts']").slideDown(),SFSI(".linkedIn_options").slideUp()):(SFSI("input[name='sfsi_linkedIn_manualCounts']").slideUp(),SFSI(".linkedIn_options").slideDown())),"sfsi_youtube_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_youtube_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_youtube_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_youtube_countsFrom']:checked").val()?(SFSI("input[name='sfsi_youtube_manualCounts']").slideDown(),SFSI(".youtube_options").slideUp()):(SFSI("input[name='sfsi_youtube_manualCounts']").slideUp(),SFSI(".youtube_options").slideDown())),"sfsi_pinterest_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_pinterest_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_pinterest_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_pinterest_countsFrom']:checked").val()?(SFSI("input[name='sfsi_plus_pinterest_manualCounts']").slideDown(),SFSI(".pin_options").slideUp()):SFSI("input[name='sfsi_plus_pinterest_manualCounts']").slideUp()),"sfsi_plus_instagram_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_plus_instagram_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_plus_instagram_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_plus_instagram_countsFrom']:checked").val()?(SFSI("input[name='sfsi_plus_instagram_manualCounts']").slideDown(),SFSI(".instagram_userLi").slideUp()):(SFSI("input[name='sfsi_plus_instagram_manualCounts']").slideUp(),SFSI(".instagram_userLi").slideDown())),"sfsi_plus_shares_countsFrom"==s.attr("name")&&(SFSI('input[name="sfsi_plus_shares_countsDisplay"]').prop("checked",!0),SFSI('input[name="sfsi_plus_shares_countsDisplay"]').parent().find("span.checkbox").attr("style","background-position:0px -36px;"),"manual"==SFSI("input[name='sfsi_plus_shares_countsFrom']:checked").val()?SFSI("input[name='sfsi_plus_shares_manualCounts']").slideDown():SFSI("input[name='sfsi_plus_shares_manualCounts']").slideUp())}),sfsi_plus_make_popBox(),SFSI('input[name="sfsi_plus_popup_text"] ,input[name="sfsi_plus_popup_background_color"],input[name="sfsi_plus_popup_border_color"],input[name="sfsi_plus_popup_border_thickness"],input[name="sfsi_plus_popup_fontSize"],input[name="sfsi_plus_popup_fontColor"]').on("keyup",sfsi_plus_make_popBox),SFSI('input[name="sfsi_plus_popup_text"] ,input[name="sfsi_plus_popup_background_color"],input[name="sfsi_plus_popup_border_color"],input[name="sfsi_plus_popup_border_thickness"],input[name="sfsi_plus_popup_fontSize"],input[name="sfsi_plus_popup_fontColor"]').on("focus",sfsi_plus_make_popBox),SFSI("#sfsi_plus_popup_font ,#sfsi_plus_popup_fontStyle").on("change",sfsi_plus_make_popBox),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_plus_popup_border_shadow"==s.attr("name")&&sfsi_plus_make_popBox()}),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?SFSI("img.sfsi_wicon").on("click",function(s){s.stopPropagation();var i=SFSI("#sfsi_plus_floater_sec").val();SFSI("div.sfsi_plus_wicons").css("z-index","0"),SFSI(this).parent().parent().parent().siblings("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide(),SFSI(this).parent().parent().parent().parent().siblings("li").length>0&&(SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_tool_tip_2").css("z-index","0"),SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide()),SFSI(this).parent().parent().parent().css("z-index","1000000"),SFSI(this).parent().parent().css({"z-index":"999"}),SFSI(this).attr("effect")&&"fade_in"==SFSI(this).attr("effect")&&(SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("effect")&&"scale"==SFSI(this).attr("effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("effect")&&"combo"==SFSI(this).attr("effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parent().css("opacity","1"),SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({opacity:1,"z-index":10})),("top-left"==i||"top-right"==i)&&SFSI(this).parent().parent().parent().parent("#sfsi_plus_floater").length>0&&"sfsi_plus_floater"==SFSI(this).parent().parent().parent().parent().attr("id")?(SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").addClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show()):(SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").removeClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({opacity:1,"z-index":1e3}),SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show())}):SFSI("img.sfsi_wicon").on("mouseenter",function(){var s=SFSI("#sfsi_plus_floater_sec").val();SFSI("div.sfsi_plus_wicons").css("z-index","0"),SFSI(this).parent().parent().parent().siblings("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide(),SFSI(this).parent().parent().parent().parent().siblings("li").length>0&&(SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_tool_tip_2").css("z-index","0"),SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide()),SFSI(this).parent().parent().parent().css("z-index","1000000"),SFSI(this).parent().parent().css({"z-index":"999"}),SFSI(this).attr("effect")&&"fade_in"==SFSI(this).attr("effect")&&(SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("effect")&&"scale"==SFSI(this).attr("effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("effect")&&"combo"==SFSI(this).attr("effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parent().css("opacity","1"),SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({opacity:1,"z-index":10})),("top-left"==s||"top-right"==s)&&SFSI(this).parent().parent().parent().parent("#sfsi_plus_floater").length>0&&"sfsi_plus_floater"==SFSI(this).parent().parent().parent().parent().attr("id")?(SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").addClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show()):(SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").removeClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show())}),SFSI("div.sfsi_plus_wicons").on("mouseleave",function(){SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect")&&"fade_in"==SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect")&&SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity","0.6"),SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect")&&"scale"==SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect")&&SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale"),SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect")&&"combo"==SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect")&&(SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity","0.6"),SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale")),"google"==SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").attr("id")?SFSI("body").on("click",function(){SFSI(this).children(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide()}):(SFSI(this).css({"z-index":"0"}),SFSI(this).children(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide())}),SFSI("body").on("click",function(){SFSI(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide()}),SFSI(".adminTooltip >a").on("hover",function(){SFSI(this).offset().top,SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").css("opacity","1"),SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").show()}),SFSI(".adminTooltip").on("mouseleave",function(){"none"!=SFSI(".sfsi_plus_gpls_tool_bdr").css("display")&&0!=SFSI(".sfsi_plus_gpls_tool_bdr").css("opacity")?SFSI(".pop_up_box ").on("click",function(){SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").css("opacity","0"),SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").hide()}):(SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").css("opacity","0"),SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").hide())}),SFSI(".expand-area").on("click",function(){"Read more"==SFSI(this).text()?(SFSI(this).siblings("p").children("label").fadeIn("slow"),SFSI(this).text("Collapse")):(SFSI(this).siblings("p").children("label").fadeOut("slow"),SFSI(this).text("Read more"))}),SFSI(".radio").live("click",function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_plus_icons_float"==s.attr("name")&&"yes"==s.val()&&(SFSI(".float_options").slideDown("slow"),SFSI('input[name="sfsi_plus_icons_stick"][value="no"]').attr("checked",!0),SFSI('input[name="sfsi_plus_icons_stick"][value="yes"]').removeAttr("checked"),SFSI('input[name="sfsi_plus_icons_stick"][value="no"]').parent().find("span").attr("style","background-position:0px -41px;"),SFSI('input[name="sfsi_plus_icons_stick"][value="yes"]').parent().find("span").attr("style","background-position:0px -0px;")),("sfsi_plus_icons_stick"==s.attr("name")&&"yes"==s.val()||"sfsi_plus_icons_float"==s.attr("name")&&"no"==s.val())&&(SFSI(".float_options").slideUp("slow"),SFSI('input[name="sfsi_plus_icons_float"][value="no"]').prop("checked",!0),SFSI('input[name="sfsi_plus_icons_float"][value="yes"]').prop("checked",!1),SFSI('input[name="sfsi_plus_icons_float"][value="no"]').parent().find("span.radio").attr("style","background-position:0px -41px;"),SFSI('input[name="sfsi_plus_icons_float"][value="yes"]').parent().find("span.radio").attr("style","background-position:0px -0px;"))}),SFSI(".sfsi_plus_wDiv").length>0&&setTimeout(function(){var s=parseInt(SFSI(".sfsi_plus_wDiv").height())+15+"px";SFSI(".sfsi_plus_holders").each(function(){SFSI(this).css("height",s)})},200),SFSI(".checkbox").live("click",function(){var s=SFSI(this).parent().find("input:checkbox:first");("sfsi_plus_shuffle_Firstload"==s.attr("name")&&"checked"==s.attr("checked")||"sfsi_plus_shuffle_interval"==s.attr("name")&&"checked"==s.attr("checked"))&&(SFSI('input[name="sfsi_plus_shuffle_icons"]').parent().find("span").css("background-position","0px -36px"),SFSI('input[name="sfsi_plus_shuffle_icons"]').attr("checked","checked")),"sfsi_plus_shuffle_icons"==s.attr("name")&&"checked"!=s.attr("checked")&&(SFSI('input[name="sfsi_plus_shuffle_Firstload"]').removeAttr("checked"),SFSI('input[name="sfsi_plus_shuffle_Firstload"]').parent().find("span").css("background-position","0px 0px"),SFSI('input[name="sfsi_plus_shuffle_interval"]').removeAttr("checked"),SFSI('input[name="sfsi_plus_shuffle_interval"]').parent().find("span").css("background-position","0px 0px"))})});var sfsiplus_initTop=new Array;
|
js/custom.js
CHANGED
@@ -223,81 +223,81 @@ SFSI(document).ready(function(s) {
|
|
223 |
}), /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ? SFSI("img.sfsi_wicon").on("click", function(s) {
|
224 |
s.stopPropagation();
|
225 |
var i = SFSI("#sfsi_plus_floater_sec").val();
|
226 |
-
SFSI("div.sfsi_plus_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.
|
227 |
-
SFSI(this).parent().parent().parent().parent().siblings("li").length > 0 && (SFSI(this).parent().parent().parent().parent().siblings("li").find("div.
|
228 |
-
SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.
|
229 |
SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
|
230 |
"z-index":"999"
|
231 |
-
}), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.
|
232 |
opacity:1,
|
233 |
"z-index":10
|
234 |
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
235 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
236 |
opacity:1,
|
237 |
"z-index":10
|
238 |
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
239 |
-
SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.
|
240 |
opacity:1,
|
241 |
"z-index":10
|
242 |
-
})), ("top-left" == i || "top-right" == i) && SFSI(this).parent().parent().parent().parent("#sfsi_plus_floater").length > 0 && "sfsi_plus_floater" == SFSI(this).parent().parent().parent().parent().attr("id") ? (SFSI(this).parentsUntil("div").siblings("div.
|
243 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
244 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
245 |
opacity:1,
|
246 |
"z-index":10
|
247 |
-
}), SFSI(this).parentsUntil("div").siblings("div.
|
248 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
249 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
250 |
opacity:1,
|
251 |
"z-index":1e3
|
252 |
-
}), SFSI(this).parentsUntil("div").siblings("div.
|
253 |
}) :SFSI("img.sfsi_wicon").on("mouseenter", function() {
|
254 |
var s = SFSI("#sfsi_plus_floater_sec").val();
|
255 |
-
SFSI("div.sfsi_plus_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.
|
256 |
-
SFSI(this).parent().parent().parent().parent().siblings("li").length > 0 && (SFSI(this).parent().parent().parent().parent().siblings("li").find("div.
|
257 |
-
SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.
|
258 |
SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
|
259 |
"z-index":"999"
|
260 |
-
}), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.
|
261 |
opacity:1,
|
262 |
"z-index":10
|
263 |
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
264 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
265 |
opacity:1,
|
266 |
"z-index":10
|
267 |
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
268 |
-
SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.
|
269 |
opacity:1,
|
270 |
"z-index":10
|
271 |
-
})), ("top-left" == s || "top-right" == s) && SFSI(this).parent().parent().parent().parent("#sfsi_plus_floater").length > 0 && "sfsi_plus_floater" == SFSI(this).parent().parent().parent().parent().attr("id") ? (SFSI(this).parentsUntil("div").siblings("div.
|
272 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
273 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
274 |
opacity:1,
|
275 |
"z-index":10
|
276 |
-
}), SFSI(this).parentsUntil("div").siblings("div.
|
277 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
278 |
-
SFSI(this).parentsUntil("div").siblings("div.
|
279 |
opacity:1,
|
280 |
"z-index":10
|
281 |
-
}), SFSI(this).parentsUntil("div").siblings("div.
|
282 |
}), SFSI("div.sfsi_plus_wicons").on("mouseleave", function() {
|
283 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "fade_in" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity", "0.6"),
|
284 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "scale" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale"),
|
285 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "combo" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && (SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity", "0.6"),
|
286 |
SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale")), "sfsiplusid_google" == SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").attr("id") ? SFSI("body").on("click", function() {
|
287 |
-
SFSI(this).children(".sfsiplus_inerCnt").find("div.
|
288 |
}) :(SFSI(this).css({
|
289 |
"z-index":"0"
|
290 |
-
}), SFSI(this).children(".sfsiplus_inerCnt").find("div.
|
291 |
}), SFSI("body").on("click", function() {
|
292 |
-
SFSI(".sfsiplus_inerCnt").find("div.
|
293 |
}), SFSI(".adminTooltip >a").on("hover", function() {
|
294 |
-
SFSI(this).offset().top, SFSI(this).parent("div").find("div.
|
295 |
-
SFSI(this).parent("div").find("div.
|
296 |
}), SFSI(".adminTooltip").on("mouseleave", function() {
|
297 |
-
"none" != SFSI(".
|
298 |
-
SFSI(this).parent("div").find("div.
|
299 |
-
}) :(SFSI(this).parent("div").find("div.
|
300 |
-
SFSI(this).parent("div").find("div.
|
301 |
}), SFSI(".expand-area").on("click", function() {
|
302 |
"Read more" == SFSI(this).text() ? (SFSI(this).siblings("p").children("label").fadeIn("slow"),
|
303 |
SFSI(this).text("Collapse")) :(SFSI(this).siblings("p").children("label").fadeOut("slow"),
|
223 |
}), /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ? SFSI("img.sfsi_wicon").on("click", function(s) {
|
224 |
s.stopPropagation();
|
225 |
var i = SFSI("#sfsi_plus_floater_sec").val();
|
226 |
+
SFSI("div.sfsi_plus_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide(),
|
227 |
+
SFSI(this).parent().parent().parent().parent().siblings("li").length > 0 && (SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_tool_tip_2").css("z-index", "0"),
|
228 |
+
SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide()),
|
229 |
SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
|
230 |
"z-index":"999"
|
231 |
+
}), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
232 |
opacity:1,
|
233 |
"z-index":10
|
234 |
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
235 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
236 |
opacity:1,
|
237 |
"z-index":10
|
238 |
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
239 |
+
SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
240 |
opacity:1,
|
241 |
"z-index":10
|
242 |
+
})), ("top-left" == i || "top-right" == i) && SFSI(this).parent().parent().parent().parent("#sfsi_plus_floater").length > 0 && "sfsi_plus_floater" == SFSI(this).parent().parent().parent().parent().attr("id") ? (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").addClass("sfsi_plc_btm"),
|
243 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),
|
244 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
245 |
opacity:1,
|
246 |
"z-index":10
|
247 |
+
}), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show()) :(SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),
|
248 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").removeClass("sfsi_plc_btm"),
|
249 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
250 |
opacity:1,
|
251 |
"z-index":1e3
|
252 |
+
}), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show());
|
253 |
}) :SFSI("img.sfsi_wicon").on("mouseenter", function() {
|
254 |
var s = SFSI("#sfsi_plus_floater_sec").val();
|
255 |
+
SFSI("div.sfsi_plus_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide(),
|
256 |
+
SFSI(this).parent().parent().parent().parent().siblings("li").length > 0 && (SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_tool_tip_2").css("z-index", "0"),
|
257 |
+
SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide()),
|
258 |
SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
|
259 |
"z-index":"999"
|
260 |
+
}), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
261 |
opacity:1,
|
262 |
"z-index":10
|
263 |
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
264 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
265 |
opacity:1,
|
266 |
"z-index":10
|
267 |
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
268 |
+
SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
269 |
opacity:1,
|
270 |
"z-index":10
|
271 |
+
})), ("top-left" == s || "top-right" == s) && SFSI(this).parent().parent().parent().parent("#sfsi_plus_floater").length > 0 && "sfsi_plus_floater" == SFSI(this).parent().parent().parent().parent().attr("id") ? (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").addClass("sfsi_plc_btm"),
|
272 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),
|
273 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
274 |
opacity:1,
|
275 |
"z-index":10
|
276 |
+
}), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show()) :(SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),
|
277 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").removeClass("sfsi_plc_btm"),
|
278 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
279 |
opacity:1,
|
280 |
"z-index":10
|
281 |
+
}), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show());
|
282 |
}), SFSI("div.sfsi_plus_wicons").on("mouseleave", function() {
|
283 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "fade_in" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity", "0.6"),
|
284 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "scale" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale"),
|
285 |
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "combo" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && (SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity", "0.6"),
|
286 |
SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale")), "sfsiplusid_google" == SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").attr("id") ? SFSI("body").on("click", function() {
|
287 |
+
SFSI(this).children(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide();
|
288 |
}) :(SFSI(this).css({
|
289 |
"z-index":"0"
|
290 |
+
}), SFSI(this).children(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide());
|
291 |
}), SFSI("body").on("click", function() {
|
292 |
+
SFSI(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide();
|
293 |
}), SFSI(".adminTooltip >a").on("hover", function() {
|
294 |
+
SFSI(this).offset().top, SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").css("opacity", "1"),
|
295 |
+
SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").show();
|
296 |
}), SFSI(".adminTooltip").on("mouseleave", function() {
|
297 |
+
"none" != SFSI(".sfsi_plus_gpls_tool_bdr").css("display") && 0 != SFSI(".sfsi_plus_gpls_tool_bdr").css("opacity") ? SFSI(".pop_up_box ").on("click", function() {
|
298 |
+
SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").css("opacity", "0"), SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").hide();
|
299 |
+
}) :(SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").css("opacity", "0"),
|
300 |
+
SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").hide());
|
301 |
}), SFSI(".expand-area").on("click", function() {
|
302 |
"Read more" == SFSI(this).text() ? (SFSI(this).siblings("p").children("label").fadeIn("slow"),
|
303 |
SFSI(this).text("Collapse")) :(SFSI(this).siblings("p").children("label").fadeOut("slow"),
|
js/customValidate-min.js
CHANGED
@@ -17,7 +17,8 @@ function sfsi_plus_validationStep2() {
|
|
17 |
if (sfsi_validator(SFSI('input[name="sfsi_plus_linkedin_recommendBusines"]'), "activte") && sfsi_validator(SFSI('input[name="sfsi_plus_linkedin_recommendBusines"]'), "checked") && (!sfsi_validator(SFSI('input[name="sfsi_plus_linkedin_recommendProductId"]'), "blank") || !sfsi_validator(SFSI('input[name="sfsi_plus_linkedin_recommendCompany"]'), "blank"))) return sfsiplus_showErrorSuc("error", "Error : Please Enter Product Id and Company for LinkedIn Recommendation ", 2), SFSI('input[name="sfsi_plus_linkedin_recommendProductId"]').addClass("inputError"), SFSI('input[name="sfsi_plus_linkedin_recommendCompany"]').addClass("inputError"), !1;
|
18 |
var s = 0;
|
19 |
return SFSI("input[name='sfsi_plus_CustomIcon_links[]']").each(function() {
|
20 |
-
sfsi_validator(SFSI(this), "blank") && sfsi_validator(SFSI(SFSI(this)), "url") || (sfsiplus_showErrorSuc("error", "Error : Please Enter a valid Custom link ", 2), SFSI(this).addClass("inputError"), s = 1)
|
|
|
21 |
}), s ? !1 : !0
|
22 |
}
|
23 |
|
17 |
if (sfsi_validator(SFSI('input[name="sfsi_plus_linkedin_recommendBusines"]'), "activte") && sfsi_validator(SFSI('input[name="sfsi_plus_linkedin_recommendBusines"]'), "checked") && (!sfsi_validator(SFSI('input[name="sfsi_plus_linkedin_recommendProductId"]'), "blank") || !sfsi_validator(SFSI('input[name="sfsi_plus_linkedin_recommendCompany"]'), "blank"))) return sfsiplus_showErrorSuc("error", "Error : Please Enter Product Id and Company for LinkedIn Recommendation ", 2), SFSI('input[name="sfsi_plus_linkedin_recommendProductId"]').addClass("inputError"), SFSI('input[name="sfsi_plus_linkedin_recommendCompany"]').addClass("inputError"), !1;
|
18 |
var s = 0;
|
19 |
return SFSI("input[name='sfsi_plus_CustomIcon_links[]']").each(function() {
|
20 |
+
//sfsi_validator(SFSI(this), "blank") && sfsi_validator(SFSI(SFSI(this)), "url") || (sfsiplus_showErrorSuc("error", "Error : Please Enter a valid Custom link ", 2), SFSI(this).addClass("inputError"), s = 1)
|
21 |
+
sfsi_validator(SFSI(this), "blank") || (sfsiplus_showErrorSuc("error", "Error : Please Enter a valid Custom link ", 2), SFSI(this).addClass("inputError"), s = 1)
|
22 |
}), s ? !1 : !0
|
23 |
}
|
24 |
|
libs/controllers/sfsi_buttons_controller.php
CHANGED
@@ -810,11 +810,19 @@ function sfsi_plus_getCounts()
|
|
810 |
/* get youtube counts */
|
811 |
if($sfsi_plus_section4_options['sfsi_plus_youtube_countsFrom']=="subscriber" )
|
812 |
{
|
813 |
-
if(
|
|
|
|
|
814 |
{
|
815 |
-
$youtube_user
|
816 |
-
|
817 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
818 |
}
|
819 |
else
|
820 |
{
|
810 |
/* get youtube counts */
|
811 |
if($sfsi_plus_section4_options['sfsi_plus_youtube_countsFrom']=="subscriber" )
|
812 |
{
|
813 |
+
if(
|
814 |
+
isset($sfsi_plus_section4_options['sfsi_plus_youtube_user'])
|
815 |
+
)
|
816 |
{
|
817 |
+
$youtube_user = $sfsi_plus_section4_options['sfsi_plus_youtube_user'];
|
818 |
+
|
819 |
+
$youtube_user = (
|
820 |
+
isset($sfsi_plus_section4_options['sfsi_plus_youtube_user']) &&
|
821 |
+
!empty($sfsi_plus_section4_options['sfsi_plus_youtube_user'])
|
822 |
+
)? $sfsi_plus_section4_options['sfsi_plus_youtube_user'] : 'SpecificFeeds';
|
823 |
+
|
824 |
+
$followers = $socialObj->sfsi_get_youtube($youtube_user);
|
825 |
+
$scounts['youtube_count'] = $socialObj->format_num($followers);
|
826 |
}
|
827 |
else
|
828 |
{
|
libs/controllers/sfsiocns_OnPosts.php
CHANGED
@@ -63,7 +63,7 @@ function sfsi_plus_social_buttons_below($content)
|
|
63 |
$float= $sfsi_section8['sfsi_plus_icons_alignment'];
|
64 |
if($sfsi_section8['sfsi_plus_rectsub'] == 'yes' || $sfsi_section8['sfsi_plus_rectfb'] == 'yes' || $sfsi_section8['sfsi_plus_rectgp'] == 'yes' || $sfsi_section8['sfsi_plus_rectshr'] == 'yes' || $sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
65 |
{
|
66 |
-
$icons="<div class='
|
67 |
}
|
68 |
if($sfsi_section8['sfsi_plus_rectsub'] == 'yes')
|
69 |
{
|
@@ -77,16 +77,16 @@ function sfsi_plus_social_buttons_below($content)
|
|
77 |
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
78 |
$icons.="<div class='sf_fb' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
79 |
}
|
80 |
-
if($sfsi_section8['sfsi_plus_rectgp'] == 'yes')
|
81 |
-
{
|
82 |
-
$icons.="<div class='sf_google' style='display: inline-block;vertical-align: middle; width:auto;'>".sfsi_plus_googlePlus($permalink,$show_count)."</div>";
|
83 |
-
}
|
84 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
85 |
{
|
86 |
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
87 |
if(!isset($sfsiLikeWithtwtr)){$sfsiLikeWithtwtr = $sfsiLikeWith;}
|
88 |
$icons.="<div class='sf_twiter' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_twitterlike($permalink,$show_count)."</div>";
|
89 |
}
|
|
|
|
|
|
|
|
|
90 |
if($sfsi_section8['sfsi_plus_rectshr'] == 'yes')
|
91 |
{
|
92 |
$icons.="<div class='sf_addthis' style='display: inline-block;vertical-align: middle;width: auto;margin-top: 6px;'>".sfsi_plus_Addthis($show_count, $permalink, $title)."</div>";
|
63 |
$float= $sfsi_section8['sfsi_plus_icons_alignment'];
|
64 |
if($sfsi_section8['sfsi_plus_rectsub'] == 'yes' || $sfsi_section8['sfsi_plus_rectfb'] == 'yes' || $sfsi_section8['sfsi_plus_rectgp'] == 'yes' || $sfsi_section8['sfsi_plus_rectshr'] == 'yes' || $sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
65 |
{
|
66 |
+
$icons="<div class='sfsi_plus_Sicons ".$float."' style='float:".$float."'><div style='display: inline-block;margin-bottom: 0; margin-left: 0; margin-right: 8px; margin-top: 0; vertical-align: middle;width: auto;'><span>".$txt."</span></div>";
|
67 |
}
|
68 |
if($sfsi_section8['sfsi_plus_rectsub'] == 'yes')
|
69 |
{
|
77 |
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
78 |
$icons.="<div class='sf_fb' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
79 |
}
|
|
|
|
|
|
|
|
|
80 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
81 |
{
|
82 |
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
83 |
if(!isset($sfsiLikeWithtwtr)){$sfsiLikeWithtwtr = $sfsiLikeWith;}
|
84 |
$icons.="<div class='sf_twiter' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_twitterlike($permalink,$show_count)."</div>";
|
85 |
}
|
86 |
+
if($sfsi_section8['sfsi_plus_rectgp'] == 'yes')
|
87 |
+
{
|
88 |
+
$icons.="<div class='sf_google' style='display: inline-block;vertical-align: middle; width:auto;'>".sfsi_plus_googlePlus($permalink,$show_count)."</div>";
|
89 |
+
}
|
90 |
if($sfsi_section8['sfsi_plus_rectshr'] == 'yes')
|
91 |
{
|
92 |
$icons.="<div class='sf_addthis' style='display: inline-block;vertical-align: middle;width: auto;margin-top: 6px;'>".sfsi_plus_Addthis($show_count, $permalink, $title)."</div>";
|
libs/sfsi_install_uninstall.php
CHANGED
@@ -12,7 +12,7 @@ function sfsi_plus_update_plugin()
|
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
-
update_option("sfsi_plus_pluginVersion", "2.
|
16 |
|
17 |
/*show notification*/
|
18 |
if(!get_option('sfsi_plus_show_notification'))
|
@@ -581,7 +581,7 @@ function sfsi_plus_rating_msg()
|
|
581 |
$datetime2 = new DateTime($display_date);
|
582 |
$diff_inrval = round(($datetime2->format('U') - $datetime1->format('U')) / (60*60*24));
|
583 |
|
584 |
-
|
585 |
{
|
586 |
echo '
|
587 |
<div class="sfwp_fivestar">
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
+
update_option("sfsi_plus_pluginVersion", "2.27");
|
16 |
|
17 |
/*show notification*/
|
18 |
if(!get_option('sfsi_plus_show_notification'))
|
581 |
$datetime2 = new DateTime($display_date);
|
582 |
$diff_inrval = round(($datetime2->format('U') - $datetime1->format('U')) / (60*60*24));
|
583 |
|
584 |
+
if($diff_inrval >= 30 && get_option('sfsi_plus_RatingDiv')=="no")
|
585 |
{
|
586 |
echo '
|
587 |
<div class="sfwp_fivestar">
|
libs/sfsi_plus_subscribe_widget.php
CHANGED
@@ -9,6 +9,9 @@ function sfsi_plus_addStyleFunction()
|
|
9 |
echo $return = '';
|
10 |
?>
|
11 |
<script>
|
|
|
|
|
|
|
12 |
function sfsi_plus_processfurther(ref) {
|
13 |
var feed_id = '<?php echo $sfsi_plus_feediid?>';
|
14 |
var feedtype = 8;
|
9 |
echo $return = '';
|
10 |
?>
|
11 |
<script>
|
12 |
+
jQuery(document).ready(function(e) {
|
13 |
+
jQuery("body").addClass("sfsi_plus_<?php echo get_option("sfsi_plus_pluginVersion");?>")
|
14 |
+
});
|
15 |
function sfsi_plus_processfurther(ref) {
|
16 |
var feed_id = '<?php echo $sfsi_plus_feediid?>';
|
17 |
var feedtype = 8;
|
libs/sfsi_widget.php
CHANGED
@@ -553,7 +553,7 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no")
|
|
553 |
$width = 62;
|
554 |
$totwith = $width+28+$icons_space;
|
555 |
$twt_margin = $totwith/2;
|
556 |
-
$toolClass = "
|
557 |
$arsfsiplus_row_class = "bot_fb_arow";
|
558 |
|
559 |
/* check for the over section */
|
@@ -654,7 +654,7 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no")
|
|
654 |
break;
|
655 |
|
656 |
case "google" :
|
657 |
-
$toolClass = "
|
658 |
$arsfsiplus_row_class = "bot_gpls_arow";
|
659 |
$socialObj = new sfsi_plus_SocialHelper();
|
660 |
$width = 76;
|
@@ -754,7 +754,7 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no")
|
|
754 |
break;
|
755 |
|
756 |
case "twitter" :
|
757 |
-
$toolClass = "
|
758 |
$arsfsiplus_row_class = "bot_twt_arow";
|
759 |
$socialObj = new sfsi_plus_SocialHelper();
|
760 |
$url = ($sfsi_plus_section2_options['sfsi_plus_twitter_pageURL'])?$sfsi_plus_section2_options['sfsi_plus_twitter_pageURL'] : 'javascript:void(0);';
|
@@ -989,7 +989,7 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no")
|
|
989 |
$totwith = $width+28+$icons_space;
|
990 |
$twt_margin = $totwith/2;
|
991 |
$socialObj = new sfsi_plus_SocialHelper();
|
992 |
-
$toolClass = "
|
993 |
$arsfsiplus_row_class = "bot_pintst_arow";
|
994 |
|
995 |
$pinterest_user = $sfsi_plus_section4_options['sfsi_plus_pinterest_user'];
|
@@ -1171,7 +1171,7 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no")
|
|
1171 |
case "linkedin" :
|
1172 |
$width = 66;
|
1173 |
$socialObj = new sfsi_plus_SocialHelper();
|
1174 |
-
$toolClass = "
|
1175 |
$arsfsiplus_row_class = "bot_linkedin_arow";
|
1176 |
$linkedIn_compayId = $sfsi_plus_section2_options['sfsi_plus_linkedin_followCompany'];
|
1177 |
$linkedIn_compay = $sfsi_plus_section2_options['sfsi_plus_linkedin_followCompany'];
|
@@ -1325,17 +1325,17 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no")
|
|
1325 |
if((int) $icon_width <=49 && (int) $icon_width >=30)
|
1326 |
{
|
1327 |
$bt_class="";
|
1328 |
-
$toolT_cls="
|
1329 |
}
|
1330 |
else if((int) $icon_width <=20)
|
1331 |
{
|
1332 |
$bt_class="sfsiSmBtn";
|
1333 |
-
$toolT_cls="
|
1334 |
}
|
1335 |
else
|
1336 |
{
|
1337 |
$bt_class="";
|
1338 |
-
$toolT_cls="
|
1339 |
}
|
1340 |
|
1341 |
if($toolClass=="rss_tool_bdr" || $toolClass=='email_tool_bdr' || $toolClass=="custom_lkn" || $toolClass=="instagram_tool_bdr" )
|
@@ -1375,11 +1375,11 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no")
|
|
1375 |
|
1376 |
if($hoverSHow && !empty($hoverdiv))
|
1377 |
{
|
1378 |
-
//$icons.= '<div class="
|
1379 |
|
1380 |
-
$icons.= '<div class="
|
1381 |
$icons.= '<span class="bot_arow '.$arsfsiplus_row_class.'"></span>';
|
1382 |
-
$icons.= '<div class="
|
1383 |
$icons.= "</div>";
|
1384 |
}
|
1385 |
$icons.="</div>";
|
553 |
$width = 62;
|
554 |
$totwith = $width+28+$icons_space;
|
555 |
$twt_margin = $totwith/2;
|
556 |
+
$toolClass = "sfsi_plus_fb_tool_bdr";
|
557 |
$arsfsiplus_row_class = "bot_fb_arow";
|
558 |
|
559 |
/* check for the over section */
|
654 |
break;
|
655 |
|
656 |
case "google" :
|
657 |
+
$toolClass = "sfsi_plus_gpls_tool_bdr";
|
658 |
$arsfsiplus_row_class = "bot_gpls_arow";
|
659 |
$socialObj = new sfsi_plus_SocialHelper();
|
660 |
$width = 76;
|
754 |
break;
|
755 |
|
756 |
case "twitter" :
|
757 |
+
$toolClass = "sfsi_plus_twt_tool_bdr";
|
758 |
$arsfsiplus_row_class = "bot_twt_arow";
|
759 |
$socialObj = new sfsi_plus_SocialHelper();
|
760 |
$url = ($sfsi_plus_section2_options['sfsi_plus_twitter_pageURL'])?$sfsi_plus_section2_options['sfsi_plus_twitter_pageURL'] : 'javascript:void(0);';
|
989 |
$totwith = $width+28+$icons_space;
|
990 |
$twt_margin = $totwith/2;
|
991 |
$socialObj = new sfsi_plus_SocialHelper();
|
992 |
+
$toolClass = "sfsi_plus_printst_tool_bdr";
|
993 |
$arsfsiplus_row_class = "bot_pintst_arow";
|
994 |
|
995 |
$pinterest_user = $sfsi_plus_section4_options['sfsi_plus_pinterest_user'];
|
1171 |
case "linkedin" :
|
1172 |
$width = 66;
|
1173 |
$socialObj = new sfsi_plus_SocialHelper();
|
1174 |
+
$toolClass = "sfsi_plus_linkedin_tool_bdr";
|
1175 |
$arsfsiplus_row_class = "bot_linkedin_arow";
|
1176 |
$linkedIn_compayId = $sfsi_plus_section2_options['sfsi_plus_linkedin_followCompany'];
|
1177 |
$linkedIn_compay = $sfsi_plus_section2_options['sfsi_plus_linkedin_followCompany'];
|
1325 |
if((int) $icon_width <=49 && (int) $icon_width >=30)
|
1326 |
{
|
1327 |
$bt_class="";
|
1328 |
+
$toolT_cls="sfsi_plus_Tlleft";
|
1329 |
}
|
1330 |
else if((int) $icon_width <=20)
|
1331 |
{
|
1332 |
$bt_class="sfsiSmBtn";
|
1333 |
+
$toolT_cls="sfsi_plus_Tlleft";
|
1334 |
}
|
1335 |
else
|
1336 |
{
|
1337 |
$bt_class="";
|
1338 |
+
$toolT_cls="sfsi_plus_Tlleft";
|
1339 |
}
|
1340 |
|
1341 |
if($toolClass=="rss_tool_bdr" || $toolClass=='email_tool_bdr' || $toolClass=="custom_lkn" || $toolClass=="instagram_tool_bdr" )
|
1375 |
|
1376 |
if($hoverSHow && !empty($hoverdiv))
|
1377 |
{
|
1378 |
+
//$icons.= '<div class="sfsi_plus_tool_tip_2 '.$toolClass.' '.$toolT_cls.'" style="width:'.$width.'px ;opacity:0;z-index:-1;margin-left:-'.$twt_margin.'px;" id="sfsiplusid_'.$icon_name.'">';
|
1379 |
|
1380 |
+
$icons.= '<div class="sfsi_plus_tool_tip_2 '.$toolClass.' '.$toolT_cls.'" style="width:'.$width.'px ;opacity:0;z-index:-1;" id="sfsiplusid_'.$icon_name.'">';
|
1381 |
$icons.= '<span class="bot_arow '.$arsfsiplus_row_class.'"></span>';
|
1382 |
+
$icons.= '<div class="sfsi_plus_inside">'.$hoverdiv."</div>";
|
1383 |
$icons.= "</div>";
|
1384 |
}
|
1385 |
$icons.="</div>";
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: socialdude
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=seb.richter%40gmx%2enet&lc=LI
|
4 |
Tags: social media, social media icons, social media buttons, social media sharing, floating social media, social media icon, social media button, sharing icons, sharing, sharing buttons, social media widget, socialmedia, social media pop-up, social, social icons, icon, icons, buttons, facebook icon, twitter icon, instagram, instagram icon, counter, facebook, facebook like, like, tweet, tweet button, buttons, tweet icon, youtube, youtube icon, linkedin, linkedin icon, logos, follow, social profiles, social media accounts, social share
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 4.4.
|
7 |
-
Stable tag: 2.2.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -12,6 +12,8 @@ Super-easy to use and 100% FREE social media plugin which adds social media icon
|
|
12 |
|
13 |
== Description ==
|
14 |
|
|
|
|
|
15 |
This plugin is based on https://wordpress.org/plugins/ultimate-social-media-icons/, giving it even more functions and making it even easier to use at the same time.
|
16 |
|
17 |
It's still 100% FREE and allows you to display social media icons on your website and tailor them to your needs.
|
@@ -73,6 +75,12 @@ Please check out the FAQ on http://ultimatelysocial.com
|
|
73 |
|
74 |
== Changelog ==
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
= 2.2.6 =
|
77 |
* jQuery issues/conflicts fixed
|
78 |
* Script issues fixed
|
@@ -180,5 +188,5 @@ Please check out the FAQ on http://ultimatelysocial.com
|
|
180 |
|
181 |
== Upgrade Notice ==
|
182 |
|
183 |
-
= 2.2.
|
184 |
* Please upgrade if you faced issues before or want to use different languages
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=seb.richter%40gmx%2enet&lc=LI
|
4 |
Tags: social media, social media icons, social media buttons, social media sharing, floating social media, social media icon, social media button, sharing icons, sharing, sharing buttons, social media widget, socialmedia, social media pop-up, social, social icons, icon, icons, buttons, facebook icon, twitter icon, instagram, instagram icon, counter, facebook, facebook like, like, tweet, tweet button, buttons, tweet icon, youtube, youtube icon, linkedin, linkedin icon, logos, follow, social profiles, social media accounts, social share
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 4.4.2
|
7 |
+
Stable tag: 2.2.7
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
***The plugin is now ready for translation. If you speak a different language than English, please help us translate it! It's easy. Please email us at support at ultimatelysocial dot com and let us know to which language you want to translate it to. Thank you!***
|
16 |
+
|
17 |
This plugin is based on https://wordpress.org/plugins/ultimate-social-media-icons/, giving it even more functions and making it even easier to use at the same time.
|
18 |
|
19 |
It's still 100% FREE and allows you to display social media icons on your website and tailor them to your needs.
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 2.2.7 =
|
79 |
+
* Overkill declaration in the CSS fixed
|
80 |
+
* Custom icons can now have mailto:-functionality
|
81 |
+
* jQuery UI issues fixed
|
82 |
+
* Rectangle G+ icon now shown as last one as it takes more space (looks better)
|
83 |
+
|
84 |
= 2.2.6 =
|
85 |
* jQuery issues/conflicts fixed
|
86 |
* Script issues fixed
|
188 |
|
189 |
== Upgrade Notice ==
|
190 |
|
191 |
+
= 2.2.7 =
|
192 |
* Please upgrade if you faced issues before or want to use different languages
|
ultimate_social_media_icons.php
CHANGED
@@ -6,7 +6,7 @@ Description: The best social media plugin on the market. And 100% FREE. Allows y
|
|
6 |
Author: UltimatelySocial
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Author URI: http://ultimatelysocial.com
|
9 |
-
Version: 2.2.
|
10 |
License: GPLv2
|
11 |
*/
|
12 |
|
@@ -35,7 +35,7 @@ register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
|
|
35 |
register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
36 |
|
37 |
/*Plugin version setup*/
|
38 |
-
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.
|
39 |
{
|
40 |
add_action("init", "sfsi_plus_update_plugin");
|
41 |
}
|
@@ -262,7 +262,7 @@ function sfsi_plus_beforaftereposts( $content )
|
|
262 |
}
|
263 |
else
|
264 |
{
|
265 |
-
$icons_before .= "<div class='
|
266 |
$icons_before .= "<div style='float:left;margin:0 0px; line-height:".$lineheight."px'><span>".$txt."</span></div>";
|
267 |
$icons_before .= sfsi_plus_check_posts_visiblity(0);
|
268 |
$icons_before .= "</div>";
|
@@ -280,7 +280,7 @@ function sfsi_plus_beforaftereposts( $content )
|
|
280 |
}
|
281 |
else
|
282 |
{
|
283 |
-
$icons_after .= "<div class='
|
284 |
$icons_after .= "<div style='float:left;margin:0 0px; line-height:".$lineheight."px'><span>".$txt."</span></div>";
|
285 |
$icons_after .= sfsi_plus_check_posts_visiblity(0);
|
286 |
$icons_after .= "</div>";
|
@@ -356,14 +356,23 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
356 |
$style = 'float:'.$float;
|
357 |
}
|
358 |
|
359 |
-
if(
|
|
|
|
|
|
|
360 |
{
|
361 |
//icon selection
|
362 |
$icons_before .= "<div class='sfsibeforpstwpr' style='".$style_parent."'>";
|
363 |
-
$icons_before .= "<div class='
|
364 |
if($sfsi_plus_display_button_type == 'standard_buttons')
|
365 |
{
|
366 |
-
if(
|
|
|
|
|
|
|
|
|
|
|
|
|
367 |
{
|
368 |
$icons_before .= "<div style='display: inline-block;margin-bottom: 0; margin-left: 0; margin-right: 8px; margin-top: 0; vertical-align: middle;width: auto;'><span>".$txt."</span></div>";
|
369 |
}
|
@@ -377,11 +386,7 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
377 |
{
|
378 |
if($show_count){}else{$sfsiLikeWithfb = "48px";}
|
379 |
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
380 |
-
$icons_before .= "<div class='sf_fb' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
381 |
-
}
|
382 |
-
if($sfsi_section8['sfsi_plus_rectgp'] == 'yes')
|
383 |
-
{
|
384 |
-
$icons_before .= "<div class='sf_google' style='display: inline-block;vertical-align: middle; width:auto;'>".sfsi_plus_googlePlus($permalink,$show_count)."</div>";
|
385 |
}
|
386 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
387 |
{
|
@@ -389,6 +394,10 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
389 |
if(!isset($sfsiLikeWithtwtr)){$sfsiLikeWithtwtr = $sfsiLikeWith;}
|
390 |
$icons_before.="<div class='sf_twiter' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_twitterlike($permalink,$show_count)."</div>";
|
391 |
}
|
|
|
|
|
|
|
|
|
392 |
if($sfsi_section8['sfsi_plus_rectshr'] == 'yes')
|
393 |
{
|
394 |
$icons_before .= "<div class='sf_addthis' style='display: inline-block;vertical-align: middle;width: auto;margin-top: 6px;'>".sfsi_plus_Addthis_blogpost($show_count, $permalink, $post_title)."</div>";
|
@@ -415,11 +424,17 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
415 |
{
|
416 |
//icon selection
|
417 |
$icons_after .= "<div class='sfsiaftrpstwpr' style='".$style_parent."'>";
|
418 |
-
$icons_after .= "<div class='
|
419 |
|
420 |
if($sfsi_plus_display_button_type == 'standard_buttons')
|
421 |
{
|
422 |
-
if(
|
|
|
|
|
|
|
|
|
|
|
|
|
423 |
{
|
424 |
$icons_after .= "<div style='display: inline-block;margin-bottom: 0; margin-left: 0; margin-right: 8px; margin-top: 0; vertical-align: middle;width: auto;'><span>".$txt."</span></div>";
|
425 |
}
|
@@ -435,16 +450,16 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
435 |
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
436 |
$icons_after .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
437 |
}
|
438 |
-
if($sfsi_section8['sfsi_plus_rectgp'] == 'yes')
|
439 |
-
{
|
440 |
-
$icons_after .= "<div class='sf_google' style='display: inline-block;vertical-align: middle; width: auto;'>".sfsi_plus_googlePlus($permalink,$show_count)."</div>";
|
441 |
-
}
|
442 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
443 |
{
|
444 |
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
445 |
if(!isset($sfsiLikeWithtwtr)){$sfsiLikeWithtwtr = $sfsiLikeWith;}
|
446 |
$icons_after.="<div class='sf_twiter' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_twitterlike($permalink,$show_count)."</div>";
|
447 |
}
|
|
|
|
|
|
|
|
|
448 |
if($sfsi_section8['sfsi_plus_rectshr'] == 'yes')
|
449 |
{
|
450 |
$icons_after .= "<div class='sf_addthis' style='display: inline-block;vertical-align: middle;width: auto;margin-top: 6px;'>".sfsi_plus_Addthis_blogpost($show_count, $permalink, $post_title)."</div>";
|
6 |
Author: UltimatelySocial
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Author URI: http://ultimatelysocial.com
|
9 |
+
Version: 2.2.7
|
10 |
License: GPLv2
|
11 |
*/
|
12 |
|
35 |
register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
36 |
|
37 |
/*Plugin version setup*/
|
38 |
+
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.27)
|
39 |
{
|
40 |
add_action("init", "sfsi_plus_update_plugin");
|
41 |
}
|
262 |
}
|
263 |
else
|
264 |
{
|
265 |
+
$icons_before .= "<div class='sfsi_plus_Sicons' style='".$style."'>";
|
266 |
$icons_before .= "<div style='float:left;margin:0 0px; line-height:".$lineheight."px'><span>".$txt."</span></div>";
|
267 |
$icons_before .= sfsi_plus_check_posts_visiblity(0);
|
268 |
$icons_before .= "</div>";
|
280 |
}
|
281 |
else
|
282 |
{
|
283 |
+
$icons_after .= "<div class='sfsi_plus_Sicons' style='".$style."'>";
|
284 |
$icons_after .= "<div style='float:left;margin:0 0px; line-height:".$lineheight."px'><span>".$txt."</span></div>";
|
285 |
$icons_after .= sfsi_plus_check_posts_visiblity(0);
|
286 |
$icons_after .= "</div>";
|
356 |
$style = 'float:'.$float;
|
357 |
}
|
358 |
|
359 |
+
if(
|
360 |
+
$sfsi_section8['sfsi_plus_display_before_blogposts'] == "yes" &&
|
361 |
+
$sfsi_section8['sfsi_plus_show_item_onposts'] == "yes"
|
362 |
+
)
|
363 |
{
|
364 |
//icon selection
|
365 |
$icons_before .= "<div class='sfsibeforpstwpr' style='".$style_parent."'>";
|
366 |
+
$icons_before .= "<div class='sfsi_plus_Sicons ".$float."' style='".$style."'>";
|
367 |
if($sfsi_plus_display_button_type == 'standard_buttons')
|
368 |
{
|
369 |
+
if(
|
370 |
+
$sfsi_section8['sfsi_plus_rectsub'] == 'yes' ||
|
371 |
+
$sfsi_section8['sfsi_plus_rectfb'] == 'yes' ||
|
372 |
+
$sfsi_section8['sfsi_plus_rectgp'] == 'yes' ||
|
373 |
+
$sfsi_section8['sfsi_plus_rectshr'] == 'yes' ||
|
374 |
+
$sfsi_section8['sfsi_plus_recttwtr'] == 'yes'
|
375 |
+
)
|
376 |
{
|
377 |
$icons_before .= "<div style='display: inline-block;margin-bottom: 0; margin-left: 0; margin-right: 8px; margin-top: 0; vertical-align: middle;width: auto;'><span>".$txt."</span></div>";
|
378 |
}
|
386 |
{
|
387 |
if($show_count){}else{$sfsiLikeWithfb = "48px";}
|
388 |
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
389 |
+
$icons_before .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
|
|
|
|
|
|
|
|
390 |
}
|
391 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
392 |
{
|
394 |
if(!isset($sfsiLikeWithtwtr)){$sfsiLikeWithtwtr = $sfsiLikeWith;}
|
395 |
$icons_before.="<div class='sf_twiter' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_twitterlike($permalink,$show_count)."</div>";
|
396 |
}
|
397 |
+
if($sfsi_section8['sfsi_plus_rectgp'] == 'yes')
|
398 |
+
{
|
399 |
+
$icons_before .= "<div class='sf_google' style='display: inline-block;vertical-align: middle; width:auto;'>".sfsi_plus_googlePlus($permalink,$show_count)."</div>";
|
400 |
+
}
|
401 |
if($sfsi_section8['sfsi_plus_rectshr'] == 'yes')
|
402 |
{
|
403 |
$icons_before .= "<div class='sf_addthis' style='display: inline-block;vertical-align: middle;width: auto;margin-top: 6px;'>".sfsi_plus_Addthis_blogpost($show_count, $permalink, $post_title)."</div>";
|
424 |
{
|
425 |
//icon selection
|
426 |
$icons_after .= "<div class='sfsiaftrpstwpr' style='".$style_parent."'>";
|
427 |
+
$icons_after .= "<div class='sfsi_plus_Sicons ".$float."' style='".$style."'>";
|
428 |
|
429 |
if($sfsi_plus_display_button_type == 'standard_buttons')
|
430 |
{
|
431 |
+
if(
|
432 |
+
$sfsi_section8['sfsi_plus_rectsub'] == 'yes' ||
|
433 |
+
$sfsi_section8['sfsi_plus_rectfb'] == 'yes' ||
|
434 |
+
$sfsi_section8['sfsi_plus_rectgp'] == 'yes' ||
|
435 |
+
$sfsi_section8['sfsi_plus_rectshr'] == 'yes' ||
|
436 |
+
$sfsi_section8['sfsi_plus_recttwtr'] == 'yes'
|
437 |
+
)
|
438 |
{
|
439 |
$icons_after .= "<div style='display: inline-block;margin-bottom: 0; margin-left: 0; margin-right: 8px; margin-top: 0; vertical-align: middle;width: auto;'><span>".$txt."</span></div>";
|
440 |
}
|
450 |
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
451 |
$icons_after .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
452 |
}
|
|
|
|
|
|
|
|
|
453 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
454 |
{
|
455 |
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
456 |
if(!isset($sfsiLikeWithtwtr)){$sfsiLikeWithtwtr = $sfsiLikeWith;}
|
457 |
$icons_after.="<div class='sf_twiter' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_twitterlike($permalink,$show_count)."</div>";
|
458 |
}
|
459 |
+
if($sfsi_section8['sfsi_plus_rectgp'] == 'yes')
|
460 |
+
{
|
461 |
+
$icons_after .= "<div class='sf_google' style='display: inline-block;vertical-align: middle; width: auto;'>".sfsi_plus_googlePlus($permalink,$show_count)."</div>";
|
462 |
+
}
|
463 |
if($sfsi_section8['sfsi_plus_rectshr'] == 'yes')
|
464 |
{
|
465 |
$icons_after .= "<div class='sf_addthis' style='display: inline-block;vertical-align: middle;width: auto;margin-top: 6px;'>".sfsi_plus_Addthis_blogpost($show_count, $permalink, $post_title)."</div>";
|
views/sfsi_option_view8.php
CHANGED
@@ -186,16 +186,11 @@
|
|
186 |
?>
|
187 |
<label class="sfsiplus_sub-subtitle ckckslctn" <?php echo $label_style;?>>
|
188 |
<?php _e( 'Place', 'ultimate-social-media-plus' ); ?>
|
189 |
-
<label class="sfsi_ckckslctnlbl"><</label><label class="sfsi_ckckslctnlbl">?</label><label class="sfsi_ckckslctnlbl">
|
190 |
-
php echo DISPLAY_ULTIMATE_PLUS();
|
191 |
-
<?php //_e( 'php echo DISPLAY_ULTIMATE_PLUS();', 'ultimate-social-media-plus' ); ?>
|
192 |
-
|
193 |
-
</label><label class="sfsi_ckckslctnlbl">?</label><label class="sfsi_ckckslctnlbl">></label>
|
194 |
<?php _e( 'in your theme codes or use the shortcode', 'ultimate-social-media-plus' ); ?>
|
195 |
<b>
|
196 |
[DISPLAY_ULTIMATE_PLUS]
|
197 |
-
|
198 |
-
</b>
|
199 |
<?php _e( 'to display them wherever you want.', 'ultimate-social-media-plus' ); ?>
|
200 |
</label>
|
201 |
</p>
|
@@ -268,12 +263,6 @@
|
|
268 |
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/like.jpg" alt="Facebook Like" /><span style="display: none;">18k</span>
|
269 |
</a>
|
270 |
</li>
|
271 |
-
<li>
|
272 |
-
<div class="radio_section tb_4_ck"><input name="sfsi_plus_rectgp" <?php echo ($option8['sfsi_plus_rectgp']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_rectgp" type="checkbox" value="yes" class="styled" /></div>
|
273 |
-
<a href="#" title="Google Plus" class="cstmdsplggpls">
|
274 |
-
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/google_plus1.jpg" alt="Google Plus" /><span style="display: none;">18k</span>
|
275 |
-
</a>
|
276 |
-
</li>
|
277 |
<li>
|
278 |
<div class="radio_section tb_4_ck"><input name="sfsi_plus_recttwtr" <?php echo ($option8['sfsi_plus_recttwtr']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_recttwtr" type="checkbox" value="yes" class="styled" /></div>
|
279 |
<a href="#" title="twitter" class="cstmdspltwtr">
|
@@ -281,6 +270,12 @@
|
|
281 |
</a>
|
282 |
</li>
|
283 |
<li>
|
|
|
|
|
|
|
|
|
|
|
|
|
284 |
<div class="radio_section tb_4_ck">
|
285 |
<input name="sfsi_plus_rectshr" <?php echo ($option8['sfsi_plus_rectshr']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_rectshr" type="checkbox" value="yes" class="styled" />
|
286 |
</div>
|
186 |
?>
|
187 |
<label class="sfsiplus_sub-subtitle ckckslctn" <?php echo $label_style;?>>
|
188 |
<?php _e( 'Place', 'ultimate-social-media-plus' ); ?>
|
189 |
+
<label class="sfsi_ckckslctnlbl"><</label><label class="sfsi_ckckslctnlbl">?</label><label class="sfsi_ckckslctnlbl">php echo DISPLAY_ULTIMATE_PLUS();</label><label class="sfsi_ckckslctnlbl">?</label><label class="sfsi_ckckslctnlbl">></label>
|
|
|
|
|
|
|
|
|
190 |
<?php _e( 'in your theme codes or use the shortcode', 'ultimate-social-media-plus' ); ?>
|
191 |
<b>
|
192 |
[DISPLAY_ULTIMATE_PLUS]
|
193 |
+
</b>
|
|
|
194 |
<?php _e( 'to display them wherever you want.', 'ultimate-social-media-plus' ); ?>
|
195 |
</label>
|
196 |
</p>
|
263 |
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/like.jpg" alt="Facebook Like" /><span style="display: none;">18k</span>
|
264 |
</a>
|
265 |
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
266 |
<li>
|
267 |
<div class="radio_section tb_4_ck"><input name="sfsi_plus_recttwtr" <?php echo ($option8['sfsi_plus_recttwtr']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_recttwtr" type="checkbox" value="yes" class="styled" /></div>
|
268 |
<a href="#" title="twitter" class="cstmdspltwtr">
|
270 |
</a>
|
271 |
</li>
|
272 |
<li>
|
273 |
+
<div class="radio_section tb_4_ck"><input name="sfsi_plus_rectgp" <?php echo ($option8['sfsi_plus_rectgp']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_rectgp" type="checkbox" value="yes" class="styled" /></div>
|
274 |
+
<a href="#" title="Google Plus" class="cstmdsplggpls">
|
275 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/google_plus1.jpg" alt="Google Plus" /><span style="display: none;">18k</span>
|
276 |
+
</a>
|
277 |
+
</li>
|
278 |
+
<li>
|
279 |
<div class="radio_section tb_4_ck">
|
280 |
<input name="sfsi_plus_rectshr" <?php echo ($option8['sfsi_plus_rectshr']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_rectshr" type="checkbox" value="yes" class="styled" />
|
281 |
</div>
|
views/sfsi_pop_content.php
CHANGED
@@ -103,9 +103,9 @@ define('rss_readmore_text2', $rss_readmore_text2);
|
|
103 |
|
104 |
<div class="adminTooltip" >
|
105 |
<a href="javascript:"><img width="51" class="sfsi_wicon" src="<?php echo SFSI_PLUS_PLUGURL; ?>images/facebook.png" title="facebook" alt="facebook" /></a>
|
106 |
-
<div class="
|
107 |
<span class="bot_arow bot_fb_arow "></span>
|
108 |
-
<div class="
|
109 |
<div class="fb_1"><img src="<?php echo $visit_iconsUrl."facebook.png"; ?>" /></div>
|
110 |
<div class="fb_2"><img src="<?php echo $visit_iconsUrl."fblike_bck.png"; ?>" /></div>
|
111 |
<div class="fb_3"><img src="<?php echo $visit_iconsUrl."fbshare_bck.png"; ?>" /></div>
|
@@ -154,9 +154,9 @@ define('rss_readmore_text2', $rss_readmore_text2);
|
|
154 |
|
155 |
<div class="adminTooltip" >
|
156 |
<a href="javascript:"><img width="51" class="sfsi_wicon" src="<?php echo SFSI_PLUS_PLUGURL; ?>images/twitter.png" title="Twitter" alt="Twitter" /></a>
|
157 |
-
<div class="
|
158 |
<span class="bot_arow bot_twt_arow"></span>
|
159 |
-
<div class="
|
160 |
<div class="twt_3"><img src="<?php echo $visit_iconsUrl."twitter.png"; ?>" /></div>
|
161 |
<div class="twt_1"><img src="<?php echo $visit_iconsUrl."twfollow_bck.png"; ?>" /></div>
|
162 |
<div class="twt_2"><img src="<?php echo $visit_iconsUrl."twtweet_bck.png"; ?>" /></div>
|
@@ -179,9 +179,9 @@ define('rss_readmore_text2', $rss_readmore_text2);
|
|
179 |
|
180 |
<div class="adminTooltip" >
|
181 |
<a href="javascript:"><img width="51" class="sfsi_wicon" src="<?php echo SFSI_PLUS_PLUGURL; ?>images/google_plus.png" title="google+" alt="google"/></a>
|
182 |
-
<div class="
|
183 |
<span class="bot_arow bot_gpls_arow"></span>
|
184 |
-
<div class="
|
185 |
<div class="gpls_visit"><img src="<?php echo $visit_iconsUrl."google.png"; ?>" /></div>
|
186 |
<div class="gtalk_2"><img src="<?php echo $visit_iconsUrl."gplus_like.png"; ?>" /></div>
|
187 |
<div class="gtalk_3"><img src="<?php echo $visit_iconsUrl."gplus_share.png"; ?>" /></div>
|
@@ -205,9 +205,9 @@ define('rss_readmore_text2', $rss_readmore_text2);
|
|
205 |
|
206 |
<div class="adminTooltip" >
|
207 |
<a href="javascript:"><img width="51" class="sfsi_wicon" src="<?php echo SFSI_PLUS_PLUGURL; ?>images/youtube.png" title="youtube" alt="youtube" /></a>
|
208 |
-
<div class="
|
209 |
<span class="bot_arow bot_utube_arow"></span>
|
210 |
-
<div class="
|
211 |
<div class="utub_visit"><img src="<?php echo $visit_iconsUrl."youtube.png"; ?>" /></div>
|
212 |
<div class="utub_2"><img src="<?php echo $visit_iconsUrl."youtube_bck.png"; ?>" /></div>
|
213 |
</div>
|
@@ -228,9 +228,9 @@ $pin_url=($option2['sfsi_plus_pinterest_pageUrl']!='') ? $option2['sfsi_plus_pi
|
|
228 |
|
229 |
<div class="adminTooltip" >
|
230 |
<a href="javascript:"><img width="51" class="sfsi_wicon" src="<?php echo SFSI_PLUS_PLUGURL; ?>images/pinterest.png" title="pinterest" alt="pinterest" /></a>
|
231 |
-
<div class="
|
232 |
<span class="bot_arow bot_pintst_arow"></span>
|
233 |
-
<div class="
|
234 |
<div class="prints_visit"><img src="<?php echo $visit_iconsUrl."pinterest.png"; ?>" /></div>
|
235 |
<div class="prints_visit_1"><img src="<?php echo $visit_iconsUrl."pinit_bck.png"; ?>" /></div>
|
236 |
</div>
|
@@ -253,9 +253,9 @@ $pin_url=($option2['sfsi_plus_pinterest_pageUrl']!='') ? $option2['sfsi_plus_pi
|
|
253 |
</h4>
|
254 |
<div class="adminTooltip" >
|
255 |
<a href="javascript:"><img width="51" class="sfsi_wicon" src="<?php echo SFSI_PLUS_PLUGURL;?>images/linked_in.png" title="LinkedIn" alt="LinkedIn"/></a>
|
256 |
-
<div class="
|
257 |
<span class="bot_arow bot_linkedin_arow"></span>
|
258 |
-
<div class="
|
259 |
<div style="margin:1px 5px;" class="linkin_1"><img src="<?php echo $visit_iconsUrl."linkedIn.png"; ?>" /></div>
|
260 |
<div class="linkin_2"><img src="<?php echo $visit_iconsUrl."linkinflw_bck.png"; ?>" /></div>
|
261 |
<div class="linkin_3"><img src="<?php echo $visit_iconsUrl."lnkdin_share_bck.png"; ?>" /></div>
|
103 |
|
104 |
<div class="adminTooltip" >
|
105 |
<a href="javascript:"><img width="51" class="sfsi_wicon" src="<?php echo SFSI_PLUS_PLUGURL; ?>images/facebook.png" title="facebook" alt="facebook" /></a>
|
106 |
+
<div class="sfsi_plus_tool_tip_2 sfsi_plus_tool_tip_2_inr sfsi_plus_fb_tool_bdr" style="width: 59px;margin-left: -48.5px;">
|
107 |
<span class="bot_arow bot_fb_arow "></span>
|
108 |
+
<div class="sfsi_plus_inside fbb">
|
109 |
<div class="fb_1"><img src="<?php echo $visit_iconsUrl."facebook.png"; ?>" /></div>
|
110 |
<div class="fb_2"><img src="<?php echo $visit_iconsUrl."fblike_bck.png"; ?>" /></div>
|
111 |
<div class="fb_3"><img src="<?php echo $visit_iconsUrl."fbshare_bck.png"; ?>" /></div>
|
154 |
|
155 |
<div class="adminTooltip" >
|
156 |
<a href="javascript:"><img width="51" class="sfsi_wicon" src="<?php echo SFSI_PLUS_PLUGURL; ?>images/twitter.png" title="Twitter" alt="Twitter" /></a>
|
157 |
+
<div class="sfsi_plus_tool_tip_2 sfsi_plus_tool_tip_2_inr sfsi_plus_twt_tool_bdr" style="width: 59px;margin-left: -48.5px;">
|
158 |
<span class="bot_arow bot_twt_arow"></span>
|
159 |
+
<div class="sfsi_plus_inside" >
|
160 |
<div class="twt_3"><img src="<?php echo $visit_iconsUrl."twitter.png"; ?>" /></div>
|
161 |
<div class="twt_1"><img src="<?php echo $visit_iconsUrl."twfollow_bck.png"; ?>" /></div>
|
162 |
<div class="twt_2"><img src="<?php echo $visit_iconsUrl."twtweet_bck.png"; ?>" /></div>
|
179 |
|
180 |
<div class="adminTooltip" >
|
181 |
<a href="javascript:"><img width="51" class="sfsi_wicon" src="<?php echo SFSI_PLUS_PLUGURL; ?>images/google_plus.png" title="google+" alt="google"/></a>
|
182 |
+
<div class="sfsi_plus_tool_tip_2 sfsi_plus_tool_tip_2_inr sfsi_plus_gpls_tool_bdr" style="display: block; margin-left: -76.5px; margin-left: -55.5px;">
|
183 |
<span class="bot_arow bot_gpls_arow"></span>
|
184 |
+
<div class="sfsi_plus_inside">
|
185 |
<div class="gpls_visit"><img src="<?php echo $visit_iconsUrl."google.png"; ?>" /></div>
|
186 |
<div class="gtalk_2"><img src="<?php echo $visit_iconsUrl."gplus_like.png"; ?>" /></div>
|
187 |
<div class="gtalk_3"><img src="<?php echo $visit_iconsUrl."gplus_share.png"; ?>" /></div>
|
205 |
|
206 |
<div class="adminTooltip" >
|
207 |
<a href="javascript:"><img width="51" class="sfsi_wicon" src="<?php echo SFSI_PLUS_PLUGURL; ?>images/youtube.png" title="youtube" alt="youtube" /></a>
|
208 |
+
<div class="sfsi_plus_tool_tip_2 sfsi_plus_tool_tip_2_inr utube_tool_bdr" style=" margin-left: -67px; width: 96px;" >
|
209 |
<span class="bot_arow bot_utube_arow"></span>
|
210 |
+
<div class="sfsi_plus_inside">
|
211 |
<div class="utub_visit"><img src="<?php echo $visit_iconsUrl."youtube.png"; ?>" /></div>
|
212 |
<div class="utub_2"><img src="<?php echo $visit_iconsUrl."youtube_bck.png"; ?>" /></div>
|
213 |
</div>
|
228 |
|
229 |
<div class="adminTooltip" >
|
230 |
<a href="javascript:"><img width="51" class="sfsi_wicon" src="<?php echo SFSI_PLUS_PLUGURL; ?>images/pinterest.png" title="pinterest" alt="pinterest" /></a>
|
231 |
+
<div class="sfsi_plus_tool_tip_2 sfsi_plus_tool_tip_2_inr sfsi_plus_printst_tool_bdr" style=" width: 73px; margin-left: -55.5px;" >
|
232 |
<span class="bot_arow bot_pintst_arow"></span>
|
233 |
+
<div class="sfsi_plus_inside">
|
234 |
<div class="prints_visit"><img src="<?php echo $visit_iconsUrl."pinterest.png"; ?>" /></div>
|
235 |
<div class="prints_visit_1"><img src="<?php echo $visit_iconsUrl."pinit_bck.png"; ?>" /></div>
|
236 |
</div>
|
253 |
</h4>
|
254 |
<div class="adminTooltip" >
|
255 |
<a href="javascript:"><img width="51" class="sfsi_wicon" src="<?php echo SFSI_PLUS_PLUGURL;?>images/linked_in.png" title="LinkedIn" alt="LinkedIn"/></a>
|
256 |
+
<div class="sfsi_plus_tool_tip_2 sfsi_plus_tool_tip_2_inr sfsi_plus_linkedin_tool_bdr" style=" width: 99px; margin-left: -68.5px;">
|
257 |
<span class="bot_arow bot_linkedin_arow"></span>
|
258 |
+
<div class="sfsi_plus_inside">
|
259 |
<div style="margin:1px 5px;" class="linkin_1"><img src="<?php echo $visit_iconsUrl."linkedIn.png"; ?>" /></div>
|
260 |
<div class="linkin_2"><img src="<?php echo $visit_iconsUrl."linkinflw_bck.png"; ?>" /></div>
|
261 |
<div class="linkin_3"><img src="<?php echo $visit_iconsUrl."lnkdin_share_bck.png"; ?>" /></div>
|