Inherited JS Code Not Working In IE9?
Nov 7, 2011
I inherited a website where the previous web designer installed a slideshow javascript code to "feature" products. It works fine in all browsers and IE8 and lower.
However, IE9 and up, it's not working at all. I don't know anything about JS so I'm at a loss as to what the problem is or what could be causing it. I tried contacting the original creator of the JS code at CoolWebDeveloper, but his last post was in 2009 so I'm not expecting much back on that.
The owners of the site use IE9, and IE exclusively for that matter, so they think that the slideshow isn't working ever for anyone coming to the site and are very anxious to get it fixed. I've read that IE9 reads and interprets Java differently than older browsers but with my non-JS knowledge, that doesn't help me much.
I don't want to post the entire code, as guidelines suggested I not, but I don't know what part of or where in the code the problem is coming from. The site is:[URL].
View 1 Replies
ADVERTISEMENT
Jul 5, 2011
I have the following situation:In CSS:
[Code]...
How can I get the CSS properties from such "class inheritance" set-up? More in particular, how can I get the marginLeft from the class "combination" .northSouth.ambiPixelBox? I tried the following in jQuery, but that failed:
[Code]...
View 2 Replies
View Related
Nov 19, 2009
I had read from books that the constructor property of object is inherited from its prototype. And the prototype can be changed dynamically. New property can be added to or deleted from object even it was created before the prototype change.
But I got confused on below codes.
But the actual result (both IE and firefox) is
View 5 Replies
View Related
May 3, 2009
I am trying to create 3 boxes with 2nd select box content to be uploaded on the basis of value selected in first box and third box list should be uploaded on the basis of value selected in 2nd box.i have written coding for that as below but it is not working .
<html>
<head>
<title>Search Website</title>[code].....
View 1 Replies
View Related
Feb 23, 2009
I have a website that lists the movies I have on my computer and then when you click on a link for that movie, it retrieves information from IMDB. The code is in testing but for the most part it works.I was wondering if anyone knew why the following JavaScript would work on Firefox but not in IE. I develop on Linux, and I know there are IEs available for Linux, and I have used them before. I will be sure to track down the issue later, but from the resources I've been using, this should work in both major browser types (standards compliant and microsoft).The code is very dirty, and I have started an object oriented rewrite, but if I don't have the proper DOM skills for IE in this spaghetti code then I doubt anything is going to change putting it all into Objects.
JavaScript Code:
Original
- JavaScript Code
[code].....
View 1 Replies
View Related
Nov 16, 2009
Suppose,closing the browser through Browser Close Button(Top Right Corner cross(x) button), i have to execute some ASP script , for that, in body onUnLoad Event calling a fucntion called CloseWin(e,frm), it is working in Internet Explorer successfully , But in FireFox not working. how to solve this problem. or any other way to get the co-ordinates of browser close button( code for both IE and Firefox).
code follows
function CloseWin(e,frm)
{
//frm required for my program
var bButtonClicked = false;
[Code]....
View 1 Replies
View Related
May 14, 2010
This code works in all browsers, Safari, Chrome, Firefox, but not IE 8 in which I'm testing right now for version.The code is below:
<script type="text/javascript">
$(document).ready(function() {
$('#form_{picture_id}').ajaxForm(function() {
[code]....
View 1 Replies
View Related
Dec 6, 2010
function addEvent(elem,type,func) {
var obj = document.getElementById(elem);
if(window.addEventListener) {
[code]....
View 7 Replies
View Related
Mar 16, 2011
It works just fine when I open the file from my desktop, but when I upload it and try to use it, the javascript stops working. This is the file: [URL] You can try it out there, or you can download it. I can't get it to work at all for some reason...
View 1 Replies
View Related
Mar 6, 2006
I have the following code:
var ns4 = (document.layers) ? true : false;
var ie4 = (document.all && !document.getElementById) ? true : false;
var ie5 = (document.all && document.getElementById) ? true : false;
var ns6 = (!document.all && document.getElementById) ? true : false;
function show(sw,obj) {
// show/hide the divisions
if (sw && (ie4 || ie5) ) document.all[obj].style.visibility = 'visible'
if (!sw && (ie4 || ie5) ) document.all[obj].style.visibility = 'hidden'
if (sw && ns4) document.layers[obj].visibility = 'visible'
if (!sw && ns4) document.layers[obj].visibility = 'hidden'
}
function showme(myarea,x){
//alert(myarea);
if(myarea==1){
//alert("area is yerushalayim");
show(true,x)
}}
for some reason it's not working at all on firefox -- (the hidden div never gets visible) -- anyone know why and how to fix?
View 2 Replies
View Related
Aug 28, 2011
This code works inside my coffee cup test browser but when i test in other browsers it doesnt work at all. none of the features work, drag and drop, highlight text on focus, and cursor change on mouse over.heres a simple code i put together.
<html> <head> <title>sample</title>
<script type="text/javascript">
function handleMouseMove(oEvent) {
[code]....
View 3 Replies
View Related
Dec 18, 2011
i have a item switcher i have made in php and java script but for some reason it works in google chrome but not in firefox. The switcher lets the user pick 1 item and make it there active item so they can do things with it.
[Code]...
View 2 Replies
View Related
Mar 6, 2009
why this my code not working?Nothing error but not work the difference of the hour in the myForm.... :
Code:
<html>
<head>
<script language="JavaScript"> [code]....
View 4 Replies
View Related
Sep 22, 2005
I need to clear a combobox. I'm using the following code:
Code:
for (i = 0; i < combobox_obj.options.length; i++) {combobox_obj.options[i] = null;}
but after working of this code there is a lot of options still.I recoded to that:
Code:
while (combobox_obj.options.length > 0) {for (i = 0; i < combobox_obj.options.length; i++) {combobox_obj.options[i] = null;}}
View 6 Replies
View Related
Apr 20, 2010
I ahve this code which is working on Chrome, Firefox and Safari.But Its not working on IE.
<html>
<script type="text/javascript" language="javascript">
function set_padd(){[code]....
View 2 Replies
View Related
Jul 23, 2005
i want to postload javscript from another javascript. This works fine in
firefox and IE6 for macIE i can use an Iframe to load the code and inject it with insertAdjacentHTML The problems arise with safari and opera. Both load the new code with XMLHttpRequest, but the code is no 'executable'
To make this possible on IE i had to use the magic 'DEFER' attribute.
(Sync or Async ist not the issue)
This is a extract of the working code:
View 5 Replies
View Related
Mar 22, 2010
i have a select dropdown list working fine in firefox...but in IE it is not dynamically changing.i am using Jquery 1.32here is my code
$(function() {
$(document).ready(function() {
$('#provider').load("ajax/order.php?atask=getallproviders", {
[code]....
View 1 Replies
View Related
Aug 11, 2010
every other browser fails. there's got to be a simple explanation for this. code:
$(document).ready(function() {
$('.next').click(function() { nextSlide(); return false });
$('.back').click(function() { prevSlide(); return false });
[code]....
View 9 Replies
View Related
Jun 7, 2009
This code has been working in jQuery 1.2.3:
var country = jQuery("select[@name='country']").get(0).value;
now in jQuery 1.3.2, I got this error:
[Exception... "'Syntax error, unrecognized expression:
[@name='country']' when calling method:
[nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e
(NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]
Line 0
View 1 Replies
View Related
Dec 7, 2009
The fadeOut is not working...
What is wrong in my code?
View 2 Replies
View Related
Jul 24, 2010
The window is supposed to automatically scroll and move but it isn't working. (It was taken from a discontinued book called javascript in 24hrs) The javascript:
var pos=100;
function Scroll(){
if (!document.getElementById ) return;
obj=document.getElementById("thetext");
pos -=1;
if(pos < 0-obj.offsetHeight + 130) return;
obj.style.top=pos;
[Code]...
View 1 Replies
View Related
Oct 10, 2010
Simple random pic script that I found on the some other forum (I forget what it was) code...
code anchors to HTML markup [CODE]
it is working perfectly for Safari and Chrome. Nothing is showing for FF.
View 4 Replies
View Related
Apr 17, 2006
I have attached some files in a zip file. The idea of the code is to click on a textbox in the right frame and a copy is produced in the left frame which can then be dragged around. The code works fine in Firefox however does not work in IE. Can someone help me. The file to run is aspCreateForm.html . I am using a library called dom-drag for the dragging. a copy of this is in the attached zip file.
View 1 Replies
View Related
Feb 25, 2009
Code is not working .
<HTML>
View 9 Replies
View Related
Jun 4, 2010
The following code is not working for IE.
View 11 Replies
View Related
Nov 30, 2010
I am working on my site and I am finding trouble getting my thumbnails to open the larger images when clicked. It only seems to work with the first thumbnail, but I can't figure out why.Here is the code I am working with:
<link rel="stylesheet" type="text/css" media="screen" href="css/colorbox.css"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="javascript/jquery.cycle.all.min.js"></script>
<script type="text/javascript" src="javascript/jquery.colorbox-min.js"></script>
[code]...
View 3 Replies
View Related