Javascript clashing – Custom Scrollbar for Div not working with Hide Show Div Script

25 pts.
Tags:
Java
JavaScript
Javascript error
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!

Answer Wiki

Thanks. We'll let you know when a new response is added.

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/

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • mshen
    Have you tried frames? That might be a good way around all the javascript.
    27,385 pointsBadges:
    report
  • MADDDOPE
    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 pointsBadges:
    report
  • MADDDOPE
    How would I set up cookies to do that with the current code that i have now?
    25 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following