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?
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?