Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Removing box... help.
Old 01-07-2006, 12:31 AM Removing box... help.
Novice Talker

Posts: 4
Trades: 0
Hello all,

I have a small and probably very simple problem to solve.
However I have come to a point where I feel really stupid because I can't solve this.

Please view: http://www.steinhartwatches.com/store/privacyTEST.php
As you see, I am trying to add a language selection thing in the row in the top right where it is. I am able to get it placed right, but I can't for the life of me remove the box around the flags.

I have tried editing the css controlling the styles, but it would make more sense to simply remove the box surrounding the flags.

Help please! I have spent a couple hours on this and for some odd reason I can't get it right.

Here is the source code for the page:
PHP Code:
<?php

  
require('includes/application_top.php');

  require(
DIR_WS_LANGUAGES $language '/' FILENAME_PRIVACY);

  
$breadcrumb->add(NAVBAR_TITLEtep_href_link(FILENAME_PRIVACY));
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS?>>
<head>

<?php
if ( file_exists(DIR_WS_INCLUDES 'header_tags.php') ) {
  require(
DIR_WS_INCLUDES 'header_tags.php');
} else {
?> 
  <title><?php echo TITLE?></title>
<?php
}
?>
  <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-104992-1";
urchinTracker();
</script>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER HTTP_SERVER) . DIR_WS_CATALOG?>">
        <link rel="stylesheet" type="text/css" href="../stylesheet.css">
        <csimport user="smidnav.html" occur="39">
            <link href="../stylesheet.css" rel="stylesheet" type="text/css" media="all" />
        </csimport>
        <csimport user="sfooter.html" occur="39">
            <link href="../stylesheet.css" rel="stylesheet" type="text/css" media="all" />
        </csimport>
        <csimport user="../tollfree.html" occur="37">
            <link href="../stylesheet.css" rel="stylesheet" type="text/css" media="all" />
        </csimport>
    </head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><!-- DHTML Menu Builder Loader Code START -->
<div id=DMBRI style="position:absolute;">
<img src="../images/dmb_i.gif" name=DMBImgFiles width="1" height="1" border="0" alt="">
<img src="../menu/dmb_m.gif" name=DMBJSCode width="1" height="1" border="0" alt="">
</div>
<script language="JavaScript" type="text/javascript">
var rimPath=null;var rjsPath=null;var rPath2Root=null;function InitRelCode(){var iImg;var jImg;var tObj;if(!document.layers){iImg=document.images['DMBImgFiles'];jImg=document.images['DMBJSCode'];tObj=jImg;}else{tObj=document.layers['DMBRI'];if(tObj){iImg=tObj.document.images['DMBImgFiles'];jImg=tObj.document.images['DMBJSCode'];}}if(!tObj){window.setTimeout("InitRelCode()",700);return false;}rimPath=_gp(iImg.src);rjsPath=_gp(jImg.src);rPath2Root=rjsPath+"../";return true;}function _purl(u){return xrep(xrep(u,"%%REP%%",rPath2Root),"\\","/");}function _fip(img){if(img.src.indexOf("%%REL%%")!=-1) img.src=rimPath+img.src.split("%%REL%%")[1];return img.src;}function _gp(p){return p.substr(0,p.lastIndexOf("/")+1);}function xrep(s,f,n){if(s) s=s.split(f).join(n);return s;}InitRelCode();
</script>
<script language="JavaScript" type="text/javascript">
function LoadMenus() {if(!rjsPath){window.setTimeout("LoadMenus()", 10);return false;}var navVer = navigator.appVersion;
if(navVer.substr(0,3) >= 4)
if((navigator.appName=="Netscape") && (parseInt(navigator.appVersion)==4)) {
document.write('<' + 'script language="JavaScript" type="text/javascript" src="' + rjsPath + 'nsmenu.js"><\/script\>');
} else {
document.write('<' + 'script language="JavaScript" type="text/javascript" src="' + rjsPath + 'iemenu.js"><\/script\>');
}return true;}LoadMenus();</script>
<!-- DHTML Menu Builder Loader Code END -->
        <div align="center">
            <br>
            <table id="Table_01" width="880" height="661" border="0" cellpadding="0" cellspacing="0">
                <tr height="21">
                    <td colspan="7" width="1543" height="21" background="../images/steinhart-watches_01.jpg" valign="top">
                        <div align="left"><img border="0" src="http://www.steinhar****ches.com/images/simg.gif" width="1" height="21" name="SWdmimg"></div>
                        </td>
                </tr>
                <tr height="15">
                    <td colspan="7" width="1543" height="15" background="../images/steinhart-watches_02.jpg"></td>
                </tr>
                <tr height="23">
                    <td colspan="7" width="1543" height="23" background="../images/steinhart-watches_03.jpg"><csobj csref="../tollfree.html" h="13" occur="37" t="Component" w="899">
                            <div align="center">
                                <span class="maintxt"><font color="yellow"><b>
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td width="27%"><img src="../images/logo_ccVisa.gif" alt="" height="21" width="37" border="0" /><img src="../images/logo_ccMC.gif" alt="" height="21" width="37" border="0" /><img src="../images/logo_ccDiscover.gif" alt="" height="21" width="37" border="0" /><img src="../images/logo_ccAmex.gif" alt="" height="21" width="37" border="0" /><img src="../images/logo3.gif" alt="" height="21" width="62" border="0" /></td>
                                                    <td>
                                                        <div align="center">
                                                            <span class="maintxt"><font size="2" color="yellow"><b><strong>Order Online Today or Call Toll Free (888) 849-0929</strong></b></font></span></div>
                                                    </td>
                                                    <td width="27%" valign="top">
