Sie sind nicht angemeldet.

121

Mittwoch, 19. Dezember 2012, 12:20

Problem with diferent folder html and xml

Hallo,

We have a
problem with using Scrolling Thumbnails Plugin. We use following structure:

index.html
– here we have the main HTML file, we call lok0.xml from this file
locality/lok0.xml
locality/lok1.xml



locality/lokx.xml
locality/lok0/1_thumb.jpg

Demo:
http://www.profilia.cz/j/thumbsexample.html

XML:
http://www.profilia.cz/j/locality/thumbsexample.xml


Thumbs for the plugin ScrollThumbs are in folder, for example - locality/lok0/1_thumb.jpg

This is the problem:

If both HTML and XML file are in the same folder, everything is OK. If the XML file is in different folder than is impossible to load (import) thumbs. Example: looking for thumbs in folder locality/lok0/lokality/1_thumb.jpg.

<thumbs name="thumbs1"
vertical="false"
edge="top"
align="bottom"
y="150"
thumb_width="90"
thumb_height="72"
thumb_margin="12"
frame_width="106"
frame_height="88"
skin_url="%SWFPATH%/skin/"
thumb_url="%CURRENTXML%/lok0/"

ERROR:
download of „locality/lok0/locality/1_thumb.jpg“ failed

Correct:
locality/lok0/1_thumb.jpg

The bug is somewhere in thumbsbase.xml

Can you
help us?

Thanks
Petr

122

Mittwoch, 26. Dezember 2012, 21:47

Hi!
Please contact me derictly on PM I will try to help you

Regards
Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

123

Dienstag, 23. April 2013, 11:16

SOLVED thumbs misplaced on iPad, hotspots not working

Hello Andrey,

sorry to bother you with 2 issues of scroll thumbs.

My primary goal is to use scroll thumbs without further buttons at the upper edge of the screen. I learned from the forum, that you can achieve this by adding a parent parameter at the onstart event.

Quellcode

1
2
onstart="action(init); buildthumbs(); set(plugin[thumbs1].parent,ui-toolbar_blanktop);
							" 


This is just working fine.

However, two issues occur:

- on iPad the thumbs are clearly misplaced, i.e. extending to the left of the parent object.
- a big area of the screen is covered by some hidden object to the right and underneath the scroll thumbs, preventing any clicking action to take place, i.e. no hotspots can be activated whilst under this hidden object. This issue is visible in the online scroll thumbs examples as well, though less prominent, since the thumbs gallery is placed smarter at the bottom of the screen.

Please have a look:

http://premiumpano.de/temp/hauck/

Any help with this problem greatly appreciated.

Yours,
Michael

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »mstoss« (24. April 2013, 12:09)


124

Dienstag, 23. April 2013, 18:45

Hello!
Please send me your tour, I will take look and try to help.
I will reply you by email

Thanks
Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

125

Mittwoch, 24. April 2013, 12:12

I will take look and try to help.
caused by a somewhat outdated file, fixed by Andreay immediately - very helpsome support when you need it most! Thank you very much Andrey.

Michael

cartola

Anfänger

Beiträge: 25

Wohnort: Rio de Janeiro, Brazil

Beruf: System Analyst

  • Nachricht senden

126

Montag, 27. Januar 2014, 17:26

I am trying to use the action "thumbnails_moveleft" on the "onclick" event of a plugin, but krpano says there is no action with this name. Can it be a too old vertion of the plugin? I have the one I downloaded in june 2012 when I bought it.

Here is my code:

Quellcode

1
2
<plugin name="scroll_thumbs_left" url="seta_thumbs.png" visible="true" keep="true" enabled="true" capture="true" zorder="4" alpha="0.7" blendmode="normal" smoothing="true" align="top" x="-220" y="75" rotate="180" onover="" onout="" onclick="thumbnails_moveleft(album);"/>
<plugin name="scroll_thumbs_right" url="seta_thumbs.png" visible="true" keep="true" enabled="true" capture="true" zorder="4" alpha="0.7" blendmode="normal" smoothing="true" align="top" x="220" y="15" onover="" onout="" onclick="thumbnails_moveright(album);"/>


Tks, Cartola.
http://cartola.org/360
twitter: @carloscartola | facebook
Rio de Janeiro, Brazil

127

Dienstag, 28. Januar 2014, 19:18

Hi!
I sent you PM....

you need to use ondown and onup events for make thumbnails move
thumbnails_moveleft - will START moving

thumbnails_movestop - will STOP moving

so, if you click and hold thumbnails will be moving
if you release mouse button, then thumbnails stop moving.


PS
if you see error about non existing action - then check you path's to xml and so on


Regards
Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

cartola

Anfänger

Beiträge: 25

Wohnort: Rio de Janeiro, Brazil

Beruf: System Analyst

  • Nachricht senden

128

Samstag, 1. Februar 2014, 13:52

Hi!
I sent you PM....

you need to use ondown and onup events for make thumbnails move
thumbnails_moveleft - will START moving

thumbnails_movestop - will STOP moving

so, if you click and hold thumbnails will be moving
if you release mouse button, then thumbnails stop moving.


PS
if you see error about non existing action - then check you path's to xml and so on


Regards
Andrey


Hi Andrey,

thank you for the answer. I've used the ondown and onup, surely that was what I needed.

About the scrolling, I finally discovered that my plugin use thumbs_movebegin and thumbs_moveend and not moveleft or right. Are you sure it is not an older version?

I got confused, cause when I saw moveleft at krpano documentation page about the plugin and moveend/begin at my plugin I thought that the end/begin would move straight to the begin and the end of the thumbs and that I should use left/right to move slowly, but now it looks like it has changed name somewhere in time - maybe to be more clear.

The xml reference was always ok. I think if it weren't then the error would be on other previous actions or maybe at the include line.

Here is the panorama where I am using it: http://cartola.org/panoramas/20140123-At…nto_Estacio_Sa/

and the plugin is at http://cartola.org/panoramas/20140123-At…/thumbsbase.xml

Maybe you can just check it it is an old version. Do you tag the plugin versions? Can I check version somewhere? I didn't find any. At the xml of the plugin the krpano version is 1.0.8.

Bests.
http://cartola.org/360
twitter: @carloscartola | facebook
Rio de Janeiro, Brazil