March 29, 200917 yr Hi I’ve designed a website, http://www.eo-quality.co.uk/ as a freelance project. On the accessibility.html page I have a series of links that work with javascript to change the stylesheet the page uses. It creates a cookie so that the user doesn’t have to set style choice each time they move to a new page. It works fine on my hosting, in both IE and Firefox. But the moment I uploaded it to the clients hosting we found it stopped working in IE. Still works in Firefox, but IE loses the style settings between pages. So you can change the CSS on the accessibility.html page, but leaving it restores you to default. If you look at it here, in a test folder on my hosting, it works fine in IE – www.bgiok.org.uk/test/ But not on her hosting with NTL (now Virgin). I noticed that if you do a view>source on the pages on her hosting you get a page that isn’t my code, but a link to the ‘real’ address, so the domain is a front, that bounces you to the freebie hosting she has (I don’t know the correct terms for this), but again, surely it wouldn’t work in any browser if it was a relative/absolute link issue? Does anything leap out at you as to why it’s not working? I thought I’d blame her hosting, but since the javascript etc works in Firefox when live, I can’t! :-/ I plan to delivery this (second attempt!) on Tuesday, but it threatens to linger on forever if I can’t get this style switcher working. Many, many thanks for any ideas.
Create an account or sign in to comment