Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,199,565 members, 7,972,130 topics. Date: Friday, 11 October 2024 at 01:29 AM |
Nairaland Forum / Science/Technology / Programming / About Browser. (1132 Views)
Download "KIT Browser" Very Fast Browser Designed By A 19-year Old Nigerian / Writing Into A Local File From A Browser Using The HTML5 File System Api-help Me / Can Not Run My Applet In A Web Browser (2) (3) (4)
About Browser. by tundejj: 7:54pm On Sep 04, 2007 |
hi everybody here, i cant open this particular page with internet explorer http://www.gold2wealth.com/buy-egold.html in my site, but others pages are working perfectly. pls, cam someone here tell me what i need to do to resolve this problem, its working perfectly on mozilla firefox, pls i need ur help. thx. |
Re: About Browser. by juintade(m): 9:29pm On Sep 04, 2007 |
@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 dont 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, e-gold investment, invest in e-gold, hyip e-gold, buy e-gold, sell e-gold, purchase e-gold, e-gold hyip, forex trading system, " /> <title>Gold2wealth.com, Buy / sell / exchange of e-gold 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> </p> <p> </p> <p> </p> <p> </p> <p> </p></td> <td width="516" valign="top"><p class="style10">Buy e-Gold </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 e-gold 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="egold" selected="selected">e-Gold</option> </select> </label></td> </tr> <tr> <td><div align="right"><span class="style15">Your e-gold 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 e-gold 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-egold.html" class="style19">BUY EGOLD</a> </div></td> </tr> <tr> <td height="20" bgcolor="#006666"><div align="center"><a href="sell-egold.html" class="style19">SELL YOUR EGOLD</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.nairakobo.com" target="blank"><img src="forum_advert.jpg" width="200" height="174" /></a></td> </tr> </table> <p> </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> |
Re: About Browser. by tundejj: 11:24pm On Sep 05, 2007 |
@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. |
Re: About Browser. by juintade(m): 8:40pm On Sep 06, 2007 |
@ poster I just tested it in IE and it works, guess you have resolved the issue |
Re: About Browser. by tundejj: 1:48pm On Sep 07, 2007 |
yes thank u, it open the website, but dont work with "buy egold page" alone - http://www.gold2wealth.com/buy-egold.html. pls help me check the "buy egold page" thanks |
Re: About Browser. by juintade(m): 7:25pm On Sep 10, 2007 |
@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 |
(1) (Reply)
Dynamicaly Update Database Recordset Across A Lan. / Post Java Questions On Creating Files And Using Streams Here / Can You Imagine The Insult?
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 53 |