Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Style change and size change javascript do not work together
Old 01-03-2006, 10:21 AM Style change and size change javascript do not work together
Average Talker

Posts: 17
Location: Athens Greece
Trades: 0
I have been trying hard to get a style change js (the icons on top right changing header icon and css) and the font size js.

What I tried is positioning the js/font size change icons in different parts of the template as well as fiddling a bit with css (changing the position of the font resizer was enough to prevent it from working!).

Currently, the font size js works OK but the style change is not remembered.

The best I could do was

1) Either get the style change to work (and stay to one selection when clicking on other pages) and the font size js not to work or not remember the "changes" in subsequent pages.
2) Or get the font size js to remember the "changes" in subsequent pages and the style js not to remember the "changes" in subsequent pages.

Any ideas how I could have them work together? I.e.

1) I can change size and it stays that way when i go to other pages
2) Also I can change style (header etc) and it stays that way when i go to other pages.

Web page
http://www.nonsmokersclub.com

Font switcher
http://www.nonsmokersclub.com/templa...tylechanger.js

Style switcher
http://www.nonsmokersclub.com/templa...r/ja_script.js
__________________
Spiros Doikas

Please login or register to view this content. Registration is FREE

Last edited by translatum.gr; 01-03-2006 at 02:55 PM..
translatum.gr is offline
Reply With Quote
View Public Profile Visit translatum.gr's homepage!
 
 
Register now for full access!
Old 01-03-2006, 12:40 PM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
how are you passing the changes between pages?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-03-2006, 01:07 PM
Average Talker

Posts: 17
Location: Athens Greece
Trades: 0
It is done with the style changer js

http://www.nonsmokersclub.com/templa...tylechanger.js
__________________
Spiros Doikas

Please login or register to view this content. Registration is FREE
translatum.gr is offline
Reply With Quote
View Public Profile Visit translatum.gr's homepage!
 
Old 01-03-2006, 04:21 PM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
you need to expand the cookie code to save and retrieve more options.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Style change and size change javascript do not work together
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.17175 seconds with 12 queries