473,320 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Browser cross compatible javascript

I use visual studio 2008 and am learning to use javascript. I am
constructing a javascript heavy website and have tried using the
visual studio tools as well as Firebug- an add on for Firefox which I
highly recommend . These tools are a large step up from writing the
code in a text editor and guessing through the use of message boxes
what is going wrong.
(* off topic extra info) QUESTION- Javascript that works perfectly
well in IE sometimes does not function in Firefox- is there a free and
simple tool that enables a coder to plonk in javascript (or a whole
web page) that works in one browser and have spat out some cross
compatible javascript / page code?

* (off topic extra info) Trying to keep a page looking good for
Firefox, IE, Safari is difficult enough as it is- what with
differences in the way browsers interpret something as seemingly
innocuous as the width of a textbox (eventually solved by using
browser specific style changes such as [if IE...]-
Mar 20 '08 #1
3 1613
DanWeaver wrote:
I use visual studio 2008 and am learning to use javascript. I am
constructing a javascript heavy website and have tried using the
visual studio tools as well as Firebug- an add on for Firefox which I
highly recommend . These tools are a large step up from writing the
code in a text editor and guessing through the use of message boxes
what is going wrong.
(* off topic extra info) QUESTION- Javascript that works perfectly
well in IE sometimes does not function in Firefox- is there a free and
simple tool that enables a coder to plonk in javascript (or a whole
web page) that works in one browser and have spat out some cross
compatible javascript / page code?

* (off topic extra info) Trying to keep a page looking good for
Firefox, IE, Safari is difficult enough as it is- what with
differences in the way browsers interpret something as seemingly
innocuous as the width of a textbox (eventually solved by using
browser specific style changes such as [if IE...]-
Unfortunatelly, in my experiece IE with versions < 8, do not follow
standards well. I recommend that you first get your script to work in
Firefox, and if you have Safari, make it work there too, before you make
the modifications necessary to get it to work in IE.
There are some very good cross browser libraries such as that offered by
Yahoo (http://developer.yahoo.com/yui/)

Good luck

--
intrader
Mar 22 '08 #2
Thanks, Intrader- however, the code (listed earlier in thread) behaves
the same way in firefox....
Any clues?

Agreed re IE- several controls have to be sized differently for IE via
eg

<!--[if IE]>
<style type="text/css">
..t1 {
width: 90px; height:16px; z-index: 1; left: 4; position: absolute;
top: 9px; bottom: 10px;
}
</style>
<![endif]-->

.....but this is off topic (pasted here for future user archive
search.)

Any suggestions re the CSS div issue most welcome,
D

Unfortunatelly, in my experiece IE with versions < 8, do not follow
standards well. I recommend that you first get your script to work in
Firefox, and if you have Safari, make it work there too, before you make
the modifications necessary to get it to work in IE.
There are some very good cross browser libraries such as that offered by
Yahoo (http://developer.yahoo.com/yui/)

Good luck

--
intrader
Mar 25 '08 #3
Many apologies- got confused with which thread I was responding to-
Had asked a question about divs and css in other group- very
frustrating but not javacript- sorry about this
d
On Mar 22, 9:36 pm, intrader <intra...@aol.comwrote:
DanWeaver wrote:
I use visual studio 2008 and am learning to use javascript. I am
constructing a javascript heavy website and have tried using the
visual studio tools as well as Firebug- an add on for Firefox which I
highly recommend . These tools are a large step up from writing the
code in a text editor and guessing through the use of message boxes
what is going wrong.
(* off topic extra info) QUESTION- Javascript that works perfectly
well in IE sometimes does not function in Firefox- is there a free and
simple tool that enables a coder to plonk in javascript (or a whole
web page) that works in one browser and have spat out some cross
compatible javascript / page code?
* (off topic extra info) Trying to keep a page looking good for
Firefox, IE, Safari is difficult enough as it is- what with
differences in the way browsers interpret something as seemingly
innocuous as the width of a textbox (eventually solved by using
browser specific style changes such as [if IE...]-

Unfortunatelly, in my experiece IE with versions < 8, do not follow
standards well. I recommend that you first get your script to work in
Firefox, and if you have Safari, make it work there too, before you make
the modifications necessary to get it to work in IE.
There are some very good cross browser libraries such as that offered by
Yahoo (http://developer.yahoo.com/yui/)

Good luck

--
intrader
Mar 25 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: CJM | last post by:
I'm developing a site for a charity which I am aiming to make standards-compliant, accessible and cross-browser compatible. I'm doing OK so far and have the workings of a respectable site, but I...
16
by: Java script Dude | last post by:
To all Mozilla JS Guru's (IE dudes welcome), I have spent the last three years developing complex DHTML applications that must work in IE 5.5sp2+ but I use Mozilla 1.3+** to do all my...
5
by: Ajay Kumar | last post by:
I have developed an asp.net application in 2.0 . I need this web page to have same look and feel in all the browser like IE, mozila , firefox etc. Please suggest me how to proceed.
7
by: dejavue82 | last post by:
Dear Asp.net users, I have seen some people comment that their asp.net websites render differently with various web browsers. Are they doing somthing wrong? In particilar, 1) I am wondering...
15
by: CMM | last post by:
So I'm half way through overseeing a large project in ASP.NET 2.0. My superiors have decided that it would be nice if we ensured the site worked on all the major platforms (as they see it: IE,...
0
by: toeffetommy | last post by:
Hello, I need a piece of functionality developed for our Website and I need some technical advice on how get there. Essentially, what I want to develop is a browser-within-browser...
6
by: frankenstein | last post by:
I've not seen any real sollutions to this yet. I found something similar on this forum but the posted sollutions didn't work. I would like to make a drag to scroll for my blog, using JS. So far I...
13
by: Jeff | last post by:
We have an intranet website that currently uses ActiveX but we need to make it cross-browser compatible and also get around the problems we've been having with making it work with IE7 and Vista. We...
3
by: spoonybard | last post by:
Hi Everyone, I have a .Net 2.0 C# web application that has important information stored in Sessions that needs to be deleted when the user closes the browser. I know of three ways a user can close...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.