About Browser.

A Member? Please Login  
type your username and password to login
Date: December 05, 2008, 04:15 AM
268327 members and 165338 Topics
Latest Member: Ayoben
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Programming (Moderator: Dual Core)  |  About Browser.
Pages: (1) Go Down Send this topic Notify of replies
Author Topic: About Browser.  (Read 209 views)
tunde_jj
About Browser.
« on: September 04, 2007, 07:54 PM »

 hi everybody here,

i can't open this particular page with internet explorer http://www.gold2wealth.com/buy-.html in my site, but others pages are working perfectly.

please, cam someone here tell me what i need to do to resolve this problem, its working perfectly on mozilla firefox, please i need ur help.

thx.
juintade (m)
Re: About Browser.
« #1 on: September 04, 2007, 09:29 PM »

@poster

Can I just say that the design structure used is not very good. Put the CSS in a seperate file and link into the page, that way you can seperate the style from the content, making it easier to trouble shoot the code.

I have resolved the problem, you initially forgot to state what type of script you were using and you used some comments tags that you did not close. I don't have an APACHE server to test it, but it now work in IE. Here is the modified code, hope it helps, if you still get stcuk let me know:






<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content="Gold2wealth.com,  investment, invest in , hyip , buy , sell , purchase ,  hyip, forex trading system, " />
<title>Gold2wealth.com, Buy / sell / exchange of  and other e-currencies in Nigeria, Lagos, Nigeria</title>
<script language="javascript">

var accounts = new Array();
var min_fee = new Array();
var max_fee = new Array();
var discount_fee = new Array();

            accounts[3] = '';
            min_fee[3] = 0;
            max_fee[3] = 1420000;
            discount_fee[3] = new Array();
            discount_fee[3][1] = new Array();
            discount_fee[3][1]['from'] = 1;
            discount_fee[3][1]['to'] = 1000;
            discount_fee[3][1]['fee'] = 0.00;
            discount_fee[3][2] = new Array();
            discount_fee[3][2]['from'] = 1001;
            discount_fee[3][2]['to'] = 2000;
            discount_fee[3][2]['fee'] = 0.00;
            discount_fee[3][3] = new Array();
            discount_fee[3][3]['from'] = 2001;
            discount_fee[3][3]['to'] = 3000;
            discount_fee[3][3]['fee'] = 0.00;
            discount_fee[3][4] = new Array();
            discount_fee[3][4]['from'] = 3001;
            discount_fee[3][4]['to'] = 4000;
            discount_fee[3][4]['fee'] = 0.00;
            discount_fee[3][5] = new Array();
            discount_fee[3][5]['from'] = 4001;
            discount_fee[3][5]['to'] = 5000;
            discount_fee[3][5]['fee'] = 0.00;
            discount_fee[3][6] = new Array();
            discount_fee[3][6]['from'] = 5001;
            discount_fee[3][6]['to'] = 9999;
            discount_fee[3][6]['fee'] = 0.00;
            discount_fee[3][7] = new Array();
            discount_fee[3][7]['from'] = 10000;
            discount_fee[3][7]['to'] = 20000;
            discount_fee[3][7]['fee'] = 0.00;
            discount_fee[3][8] = new Array();
            discount_fee[3][8]['from'] = 20001;
            discount_fee[3][8]['to'] = 50000;
            discount_fee[3][8]['fee'] = 0.00;
changeCurrency();
function changeCurrency(){
    document.main_form.account.value=accounts[document.main_form.idcurrency.value];
    changeAmount();
}

function changeAmount(){
    var fee = 0;
    if (document.main_form.idcurrency.value!=0){
        document.main_form.naira.value=document.main_form.mdollars.value*154;
        fee = document.main_form.naira.value*0.15;
        for (var i=1;i<discount_fee[document.main_form.idcurrency.value].length;i++){
            if ((document.main_form.mdollars.value>=discount_fee[document.main_form.idcurrency.value][i]['from'])&&(document.main_form.mdollars.value<=discount_fee[document.main_form.idcurrency.value][i]['to'])){
                fee = document.main_form.naira.value*discount_fee[document.main_form.idcurrency.value][i]['fee']/100;
                break;
            }
        }
        if (fee<min_fee[document.main_form.idcurrency.value]){
            document.main_form.charge.value=min_fee[document.main_form.idcurrency.value];
            document.main_form.payable.value=document.main_form.mdollars.value*154+min_fee[document.main_form.idcurrency.value];
        } else if (fee>max_fee[document.main_form.idcurrency.value]){
            document.main_form.charge.value=max_fee[document.main_form.idcurrency.value];
            document.main_form.payable.value=document.main_form.mdollars.value*154+max_fee[document.main_form.idcurrency.value];
        } else {
            document.main_form.charge.value=fee;
            document.main_form.payable.value=document.main_form.mdollars.value*154+fee;
        }
    }
}
</script>
<style type="text/css">

