lohamarks.blogg.se

Sl showhide on touch script
Sl showhide on touch script









  1. Sl showhide on touch script update#
  2. Sl showhide on touch script code#
  3. Sl showhide on touch script download#

This param is used to set delay time ( miliseconds ) This param is used to set easing effect when slides go out. This param is used to set duration time ( milisecondes ) This param is used to set easing effect when slides show. This param is used to set duration time ( miliseconds ) Value: slide, dropdown, riseup, moveleft, This param is used to set default delay time for each slide when enable AutoPlay. This param is used to enable or disable AutoPlay. This param is used to enable or disable Nav Control. This param is used to enable or disable NavBar.

sl showhide on touch script

This param is used to enable or disable Swipe feature. This param is used to enable or disable Press Left and Right Arrow Keys to move slides.

Sl showhide on touch script download#

This section should be read along with the example file ( “screenslider.html” file ) also contained in the download package. Section 3: ScreenSlider Package Structure.

sl showhide on touch script

SlAutoPlay: 1 // 1: enable AutoPlay | 0: disable AutoPlay

sl showhide on touch script

SlNavCtrl: 1, // 1: enable NavBar Control (Click) | 0: disable NavBar Control SlShowNav: 1, // 1: enable NavBar | 0: disable NavBar SlDelay: 5000, // Default Delay Time (ms) To call the plugin we need to add a script like bellow into the tag. Section 2: Call ScreenSlider Presentation Plugin.

Sl showhide on touch script code#

Include the following code into HEAD section of the page. Section 1: Setup ScreenSlider Presentation Plugin.įirst of all, to ensure everything works correctly, please use at top of the page.

  • Setup ScreenSlider Presentation Plugin.
  • This plugin is developed by and used below third parties:
  • Add 3 new effects: fold, explode, clip.
  • Sl showhide on touch script update#

  • Update jQuery 1.9.1, jQuery UI 1.10, jQuery Mobile 1.2 versions.
  • Added Left and Right Keys to move slide.
  • Touch Swipe, Click, Left and Right Keys Press.
  • One last useful tip : by setting the channel parameter to a negative number, you prevent avatars from issuing a direct command over the chat, and only the control script will be useable. Its parameters (channel and commands) should be the same as those of the ShowHide script. That way, you can make all your poseballs appear or disappear at the same time by touching the control. You can also set the color of said text in the parameters.Ī second script (ShowHide control) is designed to be placed in an object (like a cube or a poster) to "toggle" the show and hide commands for objects in range that have the first script. Currently the script is limitted to setting only the root prim's text (could be done in a different way but, well.). Due to some limitation, the floating text, if any, to be set above the root prim has to be entered in the script too. The channel number, as well as the SHOW and HIDE commands are customizable via easy parameters at the start of the script.

    sl showhide on touch script

    If you plan to have this functionnality on objects with partial transparency on some faces, a way more subtle means to do this is required. Do not use it however for things more complicated, like a house or a tent, because the mechanism the script uses to make the object disappear will alter the alpha (transparency) setting of all faces of all prims in the object, and will make them fully opaque again when reappearing. This script is very simple but proves useful for hiding simple things like pose balls. It also takes "care" of hiding and showing the text above the object (but see details below). Its job is to make an entire object (a whole link-set) disappear or appear upon "hearing" a command on a private channel. Here is a little script I quickly put together.











    Sl showhide on touch script