How to adjust the frame space in a webapp? - html

I found this feature in an email webapp that lets a user drag a frame splitter to adjust the space each frame uses.
What is it called and how to build that?

It's not that hard to program yourself with the help of a little jQuery, but there's a nice plugin for this also: jQuery Layout
Or this one: http://www.methvin.com/splitter/vsplitter.html
Or this one: http://jquery.jcubic.pl/splitter.php
enough samples available I would think...

Related

How to create scrolling list with picture in Adobe Animate CC/ActionScripts3

I'm a designer and animator, I newly start to coding with Adobe Animate CC, In all versions of adobe flash there is List item but i couldn't find a simple way to add image and text to it, if possible guide me how can i make a scrolling list like below sample image (scroll to receive content from server "like a news app") with simple way not complex coding. I prefer to use Adobe Animate not Adobe FlashBuilder/Flex.
Simple suggestions, Link to tutorial, ...
If you take a look here, you might find what you are looking for. However, if you are just starting to code in AS3, expect to go through some rough spots.
http://www.myflashlabs.com/product/flash-dynamic-as3-scroller/
This scroller is pretty good, as it works with touch devices, as well as mouse input (desktop). This still requires you to create a movieclip or sprite and attach whatever items to you want to them. Read the documentation and take your time. Best of luck

Is HTML rendering possible in libgdx (or, what is the best practice to create a help screen)?

I want to create a help screen for my game. This screen contains text and pictures that describe the game.
One option is to create a stage and add a table to it that will define the position of the different labels and images. However, this option seems to be "unnatural", limited when it comes to format options, and a potential headache when it comes to code maintenance.
The content of the screen is static which makes it a good candidate for an HTML document. My idea is to create the help screen document in HTML and then have it rendered inside my help screen. My question is, is this possible in libgdx? If not, what other way would I have to implement this?
As it is not possible to embed a browser in your LibGDX app (as nicely explained here), you could either link to an external website in the device's browser or use the libgdx-stagebuilder to build up the Scene2D stage using XML. Or you just stick to the normal LibGDX way. Unfortunately, I don't see any other option than those.
I don't think this is supported in libGDX as of yet, but it should be possible using platform specific code. How you do it will vary from platform to platform, so I can't tell you exactly what to look up, but android has something called webview you might want to look at.

Hide/Remove video button from App Bar using CameraCaptureTask

Is there any way to hide or remove the video button from the App Bar on a WP8 application using CameraCaptureTask? Our app only includes taking pictures, no videos. That's why we think it would be better remove the video button if it isn't really a choice. CameraCaptureTask (native task) keeps the video button disabled but visible, instead hide it...
Thank you in advance.
To answer your question in short, no, there is no way to modify a native task in that manner.
That said, there is a way around this, be it a little more laborous.
You're going to need to create your own camera capture page.
Here is the official MSDN Documentation and code on how to accomplish this.
http://code.msdn.microsoft.com/wpapps/Basic-Camera-Sample-52dae359/sourcecode?fileId=62725&pathId=1134966225
If it were me I would make a control that pops open when you need it that does the MSDN example.
Good luck to you and welcome to Windows Phone dev. If you want faster answers hit me up on the tweeter. #Anth0nyRussell

An overlay GTK toolbar/widget

I am writing a custom application in C using GTK+2.0 and Cairo. Just for learning purposes (and if successful, then for deployment), I wish to recreate something similar to a overlay toolbar/widget (I am sorry if the terminology is not correct) that appears when a mouse moves over a given area on the window, and disappears when the mouse moves away. The toolbar, as I imagine, should appear on top of the existing widgets without displacing them or altering the widget packing in any way. Is it possible to accomplish? If yes, can you please point me to relevant tutorials/examples and/or outline a way to do the same?
Thanks in advance.
Not sure this is easily doable in GTK2. However, I learned recently that there's the GtkLayout widget which allows pixel exact rendering of widgets, so you can even display some widgets over others. Or you may implement your own container widget.
Please note that since GTK3, there's GtkOverlay which seem to do what you want.
You may also give a look to Clutter, which might allow this. Furthermore, there are projects of merging GTK and Clutter for GTK 4.
The little known GtkHandleBox is capable of doing what you want. I must warn you it is deprecated in GTK+3 because is going against the usual UI direction. Also, the correct positioning will be subject to the windows manager quirks, so I'd expect some issue in this regard.

css scroll/touch slide view - how to use -ms-scroll-snap or the like?

I discovered the new css controlling scrolling and snapping on http://msdn.microsoft.com/en-us/library/windows/apps/hh466066.aspx
I wonder if there's a tutorial or sample out there explaining how this works and to use those css-attributes.
I'm working on a (angularjs based) calendar and I wonder if it's possible to extend it using css to support touch panning trough the months (like win8 calendar navigating with the fingers).
http://jsfiddle.net/johnnayweiler/FyrtQ/
How to use like -ms-scroll-snap to make the view go with the finger, then snap to the next page? What js events would be recommended to know when the scroll amount reached this snap point(to load the next month).
Also of course, is there something similar in other browsers(this doesnt seem to be a standarts feature)? Probably using javascript, are there some simple solutions for handling momentum and snap?
Thanks for your ideas :)
Theres now an official sample ;)
http://code.msdn.microsoft.com/ie/Scrolling-panning-and-6834aaf9/sourcecode?fileId=68336&pathId=380363024