Totally Zenned
- Join Date:
- Jan 2007
- Location:
- Los Angeles, California, United States
- Posts:
- 10,011
- Plugin Contributions:
- 3
Post #81 by divavocals
You are the BEST.. Thanks for this..
<?php if($detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $_SESSION['display_mode']=='isMobile'){ ?> <script type="text/javascript"><!-- $(document).ready(function() { $("#foo1").carouFredSel({ auto: false, align: "center", padding: [0, 25, 0, 20], width: "100%", height: "auto", items: { }, scroll: 1, prev : { button : "#foo1_prev", }, next : { button : "#foo1_next", } }); }); --></script> <?php } else { ?> <script type="text/javascript"><!-- $(document).ready(function() { $("#foo1").carouFredSel({ auto: false, align: "center", padding: [0, 25, 0, 20], width: "100%", height: "auto", items: { }, scroll: 4, prev : { button : "#foo1_prev", }, next : { button : "#foo1_next", } }); }); --></script> <?php } ?>rbarbour:
Try:
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.