display == 'none') ? 'inline'
: 'none';
return;
}
}
}
replaceRule( document.styleSheets[0], '.national' );
-Original Message-
From: >>> Vaska Design [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 26 November 2003 8:03 AM
To:
Here is the final result, it works like a dream, much quicker than any other
hide/display script..
Just thought I'd share it with you...
function fnSwitch( objStyle, className )
{
var r = objStyle.rules
for ( var i = 0; i < r.length; i++ )
{
if( r[i].selec
YOUR LIST IN HERE...
#masterdiv just has some margin information...nothing special...
good luck...vaska
> It's only for one object, ie. the object with an id assigned.
>
> -Original Message-
> From: Cade Whitbourn [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 25 Novemb
Nope that won't help, thanks anyway..
It's only for one object, ie. the object with an id assigned.
-Original Message-
From: Cade Whitbourn [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 25 November 2003 2:44 PM
To: [EMAIL PROTECTED]
Subject: Re: [WSG] Modify class (hope to bri
Not sure if this will help, but it's a solution I copied from Zeldman quite a while
back...
function toggle( targetId ){
if (document.getElementById){
target = document.getElementById( targetId );
if (target.style.display == "none"){
target.style.display = "";
} else {
OK after your pointers I got the brain in gear (and found stuff I never thought was
possible)
I ended up writing the following
http://www.w3.org/TR/html4/loose.dtd";>
Contacts System - Tourism Queensland
function replaceRule( objStyle, className, newClassName )
{
var r = objStyle
Hey Taco
A few similar things that we have done can be found at:
http://www.collex.com.au/ - click the down arrow on the left nav
http://www.homepartners.com.au/application-form.cfm - select yes for " Is
this a dual application?" and also the "view terms" link at the bottom of
the form.
Some ot
: [WSG]
Modify class
Hi
Taco,
That
sounded like a challenge, so I came up with this:
http://lindsay.f2o.org/experiments/css/dynamic_class.html
Works in FB 0.6.1, IE 4.01, 5.01, 5.5 & 6 on
WinXP
It
is a bit kludgy in that you have to specify indexes for
To: [EMAIL PROTECTED]
Subject: Re: [WSG] Modify class
Hi Taco,
Off the top of my head (and untested) I'd try something like:
.help {
display:none;
font-weight: bold;
font-size: 14px;
color: red;
cursor: help;
}
...
Regards,
Ben
Taco Fleur wrote:
> Is it poss
Title: Modify class
Hi
Taco,
That
sounded like a challenge, so I came up with this:
http://lindsay.f2o.org/experiments/css/dynamic_class.html
Works
in FB 0.6.1, IE 4.01, 5.01, 5.5 & 6 on WinXP
It is
a bit kludgy in that you have to specify indexes for your stylesheet & CSS
rule, but
Hi Taco,
Off the top of my head (and untested) I'd try something like:
.help {
display:none;
font-weight: bold;
font-size: 14px;
color: red;
cursor: help;
}
...
Regards,
Ben
Taco Fleur wrote:
Is it possible to modify the attribuites of a CLASS dynamically?
In other words, I
11 matches
Mail list logo