<?php
  $info_box_contents 
= array();
  
$info_box_contents[] = array('text' => BOX_HEADING_LANGUAGES);

  new 
infoBoxHeading($info_box_contentsfalsefalse);

  if (!isset(
$lng) || (isset($lng) && !is_object($lng))) {
    include(
DIR_WS_CLASSES 'language.php');
    
$lng = new language;
  }

  
$languages_string '';
  
reset($lng->catalog_languages);
  while (list(
$key$value) = each($lng->catalog_languages)) {
    
$languages_string .= ' <a href="' tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language''currency')) . 'language=' $key$request_type) . '">' tep_image(DIR_WS_LANGUAGES .  $value['directory'] . '/images/' $value['image'], $value['name']) . '</a> ';
  }

  
$info_box_contents = array();
  
$info_box_contents[] = array('align' => 'center',
                               
'text' => $languages_string);

  new 
infoBox($info_box_contents);
?>                                                    
</td>
                                                </tr>
                                            </table>
                                        </b></font></span></div>
                        </csobj></td>
                </tr>
                <tr height="14">
                    <td colspan="7" width="1543" height="14" background="../images/steinhart-watches_04.jpg"></td>
                </tr>
                <tr height="232">
                    <td colspan="3" width="188" height="232" background="../images/steinhart-watches_05.jpg"></td>
                    <td colspan="3" width="687" height="232"><script src="http://www.steinhar****ches.com/images/nh/nhrandimg.js" type="text/javascript" lang="javascript"></script></td>
                    <td width="5" height="232" background="../images/steinhart-watches_07.jpg"></td>
                </tr>
                <tr height="219">
                    <td colspan="2" valign="top" width="21" height="219" background="../images/steinhart-watches_08.2.jpg"><img src="../images/steinhart-watches_08.jpg"></td>
                    <td colspan="2" valign="top" bgcolor="white" width="1498" height="219">
                        <div align="center">
                            <table width="95%" border="0" cellspacing="3" cellpadding="3">
                                <tr><!-- body_text //-->
                                    <td valign="top" width="100%">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td>
                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                        <tr>
                                                            <td class="pageHeading"><?php echo HEADING_TITLE?></td>
                                                            <td class="pageHeading" align="right"></td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td><?php echo tep_draw_separator('pixel_trans.gif''100%''10'); ?></td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <table width="100%" border="0" cellspacing="0" cellpadding="2">
                                                        <tr>
                                                            <td class="main"><?php echo TEXT_INFORMATION?></td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td><?php echo tep_draw_separator('pixel_trans.gif''100%''10'); ?></td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <table class="infoBox" width="100%" border="0" cellspacing="1" cellpadding="2">
                                                        <tr class="infoBoxContents">
                                                            <td>
                                                                <table width="100%" border="0" cellspacing="0" cellpadding="2">
                                                                    <tr>
                                                                        <td width="10"><?php echo tep_draw_separator('pixel_trans.gif''10''1'); ?></td>
                                                                        <td align="right"><?php echo '<a href="javascript:history.go(-1)">' tep_image_button('button_continue.gif'IMAGE_BUTTON_CONTINUE) . '</a>'?></td>
                                                                        <td width="10"><?php echo tep_draw_separator('pixel_trans.gif''10''1'); ?></td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    <!-- body_text_eof //--></tr>
                            </table>
                        </div>
                    </td>
                    <td colspan="3" valign="top" width="24" height="219" background="../images/sw_08.2.jpg"><img src="../images/steinhart-watches_10.jpg"></td>
                </tr>
                <tr height="10">
                    <td colspan="7" width="1543" height="10" background="../images/steinhart-watches_11.jpg"></td>
                </tr>
                <tr height="27">
                    <td width="15" height="27" background="../images/steinhart-watches_12.jpg"></td>
                    <td colspan="4" width="1509" height="27" background="../images/steinhart-watches_13.jpg"><csobj csref="smidnav.html" h="14" occur="39" t="Component" w="857">
                            <div align="center">
                                <span class="midnav">Steinhart Swiss Watch Models: <a title="Steinhart Ocean 1" href="product_info.php?cPath=21&products_id=41">Ocean 1</a> | <a title="Steinhart GMT Ocean 1" href="product_info.php?cPath=21&products_id=42">GMT Ocean 1</a> | <a title="Steinhart Portugal Mariner" href="product_info.php?cPath=21&products_id=43">Portugal Mariner</a> | <a title="El Capital" href="product_info.php?cPath=21&products_id=47">El Capital</a> | <a title="Militare UT 6498" href="product_info.php?cPath=21&products_id=48">Militare UT 6498</a> | <a title="Steinhart Aircraft8" href="product_info.php?cPath=21&products_id=49">Aircraft8</a> | <a title="Steinhart World Traveler" href="product_info.php?cPath=21&products_id=44">World Traveler</a></span></div>
                        </csobj></td>
                    <td colspan="2" width="19" height="27" background="../images/steinhart-watches_14.jpg"></td>
                </tr>
                <tr height="39">
                    <td colspan="7" width="1543" height="39" background="../images/steinhart-watches_15.jpg"></td>
                </tr>
                <tr height="60">
                    <td colspan="7" width="1543" height="60" background="../images/steinhart-watches_16.jpg"><csobj csref="sfooter.html" h="52" occur="39" t="Component" w="899">
                            <div align="center">
                                <span class="sfooter"><a title="Steinhart Home Page" href="../index.html">Home page</a> | <a title="Shopping Cart" href="shopping_cart.php">Shopping Cart</a> | <a title="Contact Us" href="contact_us.php">Contact Us</a> | <a title="Terms &amp; Conditions" href="conditions.php">Info / Terms</a> | <a title="Shipping Policy" href="shipping.php">Shipping Policy</a> | <a title="Privacy Policy" href="privacy.php">Privacy Policy</a> | <a title="Warranty Info" href="warranty.html">Warranty Info</a><br>
                                    <a title="Steinhart Ocean 1 Watch" href="http://www.steinhar****ches.com/store/product_info.php?cPath=21&products_id=41">Ocean 1</a> | <a title="Steinhart GMT Ocean 1 Watch" href="http://www.steinhar****ches.com/store/product_info.php?cPath=21&products_id=42">GMT Ocean 1</a> | <a title="Steinhart Portugal Mariner Watch" href="http://www.steinhar****ches.com/store/product_info.php?cPath=21&products_id=43">Portugal Mariner</a> | <a title="Steinhart El Capitan Watch" href="http://www.steinhar****ches.com/store/product_info.php?cPath=21&products_id=47">El Capitan</a> | <a title="Steinhart Militare UT 6498 Watch" href="http://www.steinhar****ches.com/store/product_info.php?cPath=21&products_id=48">Militare UT 6498</a> | <a title="Steinhart Aircraft8 Watch" href="http://www.steinhar****ches.com/store/product_info.php?cPath=21&products_id=49">Aircraft8</a> | <a title="Steinhart World Traveler Watch" href="http://www.steinhar****ches.com/store/product_info.php?cPath=21&products_id=44">World Traveler</a><br>
                                    <a title="About Us" href="../about.html">About Us</a> | <a title="Help &amp; FAQ" href="../faq/index.php">Help &amp; FAQ</a> | <a href="../glossary.html">Watch Glossary</a> | <a title="Hr.Watches Magazine Article" href="../hr-watches.html">Hr.Watches Magazine Article</a> | <a title="Photo Gallery" href="../gallery/index.php">Photo Gallery</a> | <a title="Steinhart Watches Site Map" href="../site_map.html">Site Map</a><br />
                                    
                Copyright 2006 Steinhart LLC : Swiss Made In Jura</span></div>
                        </csobj></td>
                </tr>
                <tr height="1">
                    <td width="15" height="1"><img src="../images/spacer.gif" width="15" height="1" alt=""></td>
                    <td width="6" height="1"><img src="../images/spacer.gif" width="6" height="1" alt=""></td>
                    <td width="167" height="1"><img src="../images/spacer.gif" width="167" height="1" alt=""></td>
                    <td width="668" height="1"><img src="../images/spacer.gif" width="668" height="1" alt=""></td>
                    <td width="5" height="1"><img src="../images/spacer.gif" width="5" height="1" alt=""></td>
                    <td width="14" height="1"><img src="../images/spacer.gif" width="14" height="1" alt=""></td>
                    <td width="5" height="1"><img src="../images/spacer.gif" width="5" height="1" alt=""></td>
                </tr>
            </table>
            <br>
        </div>
    </body>
