HTML - Script Does Not Work In Ie (all Versions)
Hello!
I am working on building a website, and eventually I have managed to find a resolve to all the hurdles that I have come across until it was pointed out to me that there are certain things that don't show up in IE. I have tried it in every version available to me up to 8 and there is one thing that reoccurs each time. If you open it in Chrome or Firefox it works fine. The cascading menu that should appear across the top of the page does not. I have a version of the site uploaded he http://users.farmerstel.com/wabbs125/work/index.html I have been using webpage maker to build the site in. If any one knows of a way to help I would very much appreciate any and all offerings. I have attached a copy of the script. Thank you in advance! Tracy Similar TutorialsHi All, I have developed my website using Internet Explorer version 7.0 which was on my PC. When I opened site in Internet Explorer 6.0 I observed that there is a lot of difference in what is there on v7.0 and now on v6.0. I found many images has got displaced from there original location. Even there is are changes in the color scheme and the background effect of text. I use to see text in <LEGEND> tag in "white " color in my IP7.0 which is apearing in "Blue" color in IP6.0. I think this is happening due to difference in version of IP. Is that correct? Please suggest me the way how to design website so that it will appear as same irrespective of the browser used to open it. Thanks in advance. Regards, Jaas. Hello there. Firstly, thank you for any and all help here. I am no web developer, but I have done some for my degree and other various bits/bobs. I produced a very simplistic website for a client, however the website is showing up different, on different PC's and I cannot get to the bottom of it. Now, I know this is down to my own inexperience in coding, but I followed various books, online suggestions for layout (relative, margin) positioning techniques, and the website looks fine on my PC, on my mrs work PC, even on the clients PC in his office (this is a mixture of IE8 - Win7, XP). However, I get an email from the client, and his understudy, last night saying the website looks terrible. All the text the 3rd column looks out of line (maybe because I used line:height?). As you can see, without having a clear understanding of the backbone of HTML coding, I am going to suffer. The CSS validates, the HTML validates with W3c. The website is: http://www.fpcuk.co.uk The issue is with IE7 and IE8. I coded the website in IE8, but it looks different on IE7. Could you have a look at it for me, and let me know where I have gone wrong. or give me some tips on making it compatible with both IE7 / IE8. There is only about 20 lines of code. It is mainly the right-hand column. Here 's a few images: IE7 http://img.photobucket.com/albums/v2...sueWithIE7.png IE8 http://img.photobucket.com/albums/v294/Jertsy/IE8.png I have nothing but respect for Web Developers, having to build websites for different browsers versions, damn.. So, after looking at my code - can you see any glaring issues that will cause it to distort the layout in different versions. Thank you very much. Spencer K EDIT: FFS!!! I'm tearing my hair out with this. I just cannot get the website to look right in IE7 and IE8 - its driving me fking crazy.. Even adding; Code: <meta http-equiv=”X-UA-Compatible” content=”IE=EmulateIE7″ /> To the top of the page, hoping this will force IE8 to be compatible with IE7 does not work. How on earth am I supposed to figure this out. Everything I try looks different, everything. Not much help here either. Sorry, I don't know where to post that, but I want to try to build a website for iPod but I have no idea how to start, I can make website for desktop version, but not on iPod version. How different do I have to do? Where to start? Thank you. Hi, i'm a new to programming. I try to convert this script which me and my friend create in Eclipse to work in HTML webpage. Till now, still no success. Any web-dev can help me? PHP Code: import javax.swing.*; import java.text.*; public class InputItem { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String [] namaBarang=new String[5]; String [] kodBar=new String[5]; double [] hargaBarang=new double[5]; DecimalFormat df= new DecimalFormat("#.##"); namaBarang [0] = "Sunsilk"; namaBarang [1] = "Dove"; namaBarang [2] = "Gardenia"; namaBarang [3] = "Ferero Rocher"; namaBarang [4] = "Wall's ice cream"; kodBar [0] = "123"; kodBar [1] = "456"; kodBar [2] = "789"; kodBar [3] = "014"; kodBar [4] = "852"; hargaBarang [0] =9.85 ; hargaBarang [1] =5.95 ; hargaBarang [2] =2.35 ; hargaBarang [3] =5.35 ; hargaBarang [4] =1.25 ; int option = 0; String output=""; double total=0.0; output+= "----------------------------\n\tMy Mydin\n----------------------------\n\n"; while (option==JOptionPane.YES_NO_OPTION) { String codeStr=JOptionPane.showInputDialog(null,"Enter the barcode :"); String qtyStr=JOptionPane.showInputDialog(null,"Enter the quantity :"); int qty = Integer.parseInt(qtyStr); System.out.println("\n\n"); for( int i=0; i<kodBar.length;i++) { if(codeStr.equalsIgnoreCase(kodBar[i])) { output+="\n"+ namaBarang [i]+"----------RM"+df.format((hargaBarang[i]*qty)); total+=(hargaBarang[i]*qty); } } option=JOptionPane.showConfirmDialog(null, "Continue?"); } output+="\n\n============RM"+df.format(total); JOptionPane.showMessageDialog(null, output); } } Any help greatly appreciated. Rather than write them out i took a screenshot. So how do i get past those? Hey all, new here and not a very good coder at all, but i find pieces of information and try and make best of it....and as far i can see i cant find this sort of information on this website my problem is im trying to create a code that will log in to a website, wait a few (i.e. 2 seconds) then go to a second web page that is a part of this site for example --> www.htmlforum.com --> (automate login) --> then go to www.htmlforum.com/example this is what i have found so far </head> <body> <FORM action=http://www.thewebsiteexample.com/login.php method= post name=login> <INPUT class=login_input type=hidden name=usrname value="myusername"> <INPUT class=login_input type=hidden name=uemail value="myemail@hotmail.com"> <INPUT class=login_input type=hidden name=peeword value="mypassword"> <INPUT class=login_input type=submit value=Login> <body onload="document.login.submit();"> </form> </body> this code allows me to log in successfully to the site i wish to go to i also have this code to allow loading of a new page (but works only AFTER successfully logged in) <script> <!-- location.replace("http://www.mywebsiteexample.com/arms.php"); --> </script> my problem is i dont know how to join the code, whereby i successfully log in, then run the script to go to the subpage my idea is to delay running of the script code perhaps? which should then allow to successfully load the subpage...or perhaps you guys know another way help is DEFINITELY very appreciated! cheers all! Can someone paste this into an .html file and help me with why this won't work in IE. It works in Chrome and FF. It seems like the onclick event in the two buttons doesn't fire. <!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> <title>Question 1</title> <style type="text/css"> body { background-color: #FFFFFF; font-family: Verdana, sans-serif; color: #000088; margin: 5px; } p.help_text { color: #ff0000; font-size:10px; } table.left { position:relative; right:3px; } input.right { position:relative; left:15px; } </style> <script type="text/javascript"> function Clear(form) { document.multiply_form.arg1.value = ""; document.multiply_form.arg2.value = ""; document.getElementById("answer").innerHTML = "?"; document.getElementById("help").innerHTML = ""; } function Multiply(arg1, arg2, form) { var answer = document.getElementById("answer"); alert("A"); document.getElementById("help").innerHTML = ""; if (validate_form() == true) { document.getElementById("answer").innerHTML = arg1 * arg2; } } function validate_form() { var fields = new Array(); fields[0] = document.multiply_form.arg1; fields[1] = document.multiply_form.arg2; for (i = 0; i < fields.length; i++) { if (fields[i].value.length == 0) { document.getElementById("help").innerHTML = "You must enter 2 arguments to multiply."; fields[i].focus(); return false; } else if (isNaN(fields[i].value)) { document.getElementById("help").innerHTML = "You can only multiply numbers."; fields[i].focus(); return false; } } return true; } </script> </head> <body> <form name="multiply_form" action="" onsubmit="multiply(arg1, arg2)"> Arg 1: <input type="text" name="arg1" value="" size="10"/><br/> Arg 2: <input type="text" name="arg2" value="" size="10"/><br/> <table class="left"> <tr> <td><div>Result: </div></td> <td><div id="answer">?</div></td> </tr> </table> <input class="right" type="button" value="Calculate" onclick="Multiply(this.form.arg1.value, this.form.arg2.value, this.form)"/> <input class="right" type="button" value="Clear" onclick="Clear(this.form)"/> <p id="help" class="help_text"></p> </form> </body> </html> Why on earth doe the cell "Card No." not go to row number 2 and it stays on the same line? I have added a <tr> and it STILL stays on same line. How is this possible? Code: <form id="cin" name="cin" method="post" action=""> <table><tr> <th>Your Name</th> <td><input type="text" name="your_name" /></td> <tr> <td></td> </tr> <th>Card No.</th> <td><input type="text" name="card_no" id="card_no" /></td> </form> Should this tag work ? <img src="file://users/aneuryzma/Desktop/Picture%201.png" name="replaceMe"/> i want to display an image on my local file system... thanks Hi there, would you kindly help me please. I have have been puzzled lately about how exactly i would be able to protect some of my online material. I do realize that keeping things more server sided is the way to go. But what if its a login, where you have two sections of your site, one for members and the other public. My question is how would you be able to protect a page from being viewed if your not logged in. Meaning if someone knows the direct link to a member page, how would you stop them from viewing it if their not a member? (redirect them back to a homepage). how would this kind of thing work? Thanks a million btw new to the forums NetGD Site: http://therivals.summerhost.info Relevant Pages/Files: index.shtml nav.shtml style.css Problem(s): On the side navigation bar, hovering over the 'links' doesn't do anything (even though the stylesheet is supposed to change the background colour/font colour. Clicking also does nothing. I've run both homepage and stylesheet through the W3C Validator and the only errors it comes up with are to do with the ad my host automatically puts at the bottom of each page and CSS3. Interestingly, you cannot highlight anything on the page except that ad. If it's relevant, I've used SSIs to add the code for the navigation bar onto each page. I've tested the site in IE8, Firefox 3.6.19 and Chrome 8.0.552.224. It only works in IE (). It also works when opening the files offline in all the browsers and when using XAMPP. I have absolutely no idea what's gone and would appreciate any helpful input . Hey, On my site, images are correctly placed in Firefox etc. but are in completely the wrong place in internet explorer. The site is he http://thekneelingzombie.com/ Anyone tell me the code I need to slip in to make it work in IE and FF? Thanks v. much Jim Hi, I need help I tried to check the code of my website it works perfectly well in google chrome and firefox but not in Internet explorer. i tried your suggestions but still it doesn't work. Ok. I'm brand new to html and website building. I'm doing pretty ok, but I can't understand why this link won't work: <td><a href="path03"><a target="_blank" ref="maps.htm">Maps</a></a></td> Any thoughts? Thanks. Hows it goin everybody.. I'm just starting to get involved in web design. I have a quick question. I have the template and have modified it to fit my needs. I understand it uses the images from the pack/bundle I D/L'd. I want to load it into geocities and I copied and pasted the code over , but it comes up with just blank with text and a grey screen. I loaded the images into my yahoo account but its not sourcing them. i believe they still have the path that was on my comp. What path would I use to load them off off a remote server (i.e. yahoo) ??? Thanks in advance. I'm sure this could of been worded more efficiently but I'm still very new to this. I save it as an htlm file like the book says right but it is coded in xhtlm but when I try to open my website it says not responding so can anybody tell me what is wrong with my website here is the code <?xml version="1.0" ?> <!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> <title>Jon's Home Page</title> </head> <body> <h1>Welcome to Jon's Home Page</h1> <p>Jon has been creating Web sites for more than eight years. He has written several books on computer programming topics including HTML, XHTML, XML, and ASP. He also runs InPreparation Limited, a small Web solutions company based in London, with clients in the U.K., U.S., and Australia. </p> <p>When not sitting in front of a computer, Jon can usually be found listening to music or playing his guitar.</p> </body> </html> Hi, Just a quick post here to ask for some help. My website (http://www.anewtake.com/ted) which I am making, works fine in Safari and Chrome. However, it does not work quite in Firefox: the top bar, where it says 'welcome' is placed too far over to the right. I'm not sure whether it works in IE7 or IE8, because it won't install on my computer! And I'm not bothered about IE6 because it's just old. So my question is; can anyone help me with getting this page to work in Firefox and validate? Thanks, Ted Hi guys, I'd be grateful for any assistance. I have an affiliate hotel site When I look on Google analytics, around 10% of users at some point get to a page 404 called /ums_step1 I can't for the life of me work out where in the site there is a dead link which could create this. The only plausible theory is that some users can't get through to the checkout screen and get a 404 message. This is a known problem which I thought I had worked out. It seems fine on my computer. 2 questions: - Does anyone know what /ums_step1 might stand for? ie. is it a standard extension for something? - Is there anyone in U.S.A who might be able to just go to the site a click on a random hotel and click book to see if you get to the checkout screen (I'm not spamming for hits here, I don't get paid unless someone actaully goes all the way through the checkout) Any help would be greatly appreciated thanks After the "marital status" and "sex" are selected, I want to assign a default value to the "Title" field. I think I am calling the function DefaultTitle incorrectly because I am not even seeing the initial alert box. Any suggestions? function DefaultTitle(strng,x) { alert("Checking Title."); var Sex=documet.PatientEntry.personal_sex.value; var MaritalStatus=strng; if (Sex=="Female" && MaritalStatus=="Married") {document.PatientEntry.personal_Title.value="Mrs."; HighlightWhite(x); Return; } if (Sex=="Male") {docment.PatientEntry.personal_Title.value="Mr."; HighlightWhite(x); Return; } if (Sex=="Female" && MaritalStatus=="Single") {document.PatientEntry.personal_Title.value="Miss"; HighlightWhite(x); Return; } if (Sex=="Female") {document.PatientEntry.personal_Title.value="Ms."; HighlightWhite(x); Return; } } Sex: <SELECT name="personal_sex" id="personal_sex" tabindex=7> <OPTION>Male</OPTION> <OPTION>Female</OPTION> </SELECT> Marital status: <SELECT name="personal_MaritalStatus" id="personal_MaritalStatus" onmouseout="DefaultTitle(this.value,this.id)" tabindex=8> <OPTION>Married</OPTION> <OPTION>Single</OPTION> <OPTION>Separated</OPTION> <OPTION>Divorced</OPTION> <OPTION>Widow(er)</OPTION> </SELECT> Title: <SELECT name=personal_Title tabindex=9> <OPTION>Mr.</OPTION> <OPTION>Mrs.</OPTION> <OPTION>Ms.</OPTION> <OPTION>Miss</OPTION> <OPTION>Dr.</OPTION> </SELECT><BR> |