25 pts.
 Javascript clashing – Custom Scrollbar for Div not working with Hide Show Div Script
I am working on a site and the client wants the background to be able to change for the best viewing of his work. Which isnt a problem, but I couldnt figure out how to keep the background color the same once the viewer changes it from page to page. So I decided to have the whole website on one page. Now that I did this, I have a hide/show script functioning as the website 'pages' but it is not working properly with a script I have for a custom javascript scrollbar. I am not very good at javascript. I usually just copy and paste the code to fit the website i am designing. It wold be greatly appreciated if someone could help. the website link is as follows: http://anthony-bryant.com/HTML/works.html its so much javascript its making me go crazy!

Software/Hardware used:
ASKED: April 16, 2009  3:12 AM
UPDATED: April 21, 2009  2:07 AM

Answer Wiki:
When you change the page color why not put the new color in a cookie using JS. Then when you go to the new page you check to see what the page color is in the cookie. Earl http://www.duckin4printing.com/
Last Wiki Answer Submitted:  April 20, 2009  11:45 am  by  Surfdoggie   75 pts.
All Answer Wiki Contributors:  Surfdoggie   75 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Have you tried frames? That might be a good way around all the javascript.

 27,325 pts.

 

I’m trying to avoid using frames. I want to see if there is a way I can do it without frames, so i dont have any browser support problems

 25 pts.

 

How would I set up cookies to do that with the current code that i have now?

 25 pts.