473,394 Members | 1,722 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,394 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 1617
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.