Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Remove mouseover from spacer

Remove mouseover from spacer

Locked

Views: 567

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
20 Oct 2010, 2:37 PM
#1
boy1da avatar

boy1da

New Zenner

Join Date:
Oct 2010
Posts:
35
Plugin Contributions:
0

Remove mouseover from spacer

Hi there

The graphic spacer I use to separate home, contact us etc shows a full stop (period) '.' when the mouse hovers over it. I have searched the spacers name (separator.gif) and found some code but not quite sure which '.' to remove.

Line #60 : <?php $separ = ' '.zen_image($template->get_template_dir('f_separator.gif', DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . 'f_separator.gif', '•').' '; ?>

and

Line #35 : $separ = zen_image($template->get_template_dir('separator.gif', DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . 'separator.gif', '•');

Can anyone with a bit more programming experience than me lend a hand. Much appreciated :).

20 Oct 2010, 3:58 PM
#2
boy1da avatar

boy1da

New Zenner

Join Date:
Oct 2010
Posts:
35
Plugin Contributions:
0

Re: Remove mouseover from spacer

Hi

Also I have found this could be in teh stylesheets:

Line #719 : #manufacturers{width:240px;background: url(../images/h_separator.gif) right center no-repeat;height:46px;padding:0 32px;}

Line #720 : #currencies{background: url(../images/h_separator.gif) right center no-repeat;height:46px;padding:0 32px;}

Any help greatly appreciated. Many thanks.

20 Oct 2010, 4:10 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Remove mouseover from spacer

zen_image($template->get_template_dir('separator.gif', DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . 'separator.gif', '•');

, '•' is HTML code for a bullet (dot), used as the alt text for the spacer image. Accessibility by using alt text for images is good, but as this has no real meaning, I would scrap the alt text. The image is named separator.gif, which should be sufficient notice to anyone who needs to know that it is null content.

20 Oct 2010, 6:01 PM
#4
boy1da avatar

boy1da

New Zenner

Join Date:
Oct 2010
Posts:
35
Plugin Contributions:
0

Re: Remove mouseover from spacer

Thanks ghj42, pure GENIUS!!! Worked a charm.