98
98
.contents {
99
99
margin : 0 30px ;
100
100
}
101
+
102
+ .fb-like {
103
+ width : 52px !important ;
104
+ margin : 0 26px 0 0 ;
105
+ padding : 0 ;
106
+ position : relative;
107
+ display : inline-block;
108
+ top : -3px ;
109
+ }
101
110
</ style >
102
111
< link href ="/css/bootstrap-responsive.css " rel ="stylesheet ">
103
112
@@ -122,16 +131,19 @@ <h3 class="muted">html2pdf.it - HTML5, CSS3 and JavaScript supported.</h3>
122
131
< h1 > Web pages as PDF</ h1 >
123
132
124
133
< div id ="fb-root "> </ div >
125
- < script > ( function ( d , s , id ) {
126
- if ( document . location . href . indexOf ( "html2pdf.it" ) !== - 1 ) {
127
- var js , fjs = d . getElementsByTagName ( s ) [ 0 ] ;
128
- if ( d . getElementById ( id ) ) return ;
129
- js = d . createElement ( s ) ;
130
- js . id = id ;
131
- js . src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=253053011377188" ;
132
- fjs . parentNode . insertBefore ( js , fjs ) ;
133
- }
134
- } ( document , 'script' , 'facebook-jssdk' ) ) ; </ script >
134
+ < script >
135
+ var loadSocial = false ;
136
+ ( function ( d , s , id ) {
137
+ if ( loadSocial || document . location . href . indexOf ( "html2pdf.it" ) !== - 1 ) {
138
+ var js , fjs = d . getElementsByTagName ( s ) [ 0 ] ;
139
+ if ( d . getElementById ( id ) ) return ;
140
+ js = d . createElement ( s ) ;
141
+ js . id = id ;
142
+ js . src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=253053011377188" ;
143
+ fjs . parentNode . insertBefore ( js , fjs ) ;
144
+ }
145
+ } ( document , 'script' , 'facebook-jssdk' ) ) ;
146
+ </ script >
135
147
< script type ="text/javascript " src ="/js/spin.min.js "> </ script >
136
148
< script type ="text/javascript ">
137
149
function spinme ( ) {
@@ -272,18 +284,16 @@ <h4>Contact?</h4>
272
284
273
285
274
286
< hr >
275
- < div class =" row-fluid " >
287
+ < div >
276
288
277
289
278
- < div class ="span6 ">
279
- < div class ="fb-like-box " data-href ="http://www.facebook.com/html2pdf.it " data-width ="200 " data-height ="100 "
280
- data-show-faces ="false " data-stream ="false " data-header ="false "> </ div >
281
- </ div >
282
- < div class ="span6 ">
290
+ < div class ="">
291
+ < div class ="fb-like " data-href ="http://www.facebook.com/html2pdf.it " data-send ='false '
292
+ data-layout ='button_count ' data-width ='52 ' data-show-faces ='false '> </ div >
283
293
< a href ="https://twitter.com/html2pdfit " class ="twitter-follow-button " data-show-count ="false "
284
294
data-size ="large "> Follow @html2pdfit</ a >
285
295
< script >
286
- if ( document . location . href . indexOf ( "html2pdf.it" ) !== - 1 ) {
296
+ if ( loadSocial || document . location . href . indexOf ( "html2pdf.it" ) !== - 1 ) {
287
297
! function ( d , s , id ) {
288
298
var js , fjs = d . getElementsByTagName ( s ) [ 0 ] , p = / ^ h t t p : / . test ( d . location ) ? 'http' : 'https' ;
289
299
if ( ! d . getElementById ( id ) ) {
0 commit comments