This Script Works In Firefox But No Other Browsers?
Jan 20, 2010
I'm making a Google Map that reads info from a database and pulls Twitter usernames from it to plot points on a map. In the infowindow of these points I have some code that displays the Twitter users latest tweet. There's alot of code for this map so i'll only show you the part i'm working on, which is the read database part:
Code:
function readData() {
var request = GXmlHttp.create();
I recently made a simple tool that opens a website in an iFrame and tells the user how long the page took to load. I made it out of a premade stopwatch
When i run the test in most browsers (Chrome, Firefox 3.6 and older, IE) it works fine with the output textbox going from "Please run the test" to "Test Running" to [TIME TAKEN FOR PAGE TO LOAD] but in firefox 3.7 (Minefield) it goes from "Please run the test" to "0" every time and the page in the iFrame doesn't load.
I've read that Firefox 3.7 has a new Javascript Engine
The test is at [URL] and the problem code is on THIS PAGE (Use View Source in your browser)
how I can make this work in IE as well?? It is a code that shows a divide on click and then hides the rest at the same time.live code is also at chryscreations.com/ns/boynames.html
Does anyone see anything wrong with this code? It's a mystery to me why it works fine in all browsers but IE6/Win. Not getting any JS errors or anything to help debug.
<script type="text/javascript"> function submitGeoSelect ( geositeID ) { var geoURL = "https://<?= $_SERVER['SERVER_NAME']?>"; switch ( geositeID )
[URL]...At the page above, at the bottom, there is a button that says "E-mail Seller". This loads a small contact form in a jQuery fancyBox (lightbox). The following script (form-handler.js) is meant to handle the form to and from the form-handler.php.
[Code]...
Everything works fine in Firefox, IE and Chrome. However in Safari, it's like the contents of form-handler.js are not there, its not doing anything. Using Safaris dev tools you can clearly see the script has loaded fine.
I am trying to set up some code to control a mouseover popup image. I have the script that works except in certain browsers the results are different.This is the page: (just mouse over the first players name).Here is the script:
<script type="text/javascript"> function ShowPopup(hoveritem) {
OK, never seen anything like this before. I have this AJAX shopping cart I am developing where they add a product and the side bar of the site updates what's in the cart automatically. Works perfect in all browsers except IE (6 and 7).In IE it works the first time you add a product then after that the sidebar does not update AND there are no JavaScript errors. The cart is actually updated because when you refresh the page all the items you added are there.... got me scratching my head to say the least.Here's the scripts that run it (a little messy because I am still tinkering with it:
Im using The Superfish Menu code(http:url....) in a web page and it works in all the browsers except Internet Explorer 8, because it says:t ohelp protect your security, Internet Explorer has restricted this file from showing active content that could access your computer.
This is an example of what I currently have. There is also a button which adds more rows. It wasn't too hard to get it working using CSS and innerHTML:
However, due to mass css headaches with the layout, I' like to see if it can be done it tables instead and using the DOM methods (nodes, createElement etc)
so far, the examples I've seen either don't allow the same functionality or don't work across IE5+(win), and modern versions of FFox, Safari and Netscape (MAC + WIN)
Does anyone know of a good class/example/tutorial?
i am new to AJAX but i havejust managed to write one of my first basic scripts. What it does is takes all the news items out of a database and lists them as links. When you click a link i want all of the data that is linked to that news item to display underneath. Now i have got this to work except it will not work in Firefox, all other browsers it is fine.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Style-Type" content="text/css"> [Code]....
alerts the innerHTML content in all the browsers. Except in Firefox 3.6.8, which alerts a blank value. What the f?:confused: I know that innerHTML is not a standard DOM method, but it used to be a crossbrowser one since FF 1.5, right? Edit: It does not work even in case of firstChild.nodeValue or firstChild.data. FF 3.6.8 says that the DIV element has no first child, which is amazing.
The cycle plugins works great inMozillabut when comes to IE 8 it shows up the above error.I have given the height as auto.But in chrome the image is cropped.Why could be that happened?The image rotates in chrome but its a portion is visible only.I am using J-query version - jquery-1.4.2.min.js and cycle version isjquery.cycle.all.2.74.js
I have encountered an issue with Javascript and my novice skill set has not allowed me to find a solution. On a page I have several images, when the user clicks on an image I pass some info about that image to my display html page. In the display page I want to display two images so I append Zoom.jpg and Medium.jpg to the string I passed. FireFox displays both images but IE does not seem to know what to do with it.
well as the title indicates I have a little bit of javascript code that works perfectly in IE but not at All in FireFox. the code checks the length of text in a textarea. the code for the textarea: Code:
I'm writing a SOAP type application that only works over ssl. Authentication works with Firefox but fails when I use a different browser. For some reason, chrome, opera, IE all omit the POST information and I don't understand why. Below is the requests sent to the server from Firefox and Opera. Following that is the javascript that sends the password. My js skills are pretty weak to say the least. Is "document" cross compatible or different for all browsers?
------------------Recieved------------------- POST /authme.cgi HTTP/1.1 Host: localhost:6060 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8