Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

JQuery Question


surrfman

Recommended Posts

Posted

Anyone know how to stop the parent-child relationship when there are multiple buttons on a page?

 

Example: page has three buttons, one is the parent, gets full color, the remaining two childs get the greyed-out loss of full color look.

 

All buttons function, might confuse a customer.

 

Thanks a bunch,

 

Timmy C

Posted

Not very clear what you mean with "parent - child" relation here

 

Do you refer to a menu ?

 

It looks more like you refer to "primary" and "secondary" buttons, first are full opacity, second are reduced opacity/fade out. This is not because of any parent/child relation, but because they are defined to be like this when created

 

Could you give a concrete example of what you mean?

Posted

That is it... primary full opacity button and secondary reduced opacity/faded out buttons.

 

is it difficult to change secondary buttons to primary buttons? Would like to have all buttons at same opacity on a page, or any page store wide?

 

currently at version 1.7.2

 

Thanks a bunch,

 

Timmy C

Posted

Thats easy

 

The difference in primary and secondary buttons is just the opacity and font weight.

 

If you want the secondary buttons to look like the primary. add to your file stylesheet.css following, best close to the bottom of the file

 

.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:1;filter:Alpha(Opacity=100);font-weight:bold}

Posted

having issue with back button on the product info page. button functions, but goes back to the main catalog page, instead of the previous page viewed, here is the code from my product_info.php file:

 

div class="buttonSet">

<span class="buttonAction"><?php echo tep_draw_button(IMAGE_BUTTON_CHECKOUT, 'triangle-1-e', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'), 'primary'); ?></span>

<?php $back = sizeof($navigation->path)-2; if (isset($navigation->path[$back])) {

echo tep_draw_button(IMAGE_BUTTON_BACK, 'triangle-1-w', tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode'])); } ?>

</div>

 

gotta be something simple, I just don't understand everything the code is stating.

 

Thanks a bunch,

 

Timmy C

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...