• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Javascript help?

zCypher

Diamond Member
Text (menu is made with JS)

I'm editing the menu on the left side on this site... The last two items, Volunteer! and Make a Donation! are new/changed. However, now I'm getting a javascript error when I first go to the page, and when I go back to the main page (the only one with the new items so far). If I refresh the page, IE doesn't give me an error. What's up with that?
 
edit... i'm converting the structure so that it's all set up with php includes rather than having to update the menu and other things on every single page...

once I did that, look at the results : /temp

it seems to do the JS error on the first page but not the others, even though the menu stays the way it's supposed to. so it's only in index.html... (so it says, on line 24.. but nothing is on line 24!).

I don't know what to do. :|
 
Ok, when I click on your link from your post, no JS errors. But if I manually type in the web address then there's an JS error.

Error reported is unterminated string. You may want to check for end of line termination in your script. It doesn't necessarily have to be on line 24. Check the other lines before line 24. Maybe your script made sense until line 24.
 
Originally posted by: kt
Originally posted by: zCypher
Originally posted by: kt
No JS errors here.
Browser? OS? which page?

IE6 on Win2k - viewing main page
NS6.2 on Win2k - viewing main page
Thanks for the info, but the links you posted point to the website, not a screenshot of your browser. 😛

Anyway, I tested it out on three different machines running IE6, two with WinXP one with Win98 and all the same results.

I tried using php includes for the menu but that wouldn't work properly - "Home" would always be selected on the JS menu, so I guess the menu will have to be on every single page...
 
Back
Top