</html>
<?php require(DIR_WS_INCLUDES 'application_bottom.php'); ?>
THANKS IN ADVANCE TO ANYONE WHO CAN HELP!

Last edited by 0beron; 01-08-2006 at 10:21 AM..
mrwest is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-07-2006, 12:33 AM Removing box, addition
Novice Talker

Posts: 4
Trades: 0
ps. this is the actual code that controls and calls the languages:
PHP Code:
<?php
  $info_box_contents 
= array();
  
$info_box_contents[] = array('text' => BOX_HEADING_LANGUAGES);

  new 
infoBoxHeading($info_box_contentsfalsefalse);

  if (!isset(
$lng) || (isset($lng) && !is_object($lng))) {
    include(
DIR_WS_CLASSES 'language.php');
    
$lng = new language;
  }

  
$languages_string '';
  
reset($lng->catalog_languages);
  while (list(
$key$value) = each($lng->catalog_languages)) {
    
$languages_string .= ' <a href="' tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language''currency')) . 'language=' $key$request_type) . '">' tep_image(DIR_WS_LANGUAGES .  $value['directory'] . '/images/' $value['image'], $value['name']) . '</a> ';
  }

  
$info_box_contents = array();
  
$info_box_contents[] = array('align' => 'center',
                               
'text' => $languages_string);

  new 
