|
-
Oct 15th, 2001, 11:21 AM
#1
Thread Starter
Addicted Member
layers-Netscape
Does anybody know what is the propriety we have to put here
document.layers['uuu'].?????? = 'orange';
it's program in Netscape so it's not color
and if anyone know ow to make your text bold, it would be awsome
thanxs
-
Oct 15th, 2001, 11:30 AM
#2
Frenzied Member
I'm sorry, I don't ever use "layers" because I'm not finding it as part of any standard. Check the standards documentation. I would be very interested to know if "layers" is part of the standard.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Oct 15th, 2001, 11:35 AM
#3
Thread Starter
Addicted Member
If your using Netscape it.....
Netscape only support layers when you want to use your <DIV> tags, and play with the font,color, etc.......
-
Oct 15th, 2001, 11:53 AM
#4
Frenzied Member
Uhm, again... no.
Funny, this code works in Netscape, IE, and Opera, and there is no layer since layer isn't part of any standard.
Code:
<html>
<head>
<script type="text/javascript">
function ChangeColor(myColor) {
var currEl = document.getElementById("myText");
currEl.style.color = myColor;
}
</script>
</head>
<body>
<div id="myText">This is my test text.</div>
<table>
<tr>
<td><a href="JavaScript:ChangeColor('#0000ff');">Blue</a></td>
<td><a href="JavaScript:ChangeColor('#00ff00');">Green</a></td>
</tr>
</table>
</body>
</html>
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Oct 15th, 2001, 12:13 PM
#5
Thread Starter
Addicted Member
This element of codes makes me an error....don't know
var currEl = document.getElementById("myText");
do you have to write something in that function??
Thanxs
-
Oct 15th, 2001, 12:18 PM
#6
Frenzied Member
Are you using Netscape or Navigator?
In other words, what version are you using?
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Oct 15th, 2001, 12:20 PM
#7
Thread Starter
Addicted Member
Netscape 4.7......i'me sorry my english, it's because i'me french
so my langage can be hard to understand sometimes
-
Oct 15th, 2001, 12:30 PM
#8
Frenzied Member
Ah, that is your problem. Navigator came out before the standards were set. Thus it came out with Sun/Netscape's JavaScript bindings.
Sorry, the code I posted is all standards compliant. You need to use a newer browser.
Netscape 6, Internet Explorer 5.5, or Opera 5.12.
Older browsers (Netscape Navigator, Netscape Communicator, and IE 4.x) came out before the standard and as such, do not support the standard.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Oct 15th, 2001, 12:33 PM
#9
Thread Starter
Addicted Member
I see.........
Thanxs anyway, you've bin a great help
I'll just have to work with layers
-
Oct 15th, 2001, 12:34 PM
#10
Frenzied Member
As an aside...
J'ai étudié la français pours duex ans dans lycee.
I know enough to know that punctuation rules are the same in these two languages.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Oct 15th, 2001, 12:39 PM
#11
Thread Starter
Addicted Member
Comme sa tu es un "smart", oh excusé moi Monsieur!!!
Tu as quel age??
Sa fait pas des années que je programme, et non c'est completement différent s'exprimer en anglais lorsque vient le temps de discuter en langage informatique
Excuse moi Monsieur CYBERHUG
-
Oct 15th, 2001, 12:56 PM
#12
Frenzied Member
A few points...
You use better punctuation in your French than in your English. Since these rules are the same, I can only assume it is meant as disrespect.
Ciber is spelled with an I. It is the name of a company, it is not a misspelling of "cyber".
I am 26. The last time I studied French was in '92.
And you are excused.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
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
|