Chalks wrote:The js array keeps track of which words you translated correctly or not, it is also generated by filling in a form on the previous page (i.e. test all verbs from chapter 4).
You could use sessions to keep track of stuff.
Chalks wrote:
Also, when I'm sending people to other websites I like them to know that it is happening. When I'm sending them to internal pages, I like that to happen without opening a new window. In other words, all external links -> new window, all internal links -> same window.
I don't understand your reasoning. I'm on a webpage and see a link. I click on it and I'm taken to a new page. Then I'm very well aware of the fact that I've gone to a new page. Also, I don't see how opening a new window helps with that.
For some users it might only be confusing. They click a link, get to the new page. Then at some point they want to go back, so they click the back-button in their browser. Oops! Doesn't work anymore.
Chalks wrote:but I LIKE the strict dtd. Besides, it feels like the simple and useful 'target blank' was replaced with 'hahah, screw you!' and that's something I'd like to know how to remedy.
Why do you like the strict doctype if you want to use transitional stuff? I don't think anybody tried to "haha screw you" with the removal of the target blank. The reason was that opening windows is functionality belonging to the browser. It's behavior, not belonging in the markup of the document. Also don't forget that there can be accessibility problems for some screenreaders when you open new windows.
Chalks wrote:
To tell the truth, it doesn't _really_ make a difference whether I have it open in a new window or not on this particular website since I only actually have 1 external link (it's a small site). However, I would find it very aggravating to have to go through this again for a larger website, and I just want to get a solution now, so that I don't have to solve it again 3 months down the road.
A good read about this is
http://domscripting.com/book/sample/
There's even a nice unobtrusive javascript solution for opening new windows at the end of that article.