Posts by zakato360

    Hi,

    sorry, but I can't analyze or debug your code, but here attached the original mwheel-touch-zooming.xml extended with some code for dragging:
    mwheel-touch-zooming.xml

    Best regards,
    Klaus

    HI there Klaus,

    Has there been any change on v1.20 that needs of any extra tweaking of the mwheel-touch-zooming.xml code?

    I am trying the same code on v.19 and v1.20 with different results.


    V1.19 (https://demo.zakato.com/temp/v19/) works all nicely and as expected in all the devices that I have tried (phone, tablet, laptop and desktop)

    V1.20 (https://demo.zakato.com/temp/v20/) on the other hand, works fine on phone, tablet and desktop but gives a problem on my laptop's touchpad (MBPRO). The zoom when scrolling with two parallel fingers works initially fine, but as soon as I zoom with the "pinching" tablet gesture it all stops working (both scrolling and pinching). This is not happening in v1.19 where everything works good.

    Thanks Hernan! (thanks Prof Klaus!)

    I have updated as suggested and most bugs are fixed now! :) ... the oy global still doesn't work, but I can define this individually as per layer.

    (I have also found that there is a trace leftover that reads INFO: 0)

    I am anyway getting to where I want now ... thanks Hernán, your help and plugin is much appreciated!

    One last thing I am trying to implement is multi-language and tooltip deactivation.

    How can i set the plugin visibility to false? ... I want my help icon to deactivate the tooltips. The way I am doing it right now is setting all tooltips to nothing:

    Code
    <action name="remove_help_tooltips">
      		set(layer[skin_btn_prev].tooltip, 			'' );
    		set(layer[skin_btn_next].tooltip, 			'' );
    		set(layer[skin_btn_thumbs].tooltip, 		'' );
     		...
                   set(layer[skin_btn_show].tooltip, 			'' );
     </action>

    '

    And then set them back to some data with another action:

    Code
    <action name="set_help_tooltips_eng">
      		set(layer[skin_btn_prev].tooltip, 			get(data[help_tooltip_eng_prev].content) );
    		set(layer[skin_btn_next].tooltip, 			get(data[help_tooltip_eng_next].content) );
    		set(layer[skin_btn_thumbs].tooltip, 		get(data[help_tooltip_eng_thumbs].content) );
     		...
      		set(layer[skin_btn_show].tooltip, 			get(data[help_tooltip_eng_hide].content) );
    </action>

    whereas:

    Code
    <data name="help_tooltip_eng_prev">     previous 				</data>
      <data name="help_tooltip_eng_next">     next 					</data>
      <data name="help_tooltip_eng_thumbs"> thumbnails 			</data>
      ...
     <data name="help_tooltip_eng_hide">     controls on/off 		</data>


    This way, it is a bit too long and not that elegant, but is working out for me. It would be great if we could track the instance name of the textfield plugin so that we could set its visibility to false, or even create separate instances of the plugin to be used for different, say for example languages.

    Anyway ... thanks once more!

    Antonio

    Hi Hernán! :)

    I have finally spare some time to try out your wonderful tooltips plugin. I have managed to get something working ... but I am also getting some issues (?!?). I'm still down at my KRPANO learning curve, so these might be something I am doing wrong.

    Some context:
    I have modified the KRPANO default skin and I pretend to use your plugin mainly to show up tooltips for the control bar icons. I am attempting desktop, tablet and mobile versions (flash and HTML5). You may have a look at my curent test here: http://www.zakato.com/pub/20140721/

    What I like about your plugin is that it works fine on touch screens too and always keeps within the stagewidth.

    Find next some of the issues I am finding right now:

    A. If I include "abs_plugin_url" "abs_plugin_alturl" as in:

    Code
    <settings name="tooltip"
              style="default_tooltip_style"
              oy="0"
              textfield_plugin_url="%SWFPATH%/plugins/textfield.swf"
              abs_plugin_url="%SWFPATH%/plugins/abs.swf"
              abs_plugin_alturl="%SWFPATH%/plugins/abs.js"
              />

    I get - ERROR: decoding failed - http://www.zakato.com/pub/20140721/plugins/abs.js - and tooltips won't show up.

    If I get rid of "abs_plugin_url" "abs_plugin_alturl" it just loads fine.


    B. Also, "oy" above doesn't seem to be parsing as a general setting. It does work good if included inside each <layer> element.


    C. Tooltips are showing as expected on left side and right side icons (align=leftbottom align=rightbottom), but for center bottom icons (align=bottom) the tooltip shows up on the left of the screen.

    D. I am also trying to use the new tooltip plugin to work out on thumbs in order to show up the pano title (I'm doing this because it will show too on HTML5!). In this case, the tooltip show good on starting, but does not refresh its position when scrolling.

    I'll appreciate if you could give me some clues regarding these issues! ;)

    thanks!

    Antonio

    Thanks for your reply Hermán!

    The tooltips thing is looking so good! ... it even works great on IOS!!! I'm really impressed ... I can't get to show up on IOS yet and also my current implementation of tooltips comes out of the screen if it is too close to the side.

    I am actually trying to implement something like yours as a help tooltip for the icons (still fighting the code and found your post :)

    A quick initial release of your fancy Tooltips would be great, otherwise I could wait until it is ready next week! ;)

    Thanks you!

    Antonio
      zakato360