Search the Community
Showing results for tags 'banners'.
Found 2 results
-
bootsrap carousel and banners
tgely posted a topic in osCommerce Online Merchant Community Bootstrap Edition
Hi all, I try to give some direction point for carousel image and text banners 1. Carousel use image in every case. Here is a fake background function. Dont forget that carousel use z index for html text informations function createImage($width = 900, $height = 500, $red = 255, $green = 0, $blue = 0) { $im = imagecreatetruecolor($width, $height); $color = imagecolorallocate($im, (int)$red, (int)$green, (int)$blue); imagefill($im, 0, 0, $color); ob_start(); imagepng($im); $contents = ob_get_contents(); ob_end_clean(); imagedestroy($im); $imgData = base64_encode($contents); $src = 'data: image/png;base64,'.$imgData; return $src; } 2. The captions and indicators covers the image (html cover demo included) <table height="500px" width="100%" height="1000px" border="1" cellspacing="0" cellpadding="0"> <tr height="5%"><td width="15%" rowspan="3" align="center" valign="midle">15%</td><td align="center" valign="midle">5% top margin</td><td width="15%" rowspan="3" align="center" valign="midle">15%</td></tr> <tr height="90%"> <td align="center" valign="midle"> <table height="100%" width="100%" border="1"> <tr height="66%"><td align="center" valign="midle">total: 70%</td></tr> <tr height="23%"><td align="center" valign="midle">caption: -20%</td></tr> <tr height="10%"><td align="center" valign="midle">indicators: -10%</td></tr> </table> </td> </tr> <tr height="5%"><td align="center" valign="midle">5% bottom margin</td></tr> </table> where you can set table height in htlm table tag attribute <table height="500px" Responsive carousel image cover demo Regards, Gergely -
Hi guys, i have a template i've been working on. On the column on the left i had a live help banner. I've created a callback form and a facebook like thing, i created new banners for each and gave them the same banner group as the live help one, but it only shows one of them at a time, if you keep hitting the home button, it changes from one to another etc. i want them all to show at once. Any ideas please? URL is http://www.ukanswer.com/NEW%20TEMPLATE/template_40137_8dmVP62piyHzeBDZinMZ/osc/catalog/index.php