diff options
-rw-r--r-- | css/v2/style1.css | 18 | ||||
-rw-r--r-- | frontend/images/master-share.png | bin | 4166 -> 5391 bytes | |||
-rw-r--r-- | frontend/images/share/buzz.png | bin | 0 -> 832 bytes | |||
-rw-r--r-- | frontend/images/share/twitter.png | bin | 0 -> 563 bytes | |||
-rw-r--r-- | js/v2/share.js | 12 |
5 files changed, 22 insertions, 8 deletions
diff --git a/css/v2/style1.css b/css/v2/style1.css index 8f3b338..db18c9e 100644 --- a/css/v2/style1.css +++ b/css/v2/style1.css | |||
@@ -1124,14 +1124,16 @@ span.outlink:hover { | |||
1124 | #menuOpenCWindow4 img {background: transparent url(images/master-icons.png?v=0) no-repeat -171px 0px;} /* medit */ | 1124 | #menuOpenCWindow4 img {background: transparent url(images/master-icons.png?v=0) no-repeat -171px 0px;} /* medit */ |
1125 | #logout img {background: transparent url(images/master-icons.png?v=0) no-repeat -219px 0px;} /* mlogout */ | 1125 | #logout img {background: transparent url(images/master-icons.png?v=0) no-repeat -219px 0px;} /* mlogout */ |
1126 | 1126 | ||
1127 | .share-email {background: transparent url(images/master-share.png?v=0) no-repeat -32px 0px;} | 1127 | .share-buzz {background: transparent url(images/master-share.png?v=1) no-repeat 0 0;} |
1128 | .share-facebook {background: transparent url(images/master-share.png?v=0) no-repeat -48px 0px;} | 1128 | .share-delicious {background: transparent url(images/master-share.png?v=1) no-repeat -16px 0px;} |
1129 | .share-ff {background: transparent url(images/master-share.png?v=0) no-repeat -64px 0px;} | 1129 | .share-digg {background: transparent url(images/master-share.png?v=1) no-repeat -32px 0px;} |
1130 | .share-delicious {background: transparent url(images/master-share.png?v=0) no-repeat 0px 0px;} | 1130 | .share-email {background: transparent url(images/master-share.png?v=1) no-repeat -48px 0px;} |
1131 | .share-digg {background: transparent url(images/master-share.png?v=0) no-repeat -16px 0px;} | 1131 | .share-facebook {background: transparent url(images/master-share.png?v=1) no-repeat -64px 0px;} |
1132 | .share-reddit {background: transparent url(images/master-share.png?v=0) no-repeat -96px 0px;} | 1132 | .share-ff {background: transparent url(images/master-share.png?v=1) no-repeat -80px 0px;} |
1133 | .share-stumbleupon {background: transparent url(images/master-share.png?v=0) no-repeat -112px 0px;} | 1133 | .share-google {background: transparent url(images/master-share.png?v=1) no-repeat -96px 0px;} |
1134 | .share-google {background: transparent url(images/master-share.png?v=0) no-repeat -80px 0px;} | 1134 | .share-reddit {background: transparent url(images/master-share.png?v=1) no-repeat -112px 0px;} |
1135 | .share-stumbleupon {background: transparent url(images/master-share.png?v=1) no-repeat -128px 0px;} | ||
1136 | .share-twitter {background: transparent url(images/master-share.png?v=1) no-repeat -144px 0px;} | ||
1135 | 1137 | ||
1136 | .img-audio {background: transparent url(images/master-media.png?v=0) no-repeat 0 0; width: 32px; height: 32px;} | 1138 | .img-audio {background: transparent url(images/master-media.png?v=0) no-repeat 0 0; width: 32px; height: 32px;} |
1137 | .img-image {background: transparent url(images/master-media.png?v=0) no-repeat -32px 0; width: 32px; height: 32px;} | 1139 | .img-image {background: transparent url(images/master-media.png?v=0) no-repeat -32px 0; width: 32px; height: 32px;} |
diff --git a/frontend/images/master-share.png b/frontend/images/master-share.png index ce09c94..7af999e 100644 --- a/frontend/images/master-share.png +++ b/frontend/images/master-share.png | |||
Binary files differ | |||
diff --git a/frontend/images/share/buzz.png b/frontend/images/share/buzz.png new file mode 100644 index 0000000..5e1c6b0 --- /dev/null +++ b/frontend/images/share/buzz.png | |||
Binary files differ | |||
diff --git a/frontend/images/share/twitter.png b/frontend/images/share/twitter.png new file mode 100644 index 0000000..b320612 --- /dev/null +++ b/frontend/images/share/twitter.png | |||
Binary files differ | |||
diff --git a/js/v2/share.js b/js/v2/share.js index 90d1ac4..b8dee52 100644 --- a/js/v2/share.js +++ b/js/v2/share.js | |||
@@ -104,6 +104,14 @@ Modules.Share = new function () { | |||
104 | {className:'linkCM', target:'google', | 104 | {className:'linkCM', target:'google', |
105 | href:'http://www.google.com/bookmarks/mark?op=add&bkmk=' + href + '&title=' + desc}, | 105 | href:'http://www.google.com/bookmarks/mark?op=add&bkmk=' + href + '&title=' + desc}, |
106 | [' <img class="share-google" src="images/t.gif" width="16" height="16" alt="" /> Google </span>']); | 106 | [' <img class="share-google" src="images/t.gif" width="16" height="16" alt="" /> Google </span>']); |
107 | var bzz = DCE ('a', | ||
108 | {className:'linkCM', target:'buzz', | ||
109 | href:'http://www.google.com/buzz/post?url=' + href}, | ||
110 | [' <img class="share-buzz" src="images/t.gif" width="16" height="16" alt="" /> Buzz </span>']); | ||
111 | var twt = DCE ('a', | ||
112 | {className:'linkCM', target:'twitter', | ||
113 | href:'http://twitter.com/?status=' + href}, | ||
114 | [' <img class="share-twitter" src="images/t.gif" width="16" height="16" alt="" /> Twitter </span>']); | ||
107 | 115 | ||
108 | setCmhLink (mail, null); | 116 | setCmhLink (mail, null); |
109 | setCmhLink (ff, null); | 117 | setCmhLink (ff, null); |
@@ -113,14 +121,18 @@ Modules.Share = new function () { | |||
113 | setCmhLink (fac, null); | 121 | setCmhLink (fac, null); |
114 | setCmhLink (stu, null); | 122 | setCmhLink (stu, null); |
115 | setCmhLink (goo, null); | 123 | setCmhLink (goo, null); |
124 | setCmhLink (bzz, null); | ||
125 | setCmhLink (twt, null); | ||
116 | 126 | ||
117 | menu.appendChild (mail); | 127 | menu.appendChild (mail); |
118 | menu.appendChild (fac); | 128 | menu.appendChild (fac); |
129 | menu.appendChild (bzz); | ||
119 | menu.appendChild (ff); | 130 | menu.appendChild (ff); |
120 | menu.appendChild (dlc); | 131 | menu.appendChild (dlc); |
121 | menu.appendChild (dig); | 132 | menu.appendChild (dig); |
122 | menu.appendChild (red); | 133 | menu.appendChild (red); |
123 | menu.appendChild (stu); | 134 | menu.appendChild (stu); |
135 | menu.appendChild (twt); | ||
124 | menu.appendChild (goo); | 136 | menu.appendChild (goo); |
125 | 137 | ||
126 | menu.style.width = (menuLength * 0.50 + 1) + 'em'; | 138 | menu.style.width = (menuLength * 0.50 + 1) + 'em'; |