Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help me With My navigation bar and some other editing issues


mandela10

Recommended Posts

My head is heavy right now, I need help

 

- I have recently change my navigation bar which you can browse by going to http://www.juicersuperstore.com. I have two problems with it: first, the search box is not displaying on the navigation bar when using Firefox,instead it's showing up below it. The bar works with Explorer though, help me with that. Second, I want the search box to be on the right side but I have no idea how to do that either.

 

Here is how the code is in my header

 

" <table border="0" width="100%" cellspacing="2" cellpadding="0">

 

<div id="navbar">

<ul><li style="{font-color:#ffd63f}"><a href="index.php">home</a></li>

<li><img src="images/line-vert.jpg" alt="Call us" width="2" height="13"></li>

<li><a href="https://www.juicersuperstore.com/login.php">login</a></li>

<li><img src="images/line-vert.jpg" alt="Call us" width="2" height="13"></li>

<li><a href="https://www.juicersuperstore.com/contact_us.php">contact us</a></li>

 

<li style="align:right;"><form name="quick_find" action="http://www.juicersuperstore.com/advanced_search_result.php" method="get">

<input type="text" name="keywords" size="25" maxlength="30" style="height:18px; background:#fff; width: 100px; border:1px solid #ccc;">

<input type="hidden" name="osCsid" value="1a1e4898076b3838b4211e120b55b0bc">

<input rel="nofollow" type="image" name="search" src="templates/niche1/images/button_ok.png" align=absmiddle style="margin-top:1px;" />

</form></li>

</ul></div>

</tr>

</table>"

 

 

- I also need help with my checkout button. I want the button to be yellow but I am not able to do that either, I have tried to edit the code in shopping_cart.php, by changing the word "button" in the following code

 

"<td class="main"><?php echo $nav_link; ?></td>

<td align="right" class="main">

<?php

if($valid_to_checkout == true){

echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">'. tep_template_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>';

}

;?></td>"

 

with "submit"---->tep_template_image_submit

 

When I do it that way, it works in Firefox but it doesn't work in Explorer. When I browse the site in Explorer, instead of the checkout button to go to checkout_shipping.php it's updating the shopping cart, I don't understand that. Please help me out guys.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...