infoBox($info_box_contents);
?>

Last edited by 0beron; 01-07-2006 at 05:16 PM..
mrwest is offline
Reply With Quote
View Public Profile
 
Old 01-07-2006, 12:35 AM Removing box, addition 2
Novice Talker

Posts: 4
Trades: 0
I'm not trying to link to the website, but the page can be viewed at Steinhartwatches dot com


Go to the Steinhart watches site to see the page, plus store, and privacyTEST.php

Last edited by 0beron; 01-08-2006 at 10:21 AM..
mrwest is offline
Reply With Quote
View Public Profile
 
Old 01-07-2006, 05:21 PM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
Please in future when posting large amounts of code, make use of the [html ] [php ] and [code ] tags for HTML, PHP or any other type of code respectively. You get nice syntax highlighting and it doesn't take up 10 pages making it much more likely that people will be able to face the task of reading through it all!

Which boxes do you mean? The black ones around the individual flags, or the big white box they are sat in? Do you want the grey stripe to extend under the flags?
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Old 01-07-2006, 06:17 PM
Novice Talker

Posts: 4
Trades: 0
I would like the big white box removed where the flags are placed in.
Thanks.

Last edited by 0beron; 01-07-2006 at 09:18 PM..
mrwest is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Removing box... help.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.17236 seconds with 12 queries