Porting - App - Doesn't Work Properly On Mozilla Browsers

Nov 22, 2010

First, We 've a course registeration Web app that was developed in .NET/javascript.

In brief, the students login, then the available courses is drawn to him (as DIVs) to select courses then apply registeration.

Of course , the dynamic part of selecting/highliting courses is done in javascript as a clientside Javascript.

The problem that this app was developed with no x-browser compatibility in mind (e.g firefox and chrome). it works fine on IE , ofcourse doesn't work properly on Mozilla browsers.

Now, i want to modify it to be mozilla compatible , i spent time inspecting it (functions and classes, "yes the developer made a javascript classes") .

Is there a tool or something that porting to mozilla ?

View 9 Replies


ADVERTISEMENT

Porting App To Mozilla - Work On Both IE/Mozilla ?

Nov 30, 2010

I've a BIG Problem With a HUGE JS application , i'm modifying its javaScript code to work on both IE/Mozilla , currently it works fine on IE but not on Mozilla.

My main Point now is events.

Lets try with a little module, consider this function :

And it is attached in this place like :

This works fine in IE , i want to modify it to work on Mozilla.

View 2 Replies View Related

How Do I Make This Script Work With Mozilla Browsers?

Jul 23, 2005

I'm having trouble with a bit of code to make a paragraph of text change colour every second to a new, random colour:

Here's the script's function:

<script type="text/javascript">
function change()
{
re="rgb("+Math.round(Math.random()*256)+","+
Math.round(Math.random()*256)+","+Math.round(Math.random()*256)+")"
text.style.color=re;
}
setInterval(change,1000);
</script>

Then you create the text you want to change colour in a paragraph with
id "text":

<p id="text"> Here is where you type your text. </p>

This works beautifully in IE and Opera, but does absolutely nothing in
Mozilla-based browsers. Can I do anything to this script to make it
work in Mozilla browsers?

View 1 Replies View Related

Select.remove(i) Doesn't Work Properly

Jan 13, 2010

the remove(i) doesn't remove the option[i] but works unexpectedly and removes the first 4 options.how to delete the selected index only?

View 1 Replies View Related

Rounded Corner On Rollover - It Doesn't Work Properly In IE?

Feb 4, 2011

I am developing a site that requires the navigation menu to have one rounded corner at the end on the home button. The default button state is created using a background image but I need it to also have a rollover effect on hover and also on focus (for the home page item only). I have tried to use CSS and curvy corners Javascript code to create the effect as I don't want to use images. However, I don't think the curvy corners script is picking up the div item that I want to apply the corner to.

The trouble is I have a number of div boxes on the site that also have rounded corners (3 rounded and 1 square). The CSS is working fine for these in all browsers apart from Opera but when it comes to the navigation it doesn't work properly in IE. Here's the HTML for the menu:

Code:

<div id="menu">
<ul>
<li><a href="index.htm" class="home">Home</a></li><li><a href="#">Mortgages</a></li><li><a href="#">Life Assurance</a></li><li><a [code].....

The CSS is in an external stylesheet, although I have also added the CSS for the rounded corner items to the header code.The class 'homefocus' seems to work when applied to the a tag on the home page but the other class 'home' which should work on hover won't work in IE.

View 3 Replies View Related

OnClick Works Properly But Following If Statement Doesn't Work?

Sep 1, 2011

I have a simple problem that I can't solve. I am trying to code a "More Info" button/link to display some more technical details of an item, if required or wanted. I haven't tried incorporating any code in to my web site yet, first I am trying to test how it can be done in a seperate file.

What I have right now is a table with two cells. In one cell is static text, in the other is a hyperlink. The onClick event calls a JS function called "more_info()" in which a global varible is altered to contain the value 1.

Directly after these two cells is more JS (this is before the table ends). The JS here is checking to see whether the value of the global variable has been changed. If the value is 1, display information. There is no "else" clause because I don't want information displayed unless the variable is equal to 1, so it is not required.

I think I know what the problem might be. The browser is reading the code in question before I ever click the link and has already been executed before the variable is changed. I know JS is object oriented so it will not sit there waiting for me to click the button before reading the logical statements.

