cresbydotcom
Technical User
- May 22, 2006
- 234
Hi
Problem - the calling site links to me with #anchors and acts as you would expect in a page without frames. eg dance.htm#D.DJ
This code works well in IE5 but not in Mozilla 1.7.8 and Opera 3.5 seems to ignore it as well.
I have tried scroll() but in various ways but to no avail.
The intention is to make it work with legacy browsers (except possibly K-melon or whatever it is called) because my target audience is still fairly Luddite in parts.
Any ideas on browser handling? Places to look?
there is a tide in the affairs of man that you Cnut ignore.................
Problem - the calling site links to me with #anchors and acts as you would expect in a page without frames. eg dance.htm#D.DJ
This code works well in IE5 but not in Mozilla 1.7.8 and Opera 3.5 seems to ignore it as well.
Code:
<script language="JavaScript" type="text/JavaScript">
var inanchor = self.location+parent.location.hash;
self.location.replace(inanchor)
</script>
I have tried scroll() but in various ways but to no avail.
The intention is to make it work with legacy browsers (except possibly K-melon or whatever it is called) because my target audience is still fairly Luddite in parts.
Any ideas on browser handling? Places to look?
there is a tide in the affairs of man that you Cnut ignore.................