|
Posted by Neredbojias on 03/26/06 06:14
With neither quill nor qualm, Chris Ianson quothed:
> > Here's a vers. that works with javascript (-except in Opera but the
> > original didn't seem to work in Opera, either.)
> >
> > http://www.neredbojias.com/zyxix/A1master.htm
> >
> > --
> > Neredbojias
> > Contrary to popular belief, it is believable.
>
> PS: Is there a way this can work *across* htm files?
>
> Let's say 'Go to End' actually says 'Go to End of Image 2', and that calls a
> name reference in a 2nd htm file called A2image.htm with a different
> panorama inside.
>
> When clicked it loads image2.htm into the same iframe, replacing image1.htm.
Uh, yes, I think so. But the j/s code is in image1.htm so as it is,
that would necessitate repeating almost the same code for each
imageN.htm (-or making some changes and a .js file. Probably the better
way to do it would be to move the code to the "master.htm" page, but I'm
not sure if that is even possible. ((Um, um, actually, it should be. I
think.)) )
Also bear in mind that the _right_ (-meaning optimal) way to do it is
all in one page as Els was suggesting. It could be tricky but at least
you would lose the reliance on j/s.
> Or will this only work when jumping to name references within the same htm
> file?
>
>
>
--
Neredbojias
Contrary to popular belief, it is believable.
Navigation:
[Reply to this message]
|