[Code]...

View 6 Replies View Related

Function Doesn't Work On Explorer But On Other Browsers / Why Is So?

Jul 19, 2011

I have the following function that display a list depending on the drop down option the user selects but doesnt not work on explorer it works on other browsers but on exploere i get the following error code...

View 10 Replies View Related

JQuery :: Event Animation Callback Doesn't Work Properly ?

Dec 9, 2010

This is my code:

I've set the animation to large numbers (1000) to make it very obvious.

The helper will show before the other fieldSets have been hidden. The show animation begins about half way through the hide animation. Since both elements are occupying the same space, this makes the container jump around in size as it breifly expands to fit one under the other.

View 2 Replies View Related

JQuery :: Image Doesn't Work Properly In Safari And Chrome?

Nov 1, 2010

I've hosted a test suite at: Webkit Bug Clicking on the enlarged image doesn't work properly in Safari and Chrome.

View 2 Replies View Related

JQuery :: Tabs Menu Doesn't Work In Mozilla Browser

Jun 22, 2011

jquery tabs menu doesnt work in mozilla Browser and same code work in internet explorer.

Whats the actual problem ?

I Check Mozila Error Console but there is no error...

View 2 Replies View Related

Code Doesn't Work In Firefox 3.7 Beta But Works In All Other Browsers

Jun 2, 2010

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)

View 1 Replies View Related

GetElementsByTagName("script") Doesn't Work Properly After An AJAX Call In IE

Oct 2, 2009

The following code works well in both FF and IE

<div id="div1">
<script type="text/javascript">
// somecode
</script>
</div>
<script type="text/javascript">
[Code]...

However if the contents of div1 obtains its innerHTML from an AJAX call then the first <script> tage is not found by getElementsByTagName("script") if there is no other HTML before the <script> tag.

View 4 Replies View Related

Working In Mozilla But Not In Other Browsers?

Jun 21, 2010

with the bellow code iam able to run the code without any problem in mozilla but not in other .

Code:
<html>
<body>
<script language="javascript">

[Code]....

View 1 Replies View Related

Why Ie Doesn't Preload Images Properly?

Jul 18, 2009

i am using the javascript Image object to preload images, on FF everything works fine but ie always reload the images so i get some flicking.

View 9 Replies View Related

Mozilla Doesn't Handle Function Pointer Well?

Jul 23, 2005

I have the following code:
var ocevent = function(v)

{

alert('javascript event: u clicked '+v);

return false;

};

var items = {

"002.jpg": {text:"002", href:"#", click:function(){return ocevent(2)} },

"003.jpg": {text:"003", href:"#", click:function(){return ocevent(3)} },

....}

And I use the following code to assign the click property to onclick of
anchor.

a.setAttribute('onclick', items[id].click);

However, the code works well in IE but not in Mozilla Firefox. To test the
code go to:

View 5 Replies View Related

Special Character Doesn't Display Properly In Dynamic Menu?

Aug 6, 2009

I have two drop down menus in a form. Based on what the user selects in menu 1, menu 2 is populated accordingly.

I do this by first stripping all option elements from the drop down menu that is to be populated:

myElement.options.length=0;

and then, depending on the index of the option chosen in menu 1, I add the values to menu 2 thus:

