thebloke
Oct 5th, 2004, 05:20 AM
Hi guys
Firstly, I know nothing about php at all, I'm trying to help a colleague out with this bit of code:
if (eregi("block-Affiliates.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$content = "<CENTER><b>Affiliates</b><br><br>";
$content = '<p align="center"><a name="scroller"></a><MARQUEE loop="1000" behavior="SCROLL" direction="up" height="150" scrollamount="1" scrolldelay="1" onmouseclick=\'this.open()\' onmouseover=\'this.stop()\' onmouseout=\'this.start()\'><center>';
$content .= "<a href=\"http://www.superserver.co.uk\"><input type=\"image\" width=\"100\" height=\"40\" src=\"http://www.aklanapart.co.uk\phpnuke\html\images\custom\superserver.gif\" border=\"0\" alt=\"SuperServer\"></a><br><br>";
$content .= "<a href=\"http://www.codadmin.com\"><input type=\"image\" width=\"100\" height=\"40\" src=\"http://www.aklanapart.co.uk\phpnuke\html\images\custom\codadmin.gif\" border=\"0\" alt=\"CoDAdmin\"></a><br><br>";
$content .= "<a href=\"http://www.evenbalance.com\"><input type=\"image\" width=\"100\" height=\"40\" src=\"http://www.aklanapart.co.uk\phpnuke\html\images\custom\punkbuster.gif\" border=\"0\" alt=\"Punkbuster\"></a><br><br>";
$content .= "<a href=\"http://www.blokeinthekitchen.com\"><input type=\"image\" width=\"100\" Height=\"40\" src=\"http://www.aklanapart.co.uk\phpnuke\html\images\custom\bloke.gif\" border=\"0\" alt=\"Bloke In The Kitchen\"></a><br><br>";
$content .= "</center>";
?>
The problem is with the <a href>'s in the scrolling marquee. When you click on them, nothing happens. I think we need to add a click event to the marquee tag but I'm not sure of the syntax.
Any help would be greatly appreciated.
Cheers
PW
Firstly, I know nothing about php at all, I'm trying to help a colleague out with this bit of code:
if (eregi("block-Affiliates.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$content = "<CENTER><b>Affiliates</b><br><br>";
$content = '<p align="center"><a name="scroller"></a><MARQUEE loop="1000" behavior="SCROLL" direction="up" height="150" scrollamount="1" scrolldelay="1" onmouseclick=\'this.open()\' onmouseover=\'this.stop()\' onmouseout=\'this.start()\'><center>';
$content .= "<a href=\"http://www.superserver.co.uk\"><input type=\"image\" width=\"100\" height=\"40\" src=\"http://www.aklanapart.co.uk\phpnuke\html\images\custom\superserver.gif\" border=\"0\" alt=\"SuperServer\"></a><br><br>";
$content .= "<a href=\"http://www.codadmin.com\"><input type=\"image\" width=\"100\" height=\"40\" src=\"http://www.aklanapart.co.uk\phpnuke\html\images\custom\codadmin.gif\" border=\"0\" alt=\"CoDAdmin\"></a><br><br>";
$content .= "<a href=\"http://www.evenbalance.com\"><input type=\"image\" width=\"100\" height=\"40\" src=\"http://www.aklanapart.co.uk\phpnuke\html\images\custom\punkbuster.gif\" border=\"0\" alt=\"Punkbuster\"></a><br><br>";
$content .= "<a href=\"http://www.blokeinthekitchen.com\"><input type=\"image\" width=\"100\" Height=\"40\" src=\"http://www.aklanapart.co.uk\phpnuke\html\images\custom\bloke.gif\" border=\"0\" alt=\"Bloke In The Kitchen\"></a><br><br>";
$content .= "</center>";
?>
The problem is with the <a href>'s in the scrolling marquee. When you click on them, nothing happens. I think we need to add a click event to the marquee tag but I'm not sure of the syntax.
Any help would be greatly appreciated.
Cheers
PW