1
Mods & Plugins (Releases & Support) / Re: [Mod] Random image / Zufallsbild
« on: May 20, 2009, 01:45:20 PM »
i have a problem using this random images javascript... i tried to make these thumbnails expando when mouseover while it's marquee from the right to left... will stop and expand the image to a bigger size when mouseover ... the crawler script is working but the expando is still not working... can anyone please help me with this ....
this is the image expando script site... http://www.dynamicdrive.com/dynamicindex4/expandoimage.htm
Quote
<?php
if ((!defined('NV_SYSTEM')) AND (!defined('NV_ADMIN'))) {
Header("Location: ../index.php");
exit;
}
$content .= "<head>\n";
$content .= "<style type=\"text/css\">\n";
$content .= "img.expando{ /*sample CSS for expando images. Not required but recommended*/\n";
$content .= "border: none;\n";
$content .= "vertical-align: top; /*top aligns image, so mouse has less of a change of moving out of image while image is expanding*/\n";
$content .= "}\n";
$content .= "</style>\n";
$content .= "</head>\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\" class=\"expando\" src=\"http://chuahuongdao.org/hinhanh/random.php?1\" width=\"140\" height=\"110\"></SCRIPT>\n";
$content .= " <SCRIPT language=\"JavaScript\" class=\"expando\" src=\"http://chuahuongdao.org/hinhanh/random.php?2\" width=\"140\" height=\"110\"></SCRIPT>\n";
$content .= " <SCRIPT language=\"JavaScript\" class=\"expando\" src=\"http://chuahuongdao.org/hinhanh/random.php?3\" width=\"140\" height=\"110\"></SCRIPT>\n";
$content .= " <SCRIPT language=\"JavaScript\" class=\"expando\" src=\"http://chuahuongdao.org/hinhanh/random.php?4\" width=\"140\" height=\"110\"></SCRIPT>\n";
$content .= " <SCRIPT language=\"JavaScript\" class=\"expando\" src=\"http://chuahuongdao.org/hinhanh/random.php?5\" width=\"140\" height=\"110\"></SCRIPT>\n";
$content .= " <SCRIPT language=\"JavaScript\" class=\"expando\" src=\"http://chuahuongdao.org/hinhanh/random.php?6\" width=\"140\" height=\"110\"></SCRIPT>\n";
$content .= " <SCRIPT language=\"JavaScript\" 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";
?>
this is the image expando script site... http://www.dynamicdrive.com/dynamicindex4/expandoimage.htm