[Linpha-cvs] SF.net SVN: linpha: [4581] trunk/linpha2
Status: Inactive
Brought to you by:
bzrudi
From: <fan...@us...> - 2006-10-10 19:30:39
|
Revision: 4581 http://svn.sourceforge.net/linpha/?rev=4581&view=rev Author: fangehrn Date: 2006-10-10 12:30:27 -0700 (Tue, 10 Oct 2006) Log Message: ----------- updated Modified Paths: -------------- trunk/linpha2/docs/dev/TODO.txt trunk/linpha2/linpha2.specs.txt Modified: trunk/linpha2/docs/dev/TODO.txt =================================================================== --- trunk/linpha2/docs/dev/TODO.txt 2006-10-09 20:52:58 UTC (rev 4580) +++ trunk/linpha2/docs/dev/TODO.txt 2006-10-10 19:30:27 UTC (rev 4581) @@ -5,7 +5,42 @@ ## Small Todos - save image height and width in database to reduce file access in get_image.php and imgview() ? +- using rounded corners without images: +------------------- +<style type="text/css"> +.curvy {position:relative; width:400px; height:150px; background:#08c; color:#000; margin:5em auto;} +#ctl, #cbl, #ctr, #cbr {position:absolute; width:20px; height:20px; color:#08c; background:#fff;overflow:hidden;} +#ctl {top:0px; left:0px;} +#cbl {top:130px; left:0px;} +#ctr {top:0px; left:380px;} +#cbr {top:130px; left:380px;} +#quadtl, #quadtr, #quadbl, #quadbr {position:absolute; font-size:150px; font-family:arial; color:#08c;line-height:40px;} +#quadtl {left:-8px;} +#quadtr {left:-25px;} +#quadbl {left:-8px; top:-17px;} +#quadbr {left:-25px; top:-17px;} +#txt {position:absolute; top:5px; left:5px; width:390px; height:140px;} +#txt p {font-size:10px; line-height:17px; color:#fff;} + +</style> + +<div id="info"> + +<h2>Curved Corners</h2> + +<div class="curvy"> +<div id="ctl"><div id="quadtl">•</div></div> +<div id="cbl"><div id="quadbl">•</div></div> +<div id="ctr"><div id="quadtr">•</div></div> +<div id="cbr"><div id="quadbr">•</div></div> +<div id="txt"><p>I know it's been done before, but not this way!<br />A box with curved corners into which you can put text that goes right up to the corners.<br /> +Again, no graphics were used in the making of this demonstration.<br />All it takes is four quadrants of a bullet point positioned absolutely in each corner (arial font this time as it's the safest one to use).</p> +</div> +</div> +-------------------------- + + ## Big Todos - Installer Modified: trunk/linpha2/linpha2.specs.txt =================================================================== --- trunk/linpha2/linpha2.specs.txt 2006-10-09 20:52:58 UTC (rev 4580) +++ trunk/linpha2/linpha2.specs.txt 2006-10-10 19:30:27 UTC (rev 4581) @@ -77,8 +77,8 @@ - Float Tutorial http://css.maxdesign.com.au/floatutorial/ - CSS Layouts, sehr ausfuehrlich http://www.thestyleworks.de/tut-art/layout_div.shtml - http://www.quirksmode.org/viewport/ !! - - - max-width in IE: http://www.svendtofte.com/code/max_width_in_ie/ + - min-/max-width in IE: http://www.cssplay.co.uk/boxes/minwidth.html + http://www.svendtofte.com/code/max_width_in_ie/ - Fenster ueberwachen http://de.selfhtml.org/javascript/beispiele/fensterueberwachen.htm @@ -100,28 +100,7 @@ - thumbnail size, set a max size (for example 150px), to be able to switch the size on fly -- load all class files on every page view, or dynamically load if needed - PHP5 supports autoloading of classes!! - <?php - function __autoload($class_name) { - require_once $class_name . '.php'; - } - $obj = new MyClass1(); - $obj2 = new MyClass2(); - ?> - but it would only make sence if we create new instance of a class - most classes (filesys,identify,image,import) we use directly (with '::') - - oh, just found this: - You can enable this behaviour for undefined classes while unserializing objects - by setting the .ini-variable 'unserialize_callback_func' to '__autoload'. - needs testing... - - /* edit bzrudi */ - we should not rely on the autoload feature - it's better to know when we - need to initiate a class - - image cache plugin automatically turned on? in normal image view, image is displayed javascript based the largest possible -> we're going to have problems with the image cache, as size ever changes.. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |