Loading ...
Sorry, an error occurred while loading the content.

Re: [PanoToolsNG] Re: PTviewer help?

Expand Messages
  • Fulvio Senore
    Yes, now that you write it I remember those pages. They were very good ones, who knows what happened to that guy... Anyway, I don t remember if it was possible
    Message 1 of 8 , Jul 2, 2010
    • 0 Attachment
      Yes, now that you write it I remember those pages. They were very good
      ones, who knows what happened to that guy...

      Anyway, I don't remember if it was possible to add hotspots. It was a
      long time ago, in the times when Java looked like the future...

      Now Java is the past, and I cannot keep from asking myself if and when
      Flash will become the next Java and change from "future" to "past"...

      Fulvio

      Il 02/07/2010 22.17, Erik Krause ha scritto:
      > Am 02.07.2010 22:06, schrieb Fulvio Senore:
      >> It is a long time since I last worked at PTViewer, but I don't think
      >> that it is possible to add a hotspot at runtime. Hotspots are defined as
      >> parameters in the<applet> tag.
      >
      > Do you remember the wufdog PTViewer pages? As far as I remember you
      > could add hotspots dynamically there. Unfortunately they are gone some
      > years ago. archive.org still has them, but those are not functional:
      > http://tinyurl.com/3xz2ryp
      >
    • Jan Martin
      Well, I already spend an hour on that page and the pages source. Haven t found anything on adding hotspots by javascript. Something different: How to add an
      Message 2 of 8 , Jul 2, 2010
      • 0 Attachment
        Well,

        I already spend an hour on that page and the pages source.
        Haven't found anything on adding hotspots by javascript.

        Something different:
        How to add an hotspot to panosalado 1 by javascript and not from an xml
        file?

        Thanks,
        Jan


        [Non-text portions of this message have been removed]
      • Erik Krause
        ... Fulvio, could it be we both misunderstood Jan s request? He doesn t want to add a hotspot dynamically. He wants to define the hotspot in a string passed to
        Message 3 of 8 , Jul 3, 2010
        • 0 Attachment
          Am 02.07.2010 22:06, schrieb Fulvio Senore:
          > It is a long time since I last worked at PTViewer, but I don't think
          > that it is possible to add a hotspot at runtime. Hotspots are defined as
          > parameters in the<applet> tag.

          Fulvio, could it be we both misunderstood Jan's request? He doesn't want
          to add a hotspot dynamically. He wants to define the hotspot in a string
          passed to newPano(). The question was, why this hotspot doesn't show
          when the new panorama is loaded. From the documentation it should work...

          --
          Erik Krause
          http://www.erik-krause.de
        • Erik Krause
          ... After some fiddling with firebug I found the reason: You simply are using the wrong hotspot syntax: The string should be ... {hotspot0= q x1500 y750 a1600
          Message 4 of 8 , Jul 3, 2010
          • 0 Attachment
            Am 30.06.2010 11:53, schrieb Jan Martin:
            > Relevant code:
            > next ='{file='+streetview+'} {pan='+pan+'} {tilt='+tilt+'} {fov='+fov+'}
            > {name="hotspot1" value="q x1500 y750 a1600 b800
            > u$+javascript:update(\'pano/000045.jpg\')+ n$+pano/000045.jpg+"}';
            >
            > document.ptviewer.newPano(next);

            After some fiddling with firebug I found the reason: You simply are
            using the wrong hotspot syntax: The string should be
            ... {hotspot0="q x1500 y750 a1600 b800
            u$+javascript:update('pano/000015.jpg')+ n$+Click me+"}

            --
            Erik Krause
            http://www.erik-krause.de
          • Jan Martin
            Erik, thanks. It works. I could have sworn I tried that..... Jan ... -- http://www.DIY-streetview.org [Non-text portions of this message have been removed]
            Message 5 of 8 , Jul 3, 2010
            • 0 Attachment
              Erik,

              thanks. It works.
              I could have sworn I tried that.....

              Jan

              On Sat, Jul 3, 2010 at 7:22 PM, Erik Krause <erik.krause@...> wrote:

              > Am 30.06.2010 11:53, schrieb Jan Martin:
              > > Relevant code:
              > > next ='{file='+streetview+'} {pan='+pan+'} {tilt='+tilt+'} {fov='+fov+'}
              > > {name="hotspot1" value="q x1500 y750 a1600 b800
              > > u$+javascript:update(\'pano/000045.jpg\')+ n$+pano/000045.jpg+"}';
              > >
              > > document.ptviewer.newPano(next);
              >
              > After some fiddling with firebug I found the reason: You simply are
              > using the wrong hotspot syntax: The string should be
              > ... {hotspot0="q x1500 y750 a1600 b800
              > u$+javascript:update('pano/000015.jpg')+ n$+Click me+"}
              >
              > --
              > Erik Krause
              > http://www.erik-krause.de
              >
              >
              > ------------------------------------
              >
              > --
              >
              >
              >
              >


              --
              http://www.DIY-streetview.org


              [Non-text portions of this message have been removed]
            Your message has been successfully submitted and would be delivered to recipients shortly.