body {
   background-color:#CCCC99;
}
.style1 {
   color: #FFFFFF;
   font-family: Geneva, Arial, Helvetica, sans-serif;
   font-size: 12px;
}

#navhrs{border-right:1px solid gray;}
.style4 {color: #FFFFFF}

a:link{text-decoration:none;color:#FFFFFF;}
a:hover{text-decoration:underline;color:#FFFFCC;}

img{border:0px;}
.style7 {
   font-family: Geneva, Arial, Helvetica, sans-serif;
   color: #993366;
   font-size: 13px;
   font-weight: bold;
}
.style10 {
   font-family: Georgia, "Times New Roman", Times, serif;
   font-weight: bold;
   color: #FF6600;
}
.style12 {
   color: #000000;
   font-family: Geneva, Arial, Helvetica, sans-serif;
   font-size: 12px;
}
.style13 {font-family: Georgia, "Times New Roman", Times, serif; font-weight: bold; color: #000000; font-size: 12px; }
.style14 {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 12px;
   font-weight: bold;
   color: #FFFFFF;
}
.style15 {
   font-size: 12px;
   font-family: Geneva, Arial, Helvetica, sans-serif;
}
.style18 {font-size: 14px}
.style19 {color: #FFFFFF; font-size: 14px; }
-->
</style></head>

<body><center>
<table width="760" height="100" border="0" bordercolor="#666633" bgcolor="#CCCC99">
  <tr>
    <td width="766"><img src="new_ber.jpg" width="754" height="102" /></td>

  </tr>
</table>
<table width="753" height="350" border="0" bordercolor="#993366" bgcolor="#FFFFCC">
  <tr>
    <td width="206" height="20" bgcolor="#006666"><div align="center"> <a href="index.html" class="style4 style18">HOME</a> </div></td>
    <td width="548" rowspan="7" valign="top"><table width="530" height="250" border="0">
      <tr>
        <td width="4" valign="top"><p>&nbsp;</p>

          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p>&nbsp;</p></td>
        <td width="516" valign="top"><p class="style10">Buy   </p>
          <p class="style13">Complete the Form below to Get Account Information </p>
        <form name="main_form" id="main_form" action="sendBuyer.php" method="post">
          <table width="516" border="1" bgcolor="#CCCCCC">

            <tr>
              <td colspan="2" bgcolor="#336666"><div align="center"><span class="style14">Buy  Current Exchange Rate, $1 = N154</span> </div></td>
              </tr>
            <tr>
              <td width="157"><div align="right"><span class="style15">Your e-currency Account</span>: </div></td>
              <td width="380"><label>
              <select name="idcurrency" id="idcurrency" onchange="changeCurrency();">

                <option value="" selected="selected"></option>
              </select>
              </label></td>
            </tr>
            <tr>
              <td><div align="right"><span class="style15">Your  Number: </span></div></td>
              <td><label>
                <input name="account" type="text" id="account" />

              </label></td>
            </tr>
            <tr>
              <td><div align="right"><span class="style15">Your  Number Again: </span></div></td>
              <td><label>
                <input name="account2" type="text" id="account2" />
              </label></td>
            </tr>

            <tr>
              <td><div align="right"><span class="style15">Means Of Payment: </span></div></td>
              <td><select name="payment" id="payment">
                <option value="Wema Bank">Wema Bank</option>
              </select></td>
            </tr>
            <tr>
              <td><div align="right"><span class="style15">Your Full Name: </span></div></td>

              <td><label>
                <input name="fullName" type="text" id="fullName" width="100" />
              </label></td>
            </tr>
           
            <tr>
              <td><div align="right"><span class="style15">E-mail</span></div></td>
              <td><label>
                <input name="email" type="text" id="email" />

              </label></td>
            </tr>
            <tr>
              <td><div align="right"><span class="style15">Verify E-mail </span></div></td>
              <td><label>
                <input name="verifyEmail" type="text" id="verifyEmail" />
              </label></td>
            </tr>

            <tr>
              <td><div align="right"><span class="style15">Phone Number: </span></div></td>
              <td><label>
                <input name="phoneNumber" type="text" id="phoneNumber" />
              </label></td>
            </tr>
            <tr>
              <td height="45" valign="top"><div align="right"><span class="style15">Order Comments: </span></div></td>

              <td><label>
                <textarea name="comments" cols="30" rows="5" id="comments"></textarea>
              </label></td>
            </tr>
            <tr>
              <td><div align="right"><span class="style15">Purchase Amount in USD $</span></div></td>
              <td><input name="mdollars" type="text" id="mdollars" onkeypress="changeAmount();" onmousedown="changeAmount();" onkeydown="changeAmount();" onchange="changeAmount();" /></td>
            </tr>

            <tr>
              <td><div align="right"><span class="style15">Purchase Amount in Naira :</span></div></td>
              <td><input name="naira" type="text" id="naira" /></td>
            </tr>
            <tr>
              <td><div align="right"><span class="style15">gold2wealth.com fee: </span></div></td>
              <td><input name="charge" type="text" id="gprofitFee" /></td>
            </tr>

            <tr>
              <td><div align="right"><span class="style15">Total Amount in NAIRA :</span></div></td>
              <td><input name="payable" type="text" id="payable" readonly="readonly"/></td>
            </tr>
            <tr>
              <td><div align="right"></div></td>
              <td><label>
                <input type="submit" name="Submit" value="Buy Now" />

                <input type="submit" name="Submit2" value="Reset" />
              </label></td>
            </tr>
          </table>
        </form>          </td>
      </tr>
    </table>    </td>
  </tr>

  <tr>
    <td height="20" bgcolor="#006666"><div align="center">
      <a href=", /buy-.html" class="style19">BUY </a>
      </div></td>
  </tr>
  <tr>
    <td height="20" bgcolor="#006666"><div align="center"><a href="sell-.html" class="style19">SELL YOUR </a> </div></td>

  </tr>
  <tr>
    <td height="20" bgcolor="#006666"><div align="center"><a href="faqs.html" class="style19">FAQ</a></div></td>
  </tr>
  <tr>
    <td height="20" bgcolor="#006666"><div align="center"><a href="contact_us.html" class="style19">CONTACT US</a> </div></td>
  </tr>

  <tr>
    <td height="71"><div align="center">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="166" height="80">
        <param name="movie" value="gold flash.swf" />
        <param name="quality" value="high" />
        <embed src="gold flash.swf" width="166" height="80" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
      </object>
    </div></td>
  </tr>

  <tr>
    <td height="253" valign="top"><div align="center">
      <p><img src="transact.jpg" width="159" height="77" /></p>
      <table width="200" height="174" border="0">
        <tr>
          <td><a href="http://www." target="blank"><img src="forum_advert.jpg" width="200" height="174" /></a></td>
        </tr>
      </table>
      <p>&nbsp;</p>

    </div></td>
  </tr>
</table>

<table width="758" border="0" bgcolor="#cccc99">
  <tr>
    <td width="371" bgcolor="#006666"><span class="style1">Copyright : 2007 : Gold2wealth Allright Reserved</span> </td>
    <td width="377" bgcolor="#006666"><div align="right"><span class="style1">Design : Sotfpag Inc</span> </div></td>

  </tr>
</table>
</center>
</body>
</html>
tunde_jj
Re: About Browser.
« #2 on: September 05, 2007, 11:24 PM »

@juintade,

thank u very much for ur respond, i hav replace the code with updated one, it work without uploding it, after i uploaded the page its doesnt work again. sir i would be very greatful if u can help me text it to know exactly  what happen to it.

thx.
juintade (m)
Re: About Browser.
« #3 on: September 06, 2007, 08:40 PM »

@ poster

I just tested it in IE and it works, guess you have resolved the issue
tunde_jj
Re: About Browser.
« #4 on: September 07, 2007, 01:48 PM »

yes thank u, it open the website, but don't work with "buy  page" alone - http://www.gold2wealth.com/buy-.html. please help me check the "buy  page"

thanks
juintade (m)
Re: About Browser.
« #5 on: September 10, 2007, 07:25 PM »

@poster
have you resolved this issue or do you still want me to work on it, I discovered there are more than 20 errors in the script, using the XHTML validator
 Cant We Crate A Search Engine Web Site  Basic Programming Materials  Mysql Verses Oracle Database   Page 2
Pages: (1) Go Up Send Topic to Friend by E-mail Reply 
Google
 
Web www.nairaland.com
Sections: TV/Movies (2) Music/Radio (2) Celebrities Job Talk Jobs/Vacancies (2) Career Talk Romance Books Politics Sports Fashion Travel
Health Schooling Religion General(2) Business Webmaster Programming Computers Phones Cars & Trucks

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.