Jump to content

Banner Fade - Efectul Fade La Bannere Si Imagini


gaby

Recommended Posts

<!-- Start cod - [url=http://pctroubleshooting.ro]http://pctroubleshooting.ro[/url] -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<script language="JavaScript">

bannerFadeObjects = new Object();
bannerFadeTimers = new Object();
function bannerFade(object, destOp, rate, delta){
if (!document.all)
return
if (object != "[object]"){
setTimeout("bannerFade("+object+","+destOp+","+rate+","+delta+")",0);
return;
}
clearTimeout(bannerFadeTimers[object.sourceIndex]);
diff = destOp-object.filters.alpha.opacity;
direction = 1;
if (object.filters.alpha.opacity > destOp){
direction = -1;
}
delta=Math.min(direction*diff,delta);
object.filters.alpha.opacity+=direction*delta;
if (object.filters.alpha.opacity != destOp){
bannerFadeObjects[object.sourceIndex]=object;
bannerFadeTimers[object.sourceIndex]=setTimeout("bannerFade(bannerFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);
}
}
</script>
</head>
<body>
<TABLE cellspacing="0" cellpadding="0" width="80%" align="center">
<TR>
<TD width="100%" align="center">
<a href="Link-ul unde va va duce atunci cand veti da click pe poza" target=_blank><IMG onmouseover=bannerFade(this,100,20,7) style="FILTER: alpha(opacity=33)" onmouseout=bannerFade(this,33,50,7) src="Imiaginea sau banner-ul dumneavoastra aici, cu tot cu extensie .gif .png .jpg" border=0></a>
</TD>
</TR>
</TABLE>
</body>
</html>
<!-- Sfarsit cod - [url=http://pctroubleshooting.ro]http://pctroubleshooting.ro[/url] -->

Pentru un exemplu click aici

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.
--------------------
oG2BN9d.gifse1WdXd.gifQG6MtmI.gifRHYjDzD.gifG5p1wui.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.