Richard. at 02h00
31
Dec
2011
How can i change the imagines from the Blog bookmark, SS:

1 Richard., on 01/01/2012 at 07h34
bump
2 FL.ux, on 01/01/2012 at 07h41
i think there's no way 

3 robot_boy18, on 01/01/2012 at 08h48
I give you the example for twitter
Take a look at this css
- Code:
#bookmarks a img.twitter {background-image:url('your image url');}
4 Coddy, on 01/01/2012 at 12h56
Try to add in your JavaScript management:
So, this code works very simple:
jQuery('div#bookmarks a img') = This code give the css selectors;
if(jQuery(this).attr('src') == 'LINK_ORIGINAL_IMAGE') = If the image attribute src from img tag that are selectors (div#bookmarks a img) is a certain image link replace that attribute's src value with new image;
jQuery(this).attr('src', 'LINK_NEW_IMAGE'); = As I said below, this code replace the value's src attribute.
I give you an example with first image:
(http://illiweb.com/fa/social_bookmarking/twitter.png)
Enjoy!
- Code:
jQuery(document).ready(function() {
jQuery('div#bookmarks a img').each(function() {
if(jQuery(this).attr('src') == 'LINK_ORIGINAL_IMAGE') jQuery(this).attr('src', 'LINK_NEW_IMAGE');
});
})
So, this code works very simple:
jQuery('div#bookmarks a img') = This code give the css selectors;
if(jQuery(this).attr('src') == 'LINK_ORIGINAL_IMAGE') = If the image attribute src from img tag that are selectors (div#bookmarks a img) is a certain image link replace that attribute's src value with new image;
jQuery(this).attr('src', 'LINK_NEW_IMAGE'); = As I said below, this code replace the value's src attribute.
I give you an example with first image:
(http://illiweb.com/fa/social_bookmarking/twitter.png)
- Code:
jQuery(document).ready(function() {
jQuery('div#bookmarks a img').each(function() {
if(jQuery(this).attr('src') == 'http://illiweb.com/fa/social_bookmarking/twitter.png') jQuery(this).attr('src', 'http://i.imgur.com/8xvmW.gif');
});
})
Enjoy!
5 Richard., on 01/01/2012 at 16h04
Thanks Gassy.
6 Coddy, on 01/01/2012 at 16h16
My pleasure. 
7 Sanket, on 01/01/2012 at 19h06
| Topic Solved & Locked |
Similar topics
(sorry my english)
how to change panImage boot loading image?
my rom is PanImage_WMT2.1.6_105_GE_script.7z
I would like to change the image loading of boot ROM for the original (the android robot), but keep the "android" loading (before OS
Hi,
I am wondering how I can change the image on the title of my forum
Picture -
change that yellow (i dont know the name)
and change it with
Replies 1 to 7 on 7 for "change bookmarks image"
Search
Informations
7 Replies For the topic :
"change bookmarks image"
This topic has been viewed 740 times.
Last message :
31/12/2011 at 02h00 by "Richard."





