AW: [PEAR-DEV] Package(s) proposal(s): HTML_Image and HTML_Link.

From: Date: Sun, 03 Aug 2003 08:38:32 +0000
Subject: AW: [PEAR-DEV] Package(s) proposal(s): HTML_Image and HTML_Link.
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-19169@lists.php.net to get a copy of this message
Hi, > Just a wrapper arround <IMG>. When using HTML_Page, > HTML_Table and HTML_Xxx objects, I found annoying to write > HTML directly, that's why I've done HTML_Image. I think, you should include some more features, I could think at least of these: - The class should be able to get the image size and add it too the attributes. - It should add the ALT text to the title attribute, as some browsers display this attribute. - It should support the generation of image maps. > Just a wrapper arround <A href="...">. It has one little > feature: GET variables "management". You can add get > variables to the link and they are automaticly urlencoded(). > You can use an object with toString() method as a variable value. Again I'd like to see more features. Like: - Possibility to add a fragment to the link, maybe even user and pass, scheme, and so on - Possibility to create anchors by supplying a name attribute. Unless you implement some more features, I'm -1 on this. Stephan

« previous php.pear.dev (#19169) next »