You are viewing a post by sekya. View all 122 posts in Script ini untuk membuat image bergoyang/bergetar bila dilalui mouse (mouse hoover) ... Image yang dapat dibuat bergetar : [quote]Primary Picture Image yang teredapat dalam box : - Gallery, - F.
[spoiler]
if (!attachOnLoadHandler(function() { primaryImg();})) window.onload = function() { primaryImg();};
function primaryImg() {
PRIMARYIMAGE.init();
}
if (typeof PRIMARYIMAGE == "undefined") { PRIMARYIMAGE = {}; }
PRIMARYIMAGE = {
HTML: [], sibling: [],
init: function() {
this.HTML = document.createElement("DIV");
this.HTML.innerHTML = "[b]<object type=\"application/x-shockwave-flash\" data=\"http://widget-a7.slide.com/widgets/slideticker.swf\" [color=#FF0000]class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'[/color]height=\"320\" width=\"426\" style=\"width:220px;height:260px\"><param name=\"movie\" value=\"http://widget-a7.slide.com/widgets/slideticker.swf\" /><param name=\"quality\" value=\"high\" /><param name=\"scale\" value=\"noscale\" /><param name=\"salign\" value=\"l\" /><param name=\"wmode\" value=\"transparent\"/> <param name=\"flashvars\" value=\"cy=ms&il=1&channel=432345564254405287&site=widget-a7.slide.com\"/></object><p><a href=\"http://www.slide.com/pivot?cy=ms&ad=0&id=432345564254405287&map=1\" target=\"_blank\"></object>[/b]";
this.sibling = this.getModuleByClassName(/imgblock200/i)[0];
this.sibling.parentNode.replaceChild(this.HTML,this.sibling);
},
getModuleByClassName: function(sClass) {
var elm = [];
var els = document.getElementsByTagName("*") || document.all;
for (var j=0,k=els.length;j<k;j++) {
if (new RegExp(sClass).test(els[j].className))elm.push(els[j]);
}
return elm;
}
};
[/spoiler]
tambahin iang merah
maab kalo salah
soalna coba2
misal bener2 salah tanya mas cepok iah
itu code slide na punya gw
silahkan di ganti
kalopun kaga juga gag papa
tar iang nongol vutu cowo cakeb koq
[b]*edited[/b]
bener tibak'e
kondo raiso tak jotosi
Last edited by sekya (2008-06-13 10:59:01)