Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need to cookie page and then reload

Status
Not open for further replies.

greenday45

Instructor
Jan 3, 2007
2
US
Hello, I'm somewhat new to javascript and I am completely lost on something. I have added a way to increase and decrease the font size of a page by clicking on different form buttons at the top of the page (The problem is, the page is layed out in a two column css layout and I have a piece of javascript that finds the longest div length and auto matches the background of the navigation div to the content div. When someone clicks to enlarge the text, it overflows over the footer and doesn't resize the page. What I tried to do was have the users choice get cookied and then have the page reload, making the matchColumns script re-run and fit all the text. This method seems to work in Firefox 2.0, IE7, Netscape 8 and Safari. It won't work however in Opera 9 or IE6. It seems that it's not holding the cookie and just reverting back to the default font size. Any help or direction is very much appreciated. If I've left anything out please let me know and I can get it to you as soon as possible. Thanks again
 
May seem like a silly thing to check, but be sure opera and IE6 are set up to accept cookies. If the user has them disabled then it's not going to work.

Also, on your font buttons on the page, the far right button that makes the font size smaller has a title of something like "make the font size bigger". That probably needs changed to "smaller"

-kaht

[small](All puppies have now found loving homes, thanks for all who showed interest)[/small]
 
Hey kaht, thanks for the quick reply. I have already checked cookies and they seem to be enable on all browsers. As far as my typo, thanks for pointing it out, I'll get that fixed asap:) If anything else pops in your mind, I really do appreciate all help. Again, thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top