Click to See Complete Forum and Search --> : alright, another question...


Da Warriah
12-28-2002, 01:07 PM
dang i wish i werent so rusty with javascript....oh well, here goes another question...

ive got a <link> tag that accesses a stylesheet named styles1.css...now when the user clicks a link, i need that link href to change to styles2.css...ive named the link tag "style", but i dont know the proper...."directory" i guess is the word, to access the href...ive tried style.href , link.style.href , document.style.href , document.link.style.href and none of em seem to work...please help:(

Da Warriah
12-28-2002, 04:47 PM
thanx a bunch! the way you suggested probly works too (;) ), but I used that link, which had a link at the bottom, showing me a good way to do it, with no hassles...i just love a site that gives me the code, tells me what everything does, and assures me it works...:p

Da Warriah
12-28-2002, 05:22 PM
yes, i agree, im still tweaking the code, so ill add that in:)