Log in

View Full Version : New site navigation


Pages : 1 2 [3]

Refthoom
20th June 2003, 21:29
This looks really good!

It works fine in IE6.0 and Opera7.1 (identified as Opera).
In Opera I got some curious error message though when clicking on a link (not a menu option):
<quote>
Inline script thread
Error:
name: ReferenceError
message: Security error: attempted to read protected variable
</quote>
It's not major since it only appears because I set Opera to show all errors and it doesnt influence the functionality.

But now something else. It appears to me that doom9 created a javascript to circumvent the menu's like athos made. Since it's his site it's his right to do so. However, maybe we can persuade him by casting votes here?

So, all in favour of dsmith's menu, say Yes, Jippy, Yae, Da or whatever ;-)

Scipio
20th June 2003, 21:57
It appears to me that doom9 created a javascript to circumvent the menu's like athos made.

Actually, I made that script and proposed it to him.

The idea behind that is: When people link directly to a page or a guide on Doom9.org, the whole doom9 frameset will be loaded so that people can see that they're on Doom9.org.

So it's also a means to avoid abuse - some guys just linked to guides in their framesets and visitors didn't see that it was actually doom9.org where they are...

example: http://www.doom9.org/mpg/dvdshrink2-main.htm


If you click on it, the menu and the top frame are loaded. Without the JavaScript, they are not... I don't think that a poll will change Doom9's opinion, but you can try anyway. :)

dsmith
20th June 2003, 23:31
Originally posted by Refthoom
In Opera I got some curious error message though when clicking on a link (not a menu option):
<quote>
Inline script thread
Error:
name: ReferenceError
message: Security error: attempted to read protected variable
</quote>
It's not major since it only appears because I set Opera to show all errors and it doesnt influence the functionality.


I'm not sure I understand. You mean clicking on one of the +/- folders brings up the error? 'Cause the page items are pure anchor tags, nothing fancy attached (other than CSS). The javascript function in the menu will automatically pop up an alert if an exception was thrown, so it'll be immediately apparent if there's an error in a particular browser. I added a "Menu error:" text to it to distinguish it from general error messages from the browser. Can you see if it's really internal to Opera?

Of course, at the moment I can't seem to connect to the core doom9 site at all. Not sure whether it's just down, or it decided to lock me out because of this little test page. Put in an extra disclaimer just in case.

--
David

Refthoom
22nd June 2003, 21:29
@scipio
Thanks for the explanation. :-)

@dsmith
Sorry, that's just my cranky description. I'll try to do better:

- The error occurs when I click on a 'real' link, not a +/- folder.
- The error occurs with all 'identities' of Opera. I assume you are familiar with that function of Opera. So, when I let it identify itself as Opera, IE6 or Mozilla 5, the error's the same.
- The error is still the same as before.

About not being able to link to the core, I guess its the same as with the other script that scipio explained about. Probably some script to prevent leeching. When I was working on the menu before, I downloaded the whole site (once) for testing purposes. To such a script, this would seem as leeching. Maybe you did the same for your testing?

I know there have been several tries for a menu-tree of some sort. There MUST be one that is A) easy to maintain and B) works in (almost) all browsers. Maybe this is _the_one_ ;-)

Edit: I had a stupid question here, deleted it.

dsmith
23rd June 2003, 07:27
The problem appears to have gone away, so was probably just some temporary fluke. The only pages that I got a local copy of were the four pages that make up the front frameset.

As for the Opera error -- I've got no idea why it might be doing that. Since it's something internal to Opera, and not an error in the page's javascript (or at least appears that way), and the links are not fancied up (eg:

<li><a class="page" target="right" href="http://www.doom9.org/Old_news/may03.htm">2003</a></li>

)

it sounds like it might be some odd bug in Opera itself. But, as long as everything still works....

--
David

Refthoom
23rd June 2003, 21:33
Yup, I agree ;-)