SimplePortal

Customization => Custom Coding => Topic started by: cme1st2302 on March 10, 2009, 09:46:52 PM

Title: Bottom Block Height
Post by: cme1st2302 on March 10, 2009, 09:46:52 PM
Can anyone point me in the right direction to change the height of the bottom block.  I currently have a script running an image scroller.  Not sure if it is handled in the code but here it is just in case.

Code: [Select]
<?php

// USE BELOW FOR EDIT YOUR LINKS

$scroll "<center><a target=\"_blank\" href=\" http://www.wasociety.net//\"><img src=\" http://www.eastcoastastro.com/forums/affiliates/was.gif\" border=\"0\"   title=\"Willingboro Astronomical Society\"alt=\"Willingboro Astronomical Society \"></a></center><br>";

$scroll .= "<center><a target=\"_blank\" href=\" http://astra-nj.org/\"><img src=\" http://www.eastcoastastro.com/forums/affiliates/astra.jpg\" border=\"0\"   width=\"200px\"title=\"ASTRA\"alt=\"Astra \"></a></center><br>";

$scroll .= "<center><a target=\"_blank\" href=\" http://www.cloudynights.com\"><img src=\" http://www.eastcoastastro.com/forums/affiliates/cloudy_nights_telescopes.jpg\" border=\"0\"   title=\"Cloudy Nights\"alt=\"Cloudy Nights\"></a></center><br>";

$scroll .= "<center><a target=\"_blank\" href=\" http://www.princetonastronomy.org/\"><img src=\" http://www.eastcoastastro.com/forums/affiliates/aaap.jpg\" border=\"0\"   title=\"Amateur Astronomers Association of Princeton\"alt=\"Amateur Astronomers Association of Princeton\"></a></center><br>";

$scroll .= "<center><a target=\"_blank\" href=\" http://www.starastronomy.org/\"><img src=\" http://www.eastcoastastro.com/forums/affiliates/starastronomy.png\" border=\"0\"   title=\"Star Astronomy\"alt=\"Star Astronomy\"></a></center><br>";

$scroll .= "<center><a target=\"_blank\" href=\" http://www.rocklandastronomy.com/\"><img src=\" http://www.eastcoastastro.com/forums/affiliates/rocklandastronomy.jpg\" border=\"0\"   title=\"Rockland\"alt=\"Rockland\"></a></center><br>";

// END OF THE EDITING LINKS AREA


// If you want it scrolls faster change the amount of marquee scrollamount below
// If you want it scrolls from top the bottom change the direction from up to down
echo "<marquee scrollamount=\"3\" direction=\"up\" onMouseOver=\"this.stop()\" onMouseOut=\"this.start()\" loop=\"true\">$scroll</marquee>";

// If you want you can keep your logo here as static,if you dont want simply put // of the beginning nexr 2 lines
//$scroll .= "<center><a target=\"_blank\" href=\" http://www.yahoopool.net\"><img src=\"images/ypnfull8.png\" border=\"0\"   //title=\"Yahoopool.net\"alt=\"Yahoopool.net\"></a></center><br>";

//}




//COPYRIGHT PLEASE DO NOT REMOVE! I SPENT TIME FOR CREATE THIS BLOCK, THANK YOU
//echo "<hr width=\"90%\"><div align=\"right\"><a href=\"javascript:openwindowbl()\">YPN ©</a></div>";
echo "<script type=\"text/javascript\">\n";
echo 
"<!--\n";
echo 
"function openwindowbl(){\n";
echo 
"        window.open (\"images/copyright.php\",\"Block_Copyright\",\"toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,copyhistory=no,width=400,height=400\");\n";
echo 
"}\n";
echo 
"//-->\n";
echo 
"</SCRIPT>\n\n";



?>

Thanks,
Chris
Title: Re: Bottom Block Height
Post by: [SiNaN] on March 11, 2009, 05:40:10 AM
Try setting 'height' attribute for 'marquee' tag.
Title: Re: Bottom Block Height
Post by: cme1st2302 on March 11, 2009, 11:03:39 AM
Worked like a charm. Thanks again Blue Dream!!

Chris
SimplePortal 2.3.8 © 2008-2024, SimplePortal