pannakara
05-18-2009, 05:40 PM
Hello everyone... i have a little problem on my IMAGE EXPANDOING SCRIPT - I INTERGRATED WITH THE IMAGE CRAWLING SCRIPT AND THE CRAWLING IS WORKING FINE.. EXCEPTS THE EXPANDOING IS NOT WORKING.. I tried everything but still can't make it work.. can anyone please help.
thanks
this is the link for the image expandoing script. http://www.dynamicdrive.com/dynamicindex4/expandoimage.htm
this is my code ...
<?php
if ((!defined('NV_SYSTEM')) AND (!defined('NV_ADMIN'))) {
Header("Location: ../index.php");
exit;
}
$content .= "<style type=\"text/css\">\n";
$content .= "img.expando{\n";
$content .= "border: none;\n";
$content .= "vertical-align: top;\n";
$content .= "}\n";
$content .= "</style>\n";
$content .= "<script type=\"text/javascript\" src=\"../js/expando.js\"></script>\n";
$content .= "<script type=\"text/javascript\" src=\"../js/crawler.js\"></script>\n";
$content .= "<div class=\"marquee\" id=\"mycrawler2\">\n";
$content .= "<p><p align=\"center\"><SCRIPT language='JavaScript' img class=\"expando\" src=\"http://chuahuongdao.org/hinhanh/random.php?2\" width=\"140\" height=\"110\" /></SCRIPT>\n";
$content .= " <SCRIPT language='JavaScript' img class=\"expando vocation\" src=\"http://chuahuongdao.org/hinhanh/random.php?2\" width=\"140\" height=\"110\" /></SCRIPT>\n";
$content .= " <SCRIPT language='JavaScript' img class=\"expando\" src=\"http://chuahuongdao.org/hinhanh/random.php?3\" width=\"140\" height=\"110\" /></SCRIPT>\n";
$content .= " <SCRIPT language='JavaScript' img class=\"expando vocation\" src=\"http://chuahuongdao.org/hinhanh/random.php?4\" width=\"140\" height=\"110\" /></SCRIPT>\n";
$content .= " <SCRIPT language='JavaScript' img class=\"expando\" src=\"http://chuahuongdao.org/hinhanh/random.php?5\" width=\"140\" height=\"110\" /></SCRIPT>\n";
$content .= " <SCRIPT language='JavaScript' img class=\"expando vocation\" src=\"http://chuahuongdao.org/hinhanh/random.php?6\" width=\"140\" height=\"110\" /></SCRIPT>\n";
$content .= " <SCRIPT language='JavaScript' img class=\"expando\" src=\"http://chuahuongdao.org/hinhanh/random.php?7\" width=\"140\" height=\"110\" /></SCRIPT> \n";
$content .= "</div></p>\n";
$content .= "<script type=\"text/javascript\">\n";
$content .= "marqueeInit({\n";
$content .= " uniqueid: 'mycrawler2',\n";
$content .= " style: {\n";
$content .= " 'padding': '2px',\n";
$content .= " 'width': '600px',\n";
$content .= " 'height': '180px'\n";
$content .= " },\n";
$content .= " inc: 3, //speed - pixel increment for each iteration of this marquee's movement\n";
$content .= " mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)\n";
$content .= " moveatleast: 2,\n";
$content .= " neutral: 150,\n";
$content .= " savedirection: true\n";
$content .= "});\n";
$content .= "</script>\n";
?>
you can see my webpage with the images crawling from the right to left but not expandoing when mouseover... http://www.chuahuongdao.org
thanks
this is the link for the image expandoing script. http://www.dynamicdrive.com/dynamicindex4/expandoimage.htm
this is my code ...
<?php
if ((!defined('NV_SYSTEM')) AND (!defined('NV_ADMIN'))) {
Header("Location: ../index.php");
exit;
}
$content .= "<style type=\"text/css\">\n";
$content .= "img.expando{\n";
$content .= "border: none;\n";
$content .= "vertical-align: top;\n";
$content .= "}\n";
$content .= "</style>\n";
$content .= "<script type=\"text/javascript\" src=\"../js/expando.js\"></script>\n";
$content .= "<script type=\"text/javascript\" src=\"../js/crawler.js\"></script>\n";
$content .= "<div class=\"marquee\" id=\"mycrawler2\">\n";
$content .= "<p><p align=\"center\"><SCRIPT language='JavaScript' img class=\"expando\" src=\"http://chuahuongdao.org/hinhanh/random.php?2\" width=\"140\" height=\"110\" /></SCRIPT>\n";
$content .= " <SCRIPT language='JavaScript' img class=\"expando vocation\" src=\"http://chuahuongdao.org/hinhanh/random.php?2\" width=\"140\" height=\"110\" /></SCRIPT>\n";
$content .= " <SCRIPT language='JavaScript' img class=\"expando\" src=\"http://chuahuongdao.org/hinhanh/random.php?3\" width=\"140\" height=\"110\" /></SCRIPT>\n";
$content .= " <SCRIPT language='JavaScript' img class=\"expando vocation\" src=\"http://chuahuongdao.org/hinhanh/random.php?4\" width=\"140\" height=\"110\" /></SCRIPT>\n";
$content .= " <SCRIPT language='JavaScript' img class=\"expando\" src=\"http://chuahuongdao.org/hinhanh/random.php?5\" width=\"140\" height=\"110\" /></SCRIPT>\n";
$content .= " <SCRIPT language='JavaScript' img class=\"expando vocation\" src=\"http://chuahuongdao.org/hinhanh/random.php?6\" width=\"140\" height=\"110\" /></SCRIPT>\n";
$content .= " <SCRIPT language='JavaScript' img class=\"expando\" src=\"http://chuahuongdao.org/hinhanh/random.php?7\" width=\"140\" height=\"110\" /></SCRIPT> \n";
$content .= "</div></p>\n";
$content .= "<script type=\"text/javascript\">\n";
$content .= "marqueeInit({\n";
$content .= " uniqueid: 'mycrawler2',\n";
$content .= " style: {\n";
$content .= " 'padding': '2px',\n";
$content .= " 'width': '600px',\n";
$content .= " 'height': '180px'\n";
$content .= " },\n";
$content .= " inc: 3, //speed - pixel increment for each iteration of this marquee's movement\n";
$content .= " mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)\n";
$content .= " moveatleast: 2,\n";
$content .= " neutral: 150,\n";
$content .= " savedirection: true\n";
$content .= "});\n";
$content .= "</script>\n";
?>
you can see my webpage with the images crawling from the right to left but not expandoing when mouseover... http://www.chuahuongdao.org