Yep, each sidebox now has only one .xsnazzyCushion div wrapping it.
For the live help sidebox, repeat the set of rules above, changing #logosidebox10reasons to #livehelp.
Add
#livehelpHeading {display: none;}
Yep, each sidebox now has only one .xsnazzyCushion div wrapping it.
For the live help sidebox, repeat the set of rules above, changing #logosidebox10reasons to #livehelp.
Add
#livehelpHeading {display: none;}
Works great - thanks!
BenchmarkDesign.Net - Integrated Media Solutions
I was wondering if you could help me figure this one out. I've gone one Logo Sidebox that I don't want to show up on the home page, as well as, several other ezpages. The code to hide on the ezpages is fine and listed below, I'm just not sure how to hide on the home page too. Any help would be greatly appreciated! Thanks!
Code:
Code:<?php // //Contribution: Logo Sidebox //Author: Clyde Jones (http://mysticmountainnaturals.com/testsite) //Version: 1.1 //Updated: 8/21/2008 //License: under the GPL - See attached License for info. //Based on: Blank Sidebox by Judi Cox - www.MommaMuse.com //Support: Only given via the forums, please. (http://www.zen-cart.com/forum/showthread.php?t=57694) // -------------------------------------------------- // zen-cart Open Source E-commerce // Copyright (c) 2003-2006 The zen-cart developers // http://www.zen-cart.com/index.php // Portions Copyright (c) 2003 osCommerce // -------------------------------------------------- // $Id: logo_sidebox.php,v 1.1 8/21/2008 // test if box should display $show_logo_sidebox = true; if (!isset($ezpage_id) || !in_array($ezpage_id,explode(",",'20,21,5,32,33,26,35,18,36,37,38,39,40,41,42,43,44,45,46,48'))) { require($template->get_template_dir('tpl_logo_sidebox_affiliate.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_logo_sidebox_affiliate.php'); $title = BOX_HEADING_LOGO_SIDEBOX; $left_corner = false; $right_corner = false; $right_arrow = false; require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default); } ?>
BenchmarkDesign.Net - Integrated Media Solutions
Add the test for home page to the rest:PHP Code:
// test if box should display
$show_logo_sidebox = true;
if (!$this_is_home_page and (!isset($ezpage_id) || !in_array($ezpage_id,explode(",",'20,21,5,32,33,26,35,18,36,37,38,39,40,41,42,43,44,45,46,48')))) {
require($template->get_template_dir('tpl_logo_sidebox_affiliate.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_logo_sidebox_affiliate.php');
$title = BOX_HEADING_LOGO_SIDEBOX;
$left_corner = false;
$right_corner = false;
$right_arrow = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
?>
works pefectly! Thanks!
BenchmarkDesign.Net - Integrated Media Solutions
How can I create a rollover effect with this image within the logo sidebox?
Also, my hyperlink isn't working for this image...is there something wrong with this code?
define('LOGO_SIDEBOX_LINK', 'http://www.zitabkids.com/');
Just wanting to follow up to see if anyone knows how I can make my logo sidebox image work as a rollover. Also, my hyperlink isn't working for this image...is there something wrong with this code?
define('LOGO_SIDEBOX_LINK', 'http://www.zitabkids.com/');
Thank you in advance for your help! This forum has been great!
How do you want the image to change on rollover? You might need to use some javascript; otherwise, you would use a pair of background-images in your stylesheet in place of the coded foreground image you have now.
The define is properly formed, but we can't tell whether it includes everything it needs without seeing the code that calls it.
I would like the buttons to look just like they do on http://www.zitabkids.com
I'm not sure what that means by using a pair of background images. ????you would use a pair of background-images in your stylesheet in place of the coded foreground image you have now.
Bookmarks