|
Post by Disciple on Jul 31, 2005 22:36:56 GMT -8
nope samething happen i been at this thing for at least 4 hours now i just dont get whats make it have that extra space
|
|
|
Post by CD on Jul 31, 2005 22:43:41 GMT -8
I'm not sure either.... and I need some sleep, so wait for Marty, Crazy_J, or Naruto. Sory about that.
|
|
|
Post by Disciple on Jul 31, 2005 22:46:46 GMT -8
its ok thanks for the help
|
|
|
Post by Marty on Jul 31, 2005 22:55:05 GMT -8
Try this:
<script> // PM Bar for Disciple by CDDude229 var aTD = document.getElementsByTagName("TD");
// Guest links to login, if you want register, let me know. var guest = "http://img19.imageshack.us/img19/3752/loginmessages2pi.gif"; var no_new = "http://img82.imageshack.us/img82/8712/nomessages0ah.gif"; var new_pm = "http://img82.imageshack.us/img82/3236/messages8zv.gif";
// No need to edit below here. if(aTD[2].innerHTML.match(/Welcome/i)){ var data = "<a href='/index.cgi?action=login'><img src='"+guest+"' border='0' align='left'></a>";
} else if(aTD[2].innerHTML.match(/0 are new/i)){ var data = "<a href='/index.cgi?action=pm'><img src='"+no_new+"' border='0' align='left'></a>";
} else { var data = "<a href='index.cgi?action=pm'><img src='"+new_pm+"' border='0' align='left'></a>";
}
aTD[5].align="right" aTD[5].innerHTML=data+aTD[5].innerHTML; </script>
|
|
|
Post by Disciple on Aug 1, 2005 9:49:52 GMT -8
that makes all the buttons have that little white line above them
|
|
|
Post by CD on Aug 1, 2005 12:15:38 GMT -8
This will not look the same, but I hope that's ok. Try this.
<script> // PM Bar for Disciple by CDDude229 var aTD = document.getElementsByTagName("TD");
// Guest links to login, if you want register, let me know. var guest = "http://img19.imageshack.us/img19/3752/loginmessages2pi.gif"; var no_new = "http://img82.imageshack.us/img82/8712/nomessages0ah.gif"; var new_pm = "http://img82.imageshack.us/img82/3236/messages8zv.gif";
// No need to edit below here. if(aTD[2].innerHTML.match(/Welcome/i)){ var data = "<a href='/index.cgi?action=login'><img src='"+guest+"' border='0' align='left'></a>";
} else if(aTD[2].innerHTML.match(/0 are new/i)){ var data = "<a href='/index.cgi?action=pm'><img src='"+no_new+"' border='0' align='left'></a>";
} else { var data = "<a href='index.cgi?action=pm'><img src='"+new_pm+"' border='0' align='left'></a>";
}
aTD[5].align="right" aTD[5].innerHTML+=data; </script>
|
|
|
Post by Disciple on Aug 1, 2005 12:23:43 GMT -8
yep that line goes on all the buttons with that one
|
|
|
Post by CD on Aug 1, 2005 17:58:08 GMT -8
The images may have a one pixel difference in height, check
|
|
|
Post by Disciple on Aug 1, 2005 20:07:06 GMT -8
o ya thats what i thought it was for a while myself but me and roxy have made at least 5 different and none work they are the same size as the menu buttons
|
|
|
Post by CD on Aug 1, 2005 20:26:34 GMT -8
Try this spacing code instead. <script> // Remove menu spacing by CDDude229 // May not be redistributed without permission
var aTD = document.getElementsByTagName("TD"); var aTB = document.getElementsByTagName("TABLE");
var nb = new RegExp('&nb'+'sp;','gi') aTD[5].innerHTML = aTD[5].innerHTML.replace(nb,'');
aTB[0].cellPadding = 0; aTB[3].cellPadding = 0;
document.write('<style> img { vertical-align: middle;} </style>'); </script>
Last Edit: Aug 1, 2005 20:27:34 GMT -8 by CD
|
|