Without having tested it (cause I haven't got the time - sorry) my suggestion is that
you try and set the css properties to the dynlayers directly in javascript code
refering to the element the way dynapi does (can't rember it just now, but there is
some example of this somewhere).
This because NS for example doesn't work the same with HTML inside layers as else.
I've found the best way with regular layers and using css is to have a stylesheet
class - something i unfortunatly seem to remeber wasn't working with dynlayers last
time I checked (I might be wrong here though, or things have changed since).
Henrik Våglin [ [EMAIL PROTECTED] ]
----- Original Message -----
From: "Francisco M. Marzoa Alonso" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 22, 2001 4:04 PM
Subject: [Dynapi-Help] CSS & DynLayer Incompatibilities?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there, I've known about DynLayer just this morning and I'm having some
troubles here with it.
The package that I've downloaded and installed is this one:
dynapi-2001-01-25.zip
The trouble is that in a page in which i've defined a style for body as
follows:
<STYLE TYPE="text/css">
<!--
BODY { background:white;
font-family: helvetica;
font-size: 12pt;
margin-left: 0px;
margin-right: 0px;
margin-top:0px;}
P {font-weight: normal; }
P.versalita {font-family: helvetica; font-weight: bold;
font-variant: small-caps; }
-->
</STYLE>
And then generate a layer with DynAPI functions as follows:
text_upper.setHTML ('<P>La ventaja competitiva más importante de las
organizaciones empresariales del \
tercer milenio que se
enfrentan a retos más complejos, mercados más globales y \
nuevas tecnologías, reside en
el equipo humano del que dispone.</P> \
<P>Nuestra estrategia
empresarial, por muy bien diseñada que esté, no podrá ser \
eficaz si se lleva a cabo sin
una correcta búsqueda y selección del adecuado \
equipo humano.</P> \
<P>Nuestros profesionales
poseen una sólida experiencia y un profundo conocimiento \
en las áreas de captación,
selección y evaluación de perfiles como:</P>');
(Please, excuse possible \n destructions by e-mail client...)
But those paragraphs doesn't are rendered following the Style Sheet rules :/
No matter if I define STYLE before or after the layer.
How can I force those paragraphs to use the style that i've defined?
(Obviusly, I meant a manner to do it without having to redefine the style in
each paragraph...)
Thanks in advance,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjq6FJoACgkQdcZSl+4pW275JACfQ+fwNdV9lCOCLe7ISRLaKmO4
ZzYAnivMjtGTObC1Zim4S5UI5eQV86Ak
=rWun
-----END PGP SIGNATURE-----
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help