Customizing SMF > Graphics and Templates
Template problems.
(1/1)
madfiddler:
Hi,
Using the YaBBse template in SMF I've just about got my forum looking the same.
http://www.fiddleforum.com/fiddleforum
http://www.fiddleforum.com/smftest2
However, a couple of things in the index template don't work, and create errors.
These are, the mouse over highlighting for the links on the left :-
td class="windowbg2" width="259" onMouseOver="this.style.backgroundColor='afc6db'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='';">
and my banner code, which appears where the myphp,php,html logos show on the bottom right :-
<script language='JavaScript' type='text/javascript'>
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write ("http://www.fiddleforum.com/banners/adjs.php?n=" + phpAds_random);
document.write ("&what=zone:1");
document.write ("&exclude=" + document.phpAds_used);
if (document.referer)
document.write ("&referer=" + escape(document.referer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://www.fiddleforum.com/banners/adclick.php?n=a5b060cf' target='_blank'><img src='http://www.fiddleforum.com/banners/adview.php?what=zone:1&n=a5b060cf' border='0' alt=''></a></noscript>
Can anyone assist in getting these to work, especially the banner code?
I'm NOT a programmer BTW, so please don't go techie on me ;)
Thanks,
Mark.
[Unknown]:
Replace the single quotes in the code you quoted with \'.
Also find this:
--- Code: ---<td colspan="2" height="24" class="tborder" style="border-width: 1px 0 0 0; padding-left: 1ex;">
--- End code ---
And make the colspan 3, it will look better ;).
-[Unknown]
madfiddler:
Thanks dude for a quick reply.
Do you mean \'. or \' ?
Ta,
M
SoaringUSAEagle:
\'
madfiddler:
Cool thanks.... And thanks [Unknown] for the colspan thing. Was wondering what happened there :)
Navigation
[0] Message Index
Go to full version