|
-
Jun 23rd, 2000, 12:38 AM
#1
Thread Starter
Junior Member
I know that NetScape doesn't support as much JavaScript and CSS as IE4+, but I still try because some people still use the browser (though if you've seen what a lemon NS6 is...). I think one of the coolest things about JS and IE5 is the document.all[object].style.cssText='CSS:text;'; You can use this to change just about any property of any object in the html, but I haven't been able to find any near equivalent bit of script that works for NetScape (I know that document.all is invalid under NetScape.) Specifically I'm interested in using DHTML to change a cell's border and background color (no problem with IE5, but a true frustration under NetScape).
-
Jun 23rd, 2000, 01:27 AM
#2
Hyperactive Member
Netscape's DOM is a bit different from IE, instead of document.all you have to use document.layer
check out http://www.builder.com for an article on cross browser scripting.
"People who think they know everything are a great annoyance to those of us who do."
-
Jun 23rd, 2000, 05:07 AM
#3
Thread Starter
Junior Member
NetScape CSS and JavaScript...
I've been checking out the sites per your advice, but I still haven't found what I'm looking for. Specifically, what I would like to see are "gifless" mouseover effects in Netscape. I can do it by creating pairs of <div> tags with different styles and then setting them to the same absolute postion and controlling their visibility, but it's a pain. What I'd like is something like:
document.layers.object.bgColor="colorvalue";
or something.
-
Jul 9th, 2000, 12:43 PM
#4
Fanatic Member
A good site for cross-browser DHTML can be found at:
http://www.siteexperts.com/
Psyrus
-
Jul 18th, 2000, 02:51 AM
#5
Member
Anyway.. whenever you're designing a good looking page using DHTML styles on Internet Explorer, you always have to re-design it for Netscape....
-
Feb 1st, 2001, 07:53 AM
#6
spot the hidden irony: Netscape doesnt support JS as well as IE.
Thats like saying IE wont support VBscript...
Ho hum...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|