PDA

View Full Version : My affiliate box.


perko
09-01-2004, 11:09 PM
I'm having trouble with my aff. box. The images keep on staying to the side a bit so not all the image can be seen. My source code is:

<html>
<head>
<link href="style.css" type="text/css" rel="stylesheet">
<script>
<!--
nereidFadeObjects = new Object();
nereidFadeTimers = new Object();

function nereidFade(object, destOp, rate, delta){
if (!document.all)
return
if (object != "[object]"){ //do this so I can take a string too
setTimeout("nereidFade("+object+","+destOp+","+rate+","+delta+")",0);
return;
}

clearTimeout(nereidFadeTimers[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){
nereidFadeObjects[object.sourceIndex]=object;
nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);
}
}
-->
</script>
</head>
<body bgcolor="#201504">
<font color="white" face="verdana" size="1">

<MARQUEE onmouseover=this.stop() style="WIDTH: 96px; HEIGHT: 126px" onmouseout=this.start() scrollAmount=1 scrollDelay=60 direction=up width=140 height=80>

<a target="_blank" href="http://www.c0ntext.net"><img src="images/link.gif" border="0" Alt=" " style="filter:alpha(opacity=40)" onmouseover="nereidFade(this,100,30,5)" onmouseout="nereidFade(this,40,50,5)"></a>

</MARQUEE>

<script language=JavaScript>
<!--

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com)
//For full source code, visit http://www.dynamicdrive.com

var message="Copyrighted!!";
///////////////////////////////////
function clickIE() {if (document.all) {alert(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {alert(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
// -->
</script>
</body>


</html>
I'm think it might possibly be the <IFRAME> coding but I can't fina ny error in it at all. Can you help me!?

Terminator1138
09-02-2004, 05:05 AM
Do you have a site we can look at for example to see what is goin on!

perko
09-03-2004, 02:33 PM
bt-graphixs.net

perko
09-03-2004, 06:22 PM
I'm having trouble determing the amount of px for the code, the closest i can get to with the left is 17px. The top is the big problem, check my site you will see whats happening. and for some bizzare reason i had to use right instead of left, left would make it go right and right would make it go left.

Also, is there a way of useing that little blank part on the left of the affiliate panel?

perko
09-03-2004, 07:36 PM
Holy ****! It actually works! You are my Idol man :P