Post by Blaze on Jan 16, 2006 8:49:16 GMT -5
Hi
I'm using this affiliate code
I would like it edited so that you get a mouse pointer when hovering over the start/stop buttons, when hovering over the mini banner and when hovering over those things that make it go faster or in the other direction.
Thanks in advance for the help.
Regards
Blaze
I'm using this affiliate code
<style type="text/css">
.afffaded{
filter:alpha(opacity=42);
opacity: .42;
}
.affsolid{
filter:alpha(opacity=100);
opacity: 1;
}
.affbtn{
height: 10px
border: 1px 000000 dotted;
text-align: center;
}
#aff_on{
background-color: 00ff00;
}
#aff_off{
background-color: ff0000;
}
#aff_left, #aff_right{
marign: auto;
text-align: center;
}
#aff_mar img{
padding-right: 5px;
}
</style>
<table cellpadding="0" border="0" cellspacing="0" class="bordercolor" width="92%" align="center"><tr><td>
<table border="0" cellpadding="4" cellspacing="1" width="100%">
<tr class="titlebg">
<td colspan="4">
<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
<tr>
<td class="afffaded" width="10">
<div id="aff_off" class="affbtn" onclick="goOff(); return false;">•</div>
</td>
<td width="6"> </td>
<td class="affsolid" width="10">
<div id="aff_on" class="affbtn" onclick="goOn(); return false;">•</div>
</td>
<td align="center" class="catbg">
<font class="text1" size="2"><b>Affiliates</b></font>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="30" class="windowbg" onmouseover="goLeft(); return false;" onmouseout="stopMove(); return false">
<div id="aff_left"><</div>
</td>
<td class="windowbg2" style="padding-left:0px;padding-right:0px;" width="99%">
<marquee id="aff_mar" scrollamonut="4" width="100%" height="100%">
<a href="http://eventh0rizon.proboards77.com"><img src="http://tinypic.com/ir3vbm.gif" border="0" alt="Event Horizon" /></a>
<a href="http://chesstips.proboards75.com"><img src="http://img371.imageshack.us/img371/5420/ctomini28ey9dj.gif" border="0" alt="Chess tips online" /></a>
<a href="http://captkozmo.proboards1.com"><img src="http://img120.imageshack.us/img120/7959/tctmini7qz.jpg" border="0" alt="The Captains Table" /></a>
<a href="http://enterthe.proboards32.com"><img src="http://i7.photobucket.com/albums/y268/sixpackman6/simpsonsminibanner.gif" border="0" alt="The Simpsons" /></a>
<a href="http://magictrapeffect.proboards31.com"><img src="http://img229.imageshack.us/img229/4585/affil2eu.gif" border="0" alt="Yu-Gi-Oh Training card game" /></a>
<a href="http://www.solemnpromises.proboards42.com"><img src="http://i16.photobucket.com/albums/b28/raine-lizander/logo.gif" border="0" alt="Black Emyrean" /></a>
<a href="http://www.pbsupport2.proboards29.com"><img src="http://www.edgeofcreation.net/imgs/forums/PBS2/pbs2mini.gif" border="0" alt="Proboards Support2" /></a>
<a href="http://atraincentre.proboards27.com"><img src="http://i3.photobucket.com/albums/y51/lockdown92/v3%20admin/minibanner.gif" border="0" alt="Adimistrator training centre" /></a>
<a href="http://socal.proboards26.com"><img src="http://www.socal-files.com/neon/promotion/minibanner1.gif" border="0" alt="SoCal" /></a>
<a href="http://mumsworld.net"><img src="http://img283.imageshack.us/img283/4306/minibanner7na.jpg" border="0" alt="Mum's World" /></a>
</marquee>
</td>
<td width="30" class="windowbg" onmouseover="goRight(); return false;" onmouseout="stopMove(); return false">
<div id="aff_right">></div>
</td>
<td class="windowbg" width="92">
<img id="aff_mini" src="http://img.photobucket.com/albums/v191/obieglo/Rox%20General%20Forum/mini1zj.gif" alt="Mini Banner" onclick="doAff(); return false;" />
</td>
</tr>
</table>
</td></tr></table>
<form name="aff" id="aff"><textarea style="z-index:-6;position:relative;top:-1;" name="code" id="code"><a href="http://www.roxg.proboards80.com/"><img src="http://img.photobucket.com/albums/v191/obieglo/Rox%20General%20Forum/mini1zj.gif" alt="Gray Grid Designs" border="0" /></a></textarea></form>
<script type="text/javascript">
var affOff = document.getElementById("aff_off");
var affOn = document.getElementById("aff_on");
var affMar = document.getElementById("aff_mar");
var affImages = affMar.getElementsByTagName("img")
var marOnOff = 1;
var marDir = 1;
var marSpeed = 4;
var marBtnMsOvr = 0;
var marFutDir = 1;
if ((navigator.appName=="Microsoft Internet Explorer") && (parseInt(navigator.appVersion)>=4)) {
document.aff.code.style.display = "none";
}
for (i=0; i<affImages.length; i++){
affImages.item(i).className = "afffaded";
affImages.item(i).onmouseover = function (){this.className = "affsolid";};
affImages.item(i).onmouseout = function (){this.className = "afffaded";};
}
function goOff(){
if (marOnOff == 1){
marOnOff = 0;
affMar.stop();
affOn.parentNode.className = "afffaded";
affOff.parentNode.className = "affsolid";
}
}
function goOn(){
if (marOnOff == 0){
marOnOff = 1;
affMar.start();
affOn.parentNode.className = "affsolid";
affOff.parentNode.className = "afffaded";
}
}
function stepSpeed(){
if (marSpeed <= 100 && marBtnMsOvr != 0){
marSpeed = marSpeed + 2;
affMar.scrollAmount = marSpeed;
setTimeout("stepSpeed()", 100);
}
}
function stepSpeedDwn(){
if (marSpeed > 2 && marBtnMsOvr != 0){
marSpeed = marSpeed - 2;
affMar.scrollAmount = marSpeed;
setTimeout("stepSpeedDwn()", 100);
}
else if (marBtnMsOvr != 0){
if (marFutDir == 1){
goLeft();
}
else if (marFutDir == 2){
goRight();
}
}
}
function goRight(){
if (marDir == 1){
marBtnMsOvr = 1;
if (marSpeed > 2){
marFutDir = 2;
setTimeout("stepSpeedDwn()", 250);
}
else {
affMar.direction = "right"
marDir = 2;
setTimeout("stepSpeed()", 500);
}
}
else{
marBtnMsOvr = 1;
setTimeout("stepSpeed()", 250);
}
}
function goLeft(){
if (marDir == 2){
marBtnMsOvr = 1;
if (marSpeed > 2){
marFutDir = 1;
setTimeout("stepSpeedDwn()", 250);
}
else {
affMar.direction = "left"
marDir = 1;
setTimeout("stepSpeed()", 500);
}
}
else{
marBtnMsOvr = 1;
setTimeout("stepSpeed()", 250);
}
}
function stopMove(){
marBtnMsOvr = 0;
}
function highlightCode(){
document.aff.code.select();
}
function copyCode(){
highlightCode();
textRange = document.aff.code.createTextRange();
textRange.execCommand("RemoveFormat");
textRange.execCommand("Copy");
alert("The affilate code has been copied to your clipboard.");
}
function doAff(){
if ((navigator.appName=="Microsoft Internet Explorer") && (parseInt(navigator.appVersion)>=4)) {
copyCode();
}
else {
highlightCode();
alert("Press [ctrl] + c to copy the affilate code to your clipboard");
}
}
</script>
I would like it edited so that you get a mouse pointer when hovering over the start/stop buttons, when hovering over the mini banner and when hovering over those things that make it go faster or in the other direction.
Thanks in advance for the help.
Regards
Blaze