section popup

From: Date: Fri, 17 May 2002 01:08:03 +0000
Subject: section popup
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4259@lists.php.net to get a copy of this message
smarty 2.1.1 ------------ dear all thanks to the list, i have managed to use {section} to display records from db. my next step is to: 1. read data from db (companyname, catcode and catname) 2. use {section} to display them 3. use popup to display category-name when mouseover over category-code my template file: {popup_init} {section name=content loop=$your_record} {$your_record[content].companyname}</a> -- <a href="" {popup sticky=false caption="category codes" text="$your_record[content].catname"} onclick = "return false;">{$your_record[content].catcode}</a> <BR> {/section} i am able to see all records and able to mouseover on category codes. but the popup only contain .catname (on all records) as the popup text. appreciate your advice. best rgds. -- jkpsj __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com

« previous php.smarty.general (#4259) next »