Code JavaScript:
if (index==1){
options[0]=new Option("Please select a member","0");
options[1]=new Option("Prof. A","1");

[Code]....

I have tried changing the charset to iso-8859-1 but to no avail.

Am I making a mistake in my java script of in my html?

View 8 Replies View Related

2nd Iteration Doesn't Update - General Case Doesn't Work

May 10, 2010

This is a makeshift sort function for a table. I want to replace a div contents with a javascript function call. It works fine if I define the individual case, but the general case doesn't work. The problem lies with the +divHold+ part. It never converges to the passed value on the 2nd iteration. This is my Div:

[Code]...

View 4 Replies View Related

Getting InnerHTML To Work Properly In FF?

Jul 12, 2009

i looked in one of my other projects that i recently finished, and the code seems to be identical.Basically it should generate an array of Canvases where individual letters can be written. Later other javascript code will try to determine which letter was written (letter recognition).The error that i keep getting is "ChangeThisID is Null".

here's the code:

<CODE>
<html>
<head>

[code]...

View 1 Replies View Related

Javascript Work In NN/Mozilla

Jul 20, 2005

could you kindly help me to solve a compatibility problem that involves
Internet Explorer and NN/Mozilla.

I created a html page that contains a form (its name is "Modulo") and some
text boxes. After clicking on a button, a popup appears.
I tried to modify the text of "Testo" textbox from the popup windows by
using the following javascript code:

window.opener.Modulo.Testo.value=window.opener.Mod ulo.Testo.value + " This
will be added to Testo textbox!";

The code is correctly run by Internet Explorer and the "Testo" textbox in
the calling html page is successfully updated.

When I try to open these pages with Mozilla, the javascript code that should
update the textbox is ignored. How can I solve this problem?

View 2 Replies View Related

I Can't Get The Squared() Function Work Properly

Jul 20, 2005

Can someone tell me where the problem here is? I can't get the "squared()"
function to work properly...it supposed to put the squared value into the
iframe area....

View 11 Replies View Related

JQuery :: Getting Some Functions To Work Properly?

Jul 27, 2011

I'm pretty new to jquery and I've been working on a little project to see what I can do. The issue is when I first visit the page and click the first link that appears in the main section it displays the popup box as wanted. Now when I click another day, for instance sunday and try to click the first link it doesn't do anything. And if I click back to Saturday the first link also doesn't do anything.

It seems something is not properly activating or maybe a command is overwriting and not allowing it to work like it does when you first hit the landing page.

View 7 Replies View Related

Window.open Does Not Work In Mozilla

Jul 23, 2005

The following code used to popup a window when I used netscape 4.79.
Now I switched to mozilla 1.4 and the window doesn't popup.

function newWindow(newContent)
{
winContent =window.open(newContent,'nextWin','screenX=0,scree nY=20,width=600....);
winContent.focus();
}

....
<a href="javascript:newWindow('foo.html')"

View 3 Replies View Related

Window.open Not Work In Mozilla?

Oct 4, 2003

I am trying to use the following javascript function to open a new window. It works fine for IE browsers, but not Mozilla.

settings = 'height='+screen.height+',width='+screen.width+',top=0,left=0,scrollbars=yes,directories=no,location=yes,menubar=yes,resizable=yes,status=yes,toolbar=yes'
win = window.open(address, "newwindow", settings);
Am I doing something wrong or does Mozilla not support the window.open function? Or is it something in the settings thats breaking it?

View 9 Replies View Related

Make This Code Work For Both IE And Mozilla?

Jan 11, 2010

how to make the following code work for both IE and Mozilla?

function AddRow()
{
if (navigator.appName=="Microsoft Internet Explorer")

[code]...

//the following javascript function is saved in another .js file which is then called from the main php file when the above button is clicked. It works fine with Mozilla and Chrome.

function AddRow()
{
var morerow=document.getElementById("tbl")

[code]...

Also, why are you mixing DOM standard with innerHTML?

View 1 Replies View Related

AJAX :: Cross-browsing Request Work Around - Every Browser Doesn't Work ?

Jun 14, 2010

The "Permission denied" cross site issue.

I have to check from my external domain if a service is running on localhost:8080 of a local machine.

I'm using XMLHttpRequest to do it.

I'm checking a local-web-server, not a file.

Every browser doesn't work, but Firefox. So I'm looking for a work-aorund.

An iframe? a flash swf? an applet java? HTA applications?

A side question is, why does FF work? Because it's a local-web-server?

View 2 Replies View Related

JQuery :: Click Anchor Does Not Work Properly In IE7?

Sep 3, 2010

The following code was tested in Firefox and works also in IE 8. But when clicking the anchor (id=movefoot), it does not work in IE 7.

jQ code :

$('#movefoot').click (function (event) {
// move footer
event.preventDefault();
switch (footeropen) {

[Code].....

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved