
March 17th, 2004, 10:24 AM
|
 |
General
|
|
Join Date: Mar 2001
Location: UK
Posts: 4,245
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Othaglot and Cane - Story Thread
Quote:
What software are you using to create the pages?
|
Notepad.
Quote:
oday I discovered that the links in the 'quote-o-matic' actually work in Mozilla. They didn't before.
|
Yeah, they weren't working too well in IE either. Most were OK, but it turned out that by copy/ pasting text from the main page, I was including "" marks that weren't part of the standard charset, and somehow that was stuffing up the hrefs on a minority of the quotes. I think I got them all fixed now.
Quote:
the buttons that are supposed to give main entry into the story still don't work
|
Yeah, I just don't get that. The code that generates those buttons is pretty quirky, but it doesn't use anything contraversial as far as I can tell.
Quote:
nor does the list of chapters appear when you get into a chapter using a link from the 'quote-o-matic'.
|
The chapter list thing is probably down to my use of the "innerText" property, which was invented by MS and shunned by everyone else. However, I have yet to find an alternative: If you're dynamically creating a link that in html would look like this: code:
<A Href="X" ALT="Y">Z</A>
then adding X and Y is easy using the DOM- you create the A element, attach it to a parent node and then use something like element.href="X", and element.alt="Y" to fill in those properties.
Unfortunately there appears to be no way to put the Z in there without using MS's innerText. I could easily attach a gif or something, but that pretty much defeats the whole object of an easily maintained, dynamically generated list that can be restyled using css.
If anyone can come up with a more widely-accepted alternative to innerText, I'll gladly make the changes.
Remember that all my knowledge of javascript is self-taught from various tutorials on the web. I have no books, tutors or universal references to go to for help. The answer's probably there, but I just can't find it- all these tutorials are so keen to tell you how to dynamically create a link with an image that no-one ever tells you how to create one with just text.
Quote:
It's been so long since I read the previous few chapters...I don't remember the old Version clearly anymore.
|
This is what I was afraid of. It's a pretty complex plot (or at least, there's a lot of stuff to remember) and I haven't done anyone any favours by taking so damn long to update it. That was the idea behind the story summaries. If you're really feeling lost, plot wise, and you don't have time to re-read the entire story it will only take a few minutes to skim through all the "story so far" chapter summaries. That should be enough to bring all the pertinent bits back to your memory.
[ March 24, 2004, 09:17: Message edited by: dogscoff ]
|