homepage Welcome to WebmasterWorld Guest from 54.221.175.46
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Force refresh + Javascript
KevinM




msg:1470896
 1:33 pm on Apr 12, 2003 (gmt 0)

Hi guys'n'gals,

I've been playing around with CSS and Javascript to give visitors to my site the option of changing colour schemes and font-sizes etc, but I've noticed that when changing themes, IE doesn't quite re-flow the page properly, so a refresh is needed.

Is there any way to force a refresh every time a theme is changed?

 

korkus2000




msg:1470897
 1:54 pm on Apr 12, 2003 (gmt 0)

Have you tried placing this at the end of your function?

history.go(0);

KevinM




msg:1470898
 3:26 pm on Apr 12, 2003 (gmt 0)

A little update:

korkus2000 noticed a small problem with my Javascript (I StickyMailed him the code - too long to post here) that would have meant a refresh would have made the Javascript loop infinitely.

He suggested I have my site controls in a pop-up window, which then refreshes the parent window when closed, and it worked a treat. :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved