[TYPO3-english] GTMENU with background sprite

Nathan L typo3 at k9tfk.com
Mon Nov 2 17:23:26 CET 2009

Just modified the GTMENU (http://wiki.typo3.org/index.php/GTMENU) IProcFunc
to generate a Sprite for the entire menu.  It was pretty simple, it glues
all the individual images together using montage and then calculates the
offsets to display the appropriate parts of the images.  This was done to
reduce the number of HTTP connections needed for a menu.  Fewer the
connections, the faster the page should render for the user.

I attempted to post it on the wiki, under the discussion tab for GTMENU, but
it won't let me because "height:1px" triggers the spam filter.  The original
page has that, so that's weird.

Anyway, if anyone is interested in it, I can send you the code.  If anyone
has rights to post code on the wiki, I'd be happy to send it to you to post.


More information about the TYPO3-english mailing list