Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   Javascript Style Switcher that remebers current site style in use (http://www.velocityreviews.com/forums/t156660-javascript-style-switcher-that-remebers-current-site-style-in-use.html)

Hardeep Rakhra 01-15-2004 12:37 AM

Javascript Style Switcher that remebers current site style in use
 
Hi i'm trying to get a javascript style switcher working... im using the
one at;

http://www.notestips.com/80256B3A007F2692/1/NAMO5GK2NM

however only second @import implementation recalls the last selected
style sheet when i revisit my page. The first link version doesn't seem
to work?

Anyone have any ideas or can they point me to another style switcher?

Hardeep.

brucie 01-15-2004 01:00 AM

Re: Javascript Style Switcher that remebers current site style in use
 
in post: <news:bu4nc4$dcelf$1@ID-152323.news.uni-berlin.de>
Hardeep Rakhra <mail@rakhra.org.uk> said:

> Hi i'm trying to get a javascript style switcher working


really bad idea, it will fail without JS. there no reason to implement
such a broken method.

heres a really simple one:
http://moreshit.bruciesusenetshit.in...ger-thingy.php

more advanced: http://balls.bruciesusenetshit.info/

--
brucie - i usenet nude

Toby A Inkster 01-15-2004 07:52 AM

Re: Javascript Style Switcher that remebers current site style in use
 
Hardeep Rakhra wrote:

> Anyone have any ideas or can they point me to another style switcher?


http://groups.google.com/groups?selm...0goddamn.co.uk

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132


Hardeep Rakhra 01-15-2004 11:28 AM

Re: Javascript Style Switcher that remebers current site style inuse
 
brucie wrote:
> in post: <news:bu4nc4$dcelf$1@ID-152323.news.uni-berlin.de>
>
> really bad idea, it will fail without JS. there no reason to implement
> such a broken method.
>


Well i'm relying on JS for my menus so putting JS in control of style
switching doesn't sway the mix too much.

The scrip i'm using does the job, just won't recall the last used style :(

brucie 01-15-2004 11:38 AM

Re: Javascript Style Switcher that remebers current site style in use
 
in post: <news:bu5th8$e6ndr$1@ID-152323.news.uni-berlin.de>
Hardeep Rakhra <mail@rakhra.org.uk> said:

>> really bad idea, it will fail without JS. there no reason to implement
>> such a broken method.


> Well i'm relying on JS for my menus


and form. you need to have a good rethink on what you're doing.


--
brucie - i usenet nude

Hardeep Rakhra 01-15-2004 01:01 PM

Re: Javascript Style Switcher that remebers current site style inuse
 
brucie wrote:

> in post: <news:bu5th8$e6ndr$1@ID-152323.news.uni-berlin.de>


>
> and form. you need to have a good rethink on what you're doing.
>


Well, JS never killed anyone as i see it. From what i've been asked to
achive it's the only way to go since IE won't do pure CSS dropdowns and
unfortuantly IE is "the" browser as far as most are concerned. I myself
am a Firebird person.

Hardeep.


Leif K-Brooks 01-15-2004 01:11 PM

Re: Javascript Style Switcher that remebers current site style inuse
 
Hardeep Rakhra wrote:
> Well, JS never killed anyone as i see it. From what i've been asked to
> achive it's the only way to go since IE won't do pure CSS dropdowns


First of all, you could make JS dropdowns which would still display (but
not work as dropdowns) without JS. Secondly, dropdowns are hardly ever
usable.


brucie 01-15-2004 01:44 PM

Re: Javascript Style Switcher that remebers current site style in use
 
in post: <news:bu6309$dhq70$1@ID-152323.news.uni-berlin.de>
Hardeep Rakhra <mail@rakhra.org.uk> said:

>> you need to have a good rethink on what you're doing.


> Well, JS never killed anyone as i see it. From what i've been asked to
> achive it's the only way to go since IE won't do pure CSS dropdowns and
> unfortuantly IE is "the" browser as far as most are concerned. I myself
> am a Firebird person.


i was actually referring to the css changer. to reject a method that
will always work for everyone for one that doesn't is just stupid.

i'm also wondering about your form requiring JS.

in both cases there are methods that will work for everyone all the time
but you've chosen not to use them. it doesn't make sense.

it doesn't matter if JS or server side scripting is used for the css
changer or form, the method used to perform the actions are both
transparent to the visitor /except/ when JS is unavailable they don't
work.

it would be sensible not to use JS or if its unavailable use an
alternate method to perform the actions so all of your visitor can use
your site. (but i don't see the point of using JS in this case, you may
as well go server side).

--
brucie - i usenet nude

Hardeep Rakhra 01-15-2004 08:00 PM

Re: Javascript Style Switcher that remebers current site style inuse
 
Leif K-Brooks wrote:
> Hardeep Rakhra wrote:
>
> First of all, you could make JS dropdowns which would still display (but
> not work as dropdowns) without JS. Secondly, dropdowns are hardly ever
> usable.


Your right drop downs are a pain, but usualy cos they're used in excess.
For a few items they're fine i think.

Hardeep.





All times are GMT. The time now is 07:53 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.