Giải pháp là thêm một đoạn script nhỏ khi đưa thư viện Prototype vào Blogger. Thường thì ta đặt đoạn code sau đây vào trước thẻ </head> trong Template.
<script src='http://www.google.com/jsapi'/>
<script>
google.load("prototype", "1.6.1.0");
google.load("scriptaculous", "1.8.3");
</script>
<script>
google.load("prototype", "1.6.1.0");
google.load("scriptaculous", "1.8.3");
</script>
Để khắc phục vấn đề không hiển thị tiện ích Người theo dõi, cần phải sử dụng đoạn code như thế này.
<script src='http://www.google.com/jsapi'/>
<script>
google.load("prototype", "1.6.1.0");
window.JSON = {
parse: function (st) { return st.evalJSON(); },
stringify: function(obj) { return Object.toJSON(obj); }
};
google.load("scriptaculous", "1.8.3");
</script>
<script>
google.load("prototype", "1.6.1.0");
window.JSON = {
parse: function (st) { return st.evalJSON(); },
stringify: function(obj) { return Object.toJSON(obj); }
};
google.load("scriptaculous", "1.8.3");
</script>
Phần được đánh dấu màu đỏ là phần thêm vào để xử lý sự không tương thích giữa Prototype và script trong tiện ích Người theo dõi.
Unknown
15 June, 2015 15:18
toms shoes
chanel online shop
chanel handbags
abercrombie outlet
tory burch outlet
oakley sunglasses outlet
kate spade outlet
tory burch shoes
kate spade uk
nike air max
gucci outlet
gucci outlet
ralph lauren outlet
michael kors handbags
hollister clothing store
air max 90
tory burch handbags
burberry handbags
coach outlet
cheap jordans
gucci uk
ray ban uk
prada outlet
cheap jerseys
soccer jerseys
true religion jeans
ray ban sunglasses
burberry outlet
ray bans
chanel outlet
coach outlet online
oakley sunglasses wholesale
christian louboutin outlet
tory burch outlet online
fitflops sale clearance