Foundation Zurb visibility classes - zurb-foundation

I am using foundation zurb version 4. I am using foundation's visibility classes. I am using hide-for-medium-down and show-for-medium-down for displaying 2 different headers. Its working fine with ipad in both verticle as well horizontal. But when i view the site on monitor with resolution 1024*768 (ipad also has same resolution of 1024*768), both header gets displayed on monitor.
Plz help me.

Make sure that your browser is supported. Support list
Notice that the IE8 has some caveats

Related

Why is my React app not loading correctly in Edge 84 (chromium) but does in chrome?

I have tried a django/react app as well as a base react app made using the create-react-app command. Both end up breaking in one way or another. For instance, the align-items tag does nothing (tried center, right, left). On my django/react app I have a header that loads perfectly on chrome but all I see is a background color on edge.
Maybe you should try adding display:flex so that the align-items property works.And for different browser testing try the webkit rule so that it is stable across all browsers.
See if it helps. Thank You
I'm going to be honest, I went and reloaded the server (have not changed anything since my posting) and it's working completely fine now. I was looking for errors but I dont see any. To clarify, I was having issues with displaying CSS correctly in a react app. Even using the baseline create-react-app and using a align-items property would not function at all in Edge, but would in chrome. Thanks to all who tried to help; hopefully this was a weird one-off.

Qt Camera Example - changing settings does not work

I have built and run the Camera Example project from the examples in Qt (QtCreator -> examples).
All went correctly.
I can run the program and display video stream from my laptops camera (Lenovo X220) and from my android phone (using DroidCam Client in the background).
The example has many options, that you can change.
I can use the sliders to adjust Exposure Compensation or Quality. But they do not appear to work.
Nothing except form image capture does not appear to work. The same goes for the QML example.
Has anyone tried those examples?
Is there a way to make the functions provided by the example work?
Is there another way to make those changes?
I am using Window 10 with the latest updates, but I have tried the example a couple moths ago, and the results were the same.

Using simple grid with Foundation 6 Zurb Stack

I'm trying to prototype a site using the Zurb Stack project (since I want SASS and Handlebars), and I need to use the plain vanilla grid in order to support IE9. However my layout isn't working (even when copied direct from the tutorials), and looking into dist/assets/css/app.css I've discovered that it lacks the necessary classes such as .row and .column. Is there a setting I need to configure in order to switch from the newer grids to the old row/column version? I've searched the Zurb site and the wider internet in vain.
In order to change the framework to use the legacy Float Grid, you need to go to app.scss remove comment on the line where shows #include foundation-grid;, and comment the one with #include foundation-xy-grid-classes;, then rebuild framework.
Hope this helps

How to Take Screenshots of openGL with calabash

How can I take screenshots of openGL with calabash while using the ios simulator?
In the past I could do it with (localhost:37265/screenshot2), but now it is deprecated.
Since most likely you use UIViews to render OpenGL content, you could create a category on UIView that creates a screenshot of the current state (e.g. by drawing the content to an image). You can call the category using the map method of calabash, e.g.
# the following assumes your OpenGL view has an accessibility label 'OpenGL view'
# you also have a category 'UIView+Calabash' with a method '-(void)takeScreenshot;'
map("UIView marked:'OpenGL view'", :takeScreenshot)
You might also want to read the following topic:
Programmatically take a screenshot combining OpenGL and UIKit elements
UPDATED
Calabash iOS 0.18.2 and above now supports OpenGL screenshots.
The following information is out of date, but possibly useful.
The screenshot2 route was deprecated in this PR to provide Xcode 5.1.1 and 64-bit support.
This is the first report we've had of someone who was using this route.
For iOS 7 only, we have some options, but I haven't settled on a solution. This is being tracked in the calabash-ios issues and in this calabash-ios-server branch. Feel free to weigh in with your opinion.
On a side note, the calabash.framework now ships header files that allow users to implement their own routes. It is beyond the scope of this question to provide details, but we have one example of a user implementing OpenGL screenshots using the header files.

How to create screenshot of web browser without chrome in Qt 5.1

It is possible to create screenshot of a Window content in Qt 5? E.g we have web browser and I want to create screen only of the page without chrome (menus window ...). Here is an example:
http://s7.postimg.org/5ekkmpdbd/question.png
Image above represent the feature which I want to implement in my Qt application.
Here is the example:
originalPixmap = QPixmap::grabWindow(QApplication::activeWindow()->winId());
there is a possibility to render only the content (web page) of the browser ang get the image?
The way to deal with the chrome issue depends on what is your goal. The "chrome" you are referring to is a part of the web browser application that you're trying to interact with.
If you're doing this as a quick in-house hack, then you're free to hard code some offsets needed to trim the original pixmap so that the chrome is removed.
If you want something that can grab website screenshots and doesn't care on which browser is being used, you should be using WebKit bundled with Qt. Then you have full control over where the stuff is rendered.
If you want to grab screenshots from a user-provided browser, then one approach is to add an extension into the browser, and implement a server that can receive images from the extension running in the browser. The extension can be written in javascript presumably for everything out there but IE. It will be browser-specific, though.
Another approach is to check if the browser doesn't provide some other APIs that could be used for the purpose, without a need of writing an extension. For all I know, similar extensions should already exist. There surely are open source website testing frameworks out there that let you render a site in multiple browsers; they should provide this "grab from a browser" functionality.
Nitpick: In Qt 5 you should be using QScreen::grabWindow(), not the deprecated QPixmap::grabWindow(). I also hope that you're aware that if there are any windows in front of your window and obscuring it, they'll be grabbed. The grabbing is done from the screen, not directly from the window.