Windows success, KDE failure

M

MartinRinehart

I've got the formal syntax of the Python language defined in HTML/
Javascript, at
http://www.MartinRinehart.com/articles/python-grammar.html

It's got a little top frame that shows a single definition. When you
click on a defined term in the definition (right side) part of the
main frame, the main frame moves that term to top in itself and also
pops it into the top frame, via this little bit of JavaScript:

<script type='text/javascript'>

function jump( defName ) {

url = '#'+defName
parent.list.location=url
jumpUrl = "python-grammar2.html" + url
parent.jump.location=jumpUrl

} // end of jump()

</script>

Problem is that this fails in Konqueror, which is generally an
excellent (Opera-quality) browser. The top frame, "jump" ignores the
'#xxx' part of the URL and just shows the top of the page.

Any ideas?
 
T

Toby A Inkster

MartinRinehart said:
Problem is that this fails in Konqueror, which is generally an excellent
(Opera-quality) browser. The top frame, "jump" ignores the '#xxx' part
of the URL and just shows the top of the page.

Seems to work fine here (Konq 3.5.9).

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 36 days, 16:41.]
[Now Playing: Bluetones - Time and Again]

Bottled Water
http://tobyinkster.co.uk/blog/2008/02/18/bottled-water/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top