In the javascript file there are a few important configuration settings: Positioning"lf_x", an integer, "lf_y", an integer and "lf_relative", true/false This decides absolute or relative positioning, default is absolute positioning. The portlet layer will positioned relative to the upper left corner at lf_x, lf_y. If you want to use relative positioning, set lf_relative=true, and add this html to your page where you want the portlet: <div id='lf_div'></div>
The portlet will be positioned at lf_x, lf_y relative to this element NOTE: If you want the portlet center-aligned with relative positioning you must use this element: <div id='lf_div' align='center'></div>
Otherwise Firefox/Mozilla will display the small feedback-cards incorrectly Region"lf_region" This is to control from where the portlet will load data, to make it faster. Set this to "cn" if most of your visitors view your site form inside mainland China, otherwise leave blank. CSSThe styles in lhfc.css provides a default style for the flashcards application. You can change the styles as you like to fit your site, but be careful with the sizes, you can definitely break the application with the wrong values. |