• Debugging Compatibility Issues with Google Chrome
    0 replies, posted
Well, I have very little website coding experience and I've been running off the fumes of my Wordpress-Shopperpress theme. I've added the sub-navigation menu and the dropdown menu for Languages and Currency have options that aren't selectable in Chrome or Firefox. In addition, the "Sample Page" link doesn't show up in Chrome or Firefox either. All of these do work in Internet Explorer. If someone could help me debug this and fix it, it would be greatly appreciated. Please mind that I'm not aware of how difficult this is supposed to be, so if this is something that needs a lot of work I apologize. It would be great if I could just get a nudge in the right direction, if that is that business. Here is the _subnav.php [code] <br class="Clear" /> <div class="grid_12" style="height:50px; width:980px; margin:0px; margin-left:3px; z-index:5"> <div style=" background: transparent url(<?php bloginfo('template_url'); ?>/images/botbg.gif) top left no-repeat;"> <table width="100%" border="0" style="padding:0px; margin:0px; height:35px;"><tr><td> <div style="margin-left:20px;"> <div id="SubNav"><ul> <?php if($GLOBALS['shopperpress']['account'] =="top"){ ?> <li> <?php global $user_ID; if ( $user_ID ) : ?> <?php global $current_user; get_currentuserinfo(); ?> <?php echo $GLOBALS['_LANG']['_welcome'] ?> <strong><?php echo $current_user->user_login; ?></strong></a> <a href="<?php echo wp_logout_url(); ?>"><?php echo $GLOBALS['_LANG']['_logout'] ?></a> | <?php else : ?> <strong><?php echo $GLOBALS['_LANG']['_welcomevisitor'] ?></strong> <a href="<?php echo SHOPPERPRESS_BLOG_URL; ?>/wp-login.php?action=register"><?php echo $GLOBALS['_LANG']['_register']; ?></a> or <a href="<?php echo SHOPPERPRESS_BLOG_URL; ?>/wp-login.php"><?php echo $GLOBALS['_LANG']['_login']; ?></a> &nbsp; | <?php endif; ?> </li> <?php } ?> <?php if($GLOBALS['shopperpress']['pages'] =="sub"){ wp_list_pages("title_li=&exclude=".$GLOBALS['shopperpress']['excluded_pages'] ); } ?> </ul></div> </div> </td> <?php if(get_option("display_subnav_currency") =="yes"){ ?> <td style="width:140px;"> <dl id="ShopperPressCurrency" class="dropdown"> <?php if(isset($_SESSION['currency_caption']) && $_SESSION['currency_caption'] !=""){ ?> <dt><a href="#"><span><?php echo $_SESSION['currency_caption']; ?> <img src="<?php echo bloginfo('template_url').'/images/langs/arrow.png'; ?>" border=0 align="absmiddle" style="margin-left:10px;"/></span></a></dt> <?php }else{ ?> <dt><a href="#"><span><?php echo get_option("currency_caption"); ?> <img src="<?php echo bloginfo('template_url').'/images/langs/arrow.png'; ?>" border=0 align="absmiddle" style="margin-left:10px;"/></span></a></dt> <?php } ?> <dd> <ul> <?php echo MakeCurrencyDisplay(); ?> </ul> </dd> </dl> </td> <?php } ?> <?php if(get_option("display_subnav_flags") =="yes"){ ?> <td style="width:140px;"> <dl id="ShopperFlags" class="dropdown1"> <?php if($_SESSION['lang']=="french"){ ?><dt><span><a href="#" title="french"><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>fr.png" alt="french" /> French <img src="<?php echo bloginfo('template_url').'/images/langs/arrow.png'; ?>" border=0 align="absmiddle" style="margin-left:10px;"/> </span></a></dt> <?php }elseif($_SESSION['lang']=="bulgarian"){ ?><dt><a href="#" title="bulgarian"><span><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>bg.png" alt="bulgarian" /> Bulgarian <img src="<?php echo bloginfo('template_url').'/images/langs/arrow.png'; ?>" border=0 align="absmiddle" style="margin-left:10px;"/> </span></a></dt> <?php }elseif($_SESSION['lang']=="german"){ ?><dt><a href="#" title="german"><span><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>de.png" alt="german" /> German <img src="<?php echo bloginfo('template_url').'/images/langs/arrow.png'; ?>" border=0 align="absmiddle" style="margin-left:10px;"/> </span></a></dt> <?php }elseif($_SESSION['lang']=="spanish"){ ?><dt><a href="#" title="spanish"><span><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>es.png" alt="spanish" /> Spanish <img src="<?php echo bloginfo('template_url').'/images/langs/arrow.png'; ?>" border=0 align="absmiddle" style="margin-left:10px;"/> </span></a></dt> <?php }elseif($_SESSION['lang']=="english"){ ?><dt><a href="#" title="english"><span><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>us.png" alt="english" /> English <img src="<?php echo bloginfo('template_url').'/images/langs/arrow.png'; ?>" border=0 align="absmiddle" style="margin-left:10px;"/> </span></a></dt> <?php }elseif($_SESSION['lang']=="russian"){ ?><dt><a href="#" title="russian"><span><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>ru.png" alt="russian" /> Russian <img src="<?php echo bloginfo('template_url').'/images/langs/arrow.png'; ?>" border=0 align="absmiddle" style="margin-left:10px;"/> </span></a></dt> <?php }elseif($_SESSION['lang']=="persian"){ ?><dt><a href="#" title="persian"><span><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>ir.png" alt="persian" /> Persian <img src="<?php echo bloginfo('template_url').'/images/langs/arrow.png'; ?>" border=0 align="absmiddle" style="margin-left:10px;"/> </span></a></dt> <?php }elseif($_SESSION['lang']=="portuguese"){ ?><dt><a href="#" title="portuguese"><span><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>pt.png" alt="portuguese" /> Portuguese <img src="<?php echo bloginfo('template_url').'/images/langs/arrow.png'; ?>" border=0 align="absmiddle" style="margin-left:10px;"/> </span></a></dt> <?php }elseif($_SESSION['lang']=="norwegian"){ ?><dt><a href="#" title="norwegian"><span><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>no.png" alt="norwegian" /> Norwegian <img src="<?php echo bloginfo('template_url').'/images/langs/arrow.png'; ?>" border=0 align="absmiddle" style="margin-left:10px;"/> </span></a></dt> <?php }else{ ?><dt><a href="#" title="english"><span><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>us.png" alt="english" /> English <img src="<?php echo bloginfo('template_url').'/images/langs/arrow.png'; ?>" border=0 align="absmiddle" style="margin-left:10px;"/> </span></a></dt><?php } ?> <dd> <ul> <li><a href="?l=french" title="french"><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>fr.png" alt="french" /> French </a></li> <li><a href="?l=bulgarian" title="bulgarian"><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>bg.png" alt="bulgarian" /> Bulgarian </a></li> <li><a href="?l=german" title="german"><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>de.png" alt="german" /> German </a></li> <li><a href="?l=spanish" title="spanish"><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>es.png" alt="spanish" /> Spanish </a></li> <li><a href="?l=english" title="english"><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>us.png" alt="english" /> English</a></li> <li><a href="?l=russian" title="russian"><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>ru.png" alt="russian" /> Russian </a></li> <li><a href="?l=persian" title="persian"><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>ir.png" alt="persian" /> Persian </a></li> <li><a href="?l=portuguese" title="portuguese"><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>pt.png" alt="portuguese" /> Portuguese </a></li> <li><a href="?l=norwegian" title="norwegian"><img class="flag" src="<?php echo bloginfo('template_url').'/images/langs/'; ?>no.png" alt="norwegian" /> Norwegian </a></li> </ul> </dd> </dl> </td> <?php } ?> </tr></table> </div> </div>[/code] [editline]16th July 2011[/editline] I believe I seem to have narrowed it down. Any of those drop down options at are above the banner seem to get ignored. If you try to right click on those buttons and click "Inspect Element" the banner is highlighted, not the button. Hope that helps.
Sorry, you need to Log In to post a reply to this thread.