place light box over java applet - lightbox

i use lightbox for pop up thembs (in modal window)
in the same page i have an applet object showing 360 animated photos
when i click on any thumb the modal window is loded over the elements of the
page instead of the applet...
iknow the "hack" ( ) for flash objects but
it does not work for my java applet

It's not possible to position anything on top of an applet. However, there's a very ugly hack to do so.
More info: Java Applet z-index on Safari and beyond

Related

css animation 'stutters' on first call, but subsequent calls are smooth as butter

I am simply adding a class with to a div with four images (50x50) in it on a button click. The class calls a css animation that translates the div from the left to the center of page. The div is hidden because the page body is set to overflow hidden.
No other JavaScript code is being executed after the class is added.
The first time it is called it 'stutters' and has choppy framerate, but pressing the button that calls it again it animates very smoothly.
What is going on?
*note: I am working on kiosk software that uses Chromium Embedded Framework on a AMD duel core 1.5ghz processor. It works fine on my quad core 1.8 laptop, but choppy on our machine *
is the selector and id being cached so the browser doesn't have to search for it again?

QGraphicsWebView incorrectly expands horizontally with unused white bars (window.outerWidth >> window.innerWidth)

I'm using a view hierarchy of
QMainWindow > central widget > QVBoxLayout > QGraphicsView (800x600 fixed) > class deriving from QGraphicsScene > QGraphicsWebView (800x600)
When I load a jQuery Mobile powered HTML file and use the horizontal slide transition between pages, the value of window.outerWidth grows to 2400 pixels. But the actual page width, and value of window.innerWidth, remains at 800. The web view then shows 800 pixel-wide white bars at the left and right (horizontal scrollbar also expands to 2400px), with the new jQM "page" in the middle. Right-clicking in the white bars does not show the QtWebView context menu, but right-clicking in the middle works. I enabled developer tools [1] which told me that the HTML, BODY and DATA-ROLE="page" elements have the correct width of 800px.
This is working in browsers like Firefox and Chrome, so I think it's a bug in Qt's web view implementation or a setting that I have missed. The problem seems to come from the fact that the jQM pages which are sliding in/out during transitions are considered for the width. Why does window.outerWidth get such a wrong value? Note that any size policies on the web view do not have an effect. Any ideas what else I could try?
[1] "Inspect" context menu option:
QWebSettings::globalSettings()->setAttribute(
QWebSettings::DeveloperExtrasEnabled,
true);
Solved it by upgrading to Qt 5 which has the latest WebKit. It however creates new trouble, so first try if the rest of your web pages work before switching to the newly released 5.0.0.

mouse cursor disappears flex/flash ui on mac safari

the issue we are facing is that the mouse cursor disappears when a user is using the app in a safari on MAC. The app UI is in flex 4actionscript running in the flash player.
So whenever the cursor hovers over an HDividedBox draggable divider the cursor changes and on returning to the advanced data grid it disappears.
We thought of replacing that with a custom cursor written in javascript, which would have been worked, but we also have an iframe embedded in the flash movie.
The custom javascript cursor listens for mousemove in the parent div holding the swf and updates its position however the JS script is not usable as the user hovers over an iframe and it does not bubble up the mouse move event.
Looking for an alternate solution now.

Mouse scrollwheel in Flash/Flex application

I'm building an application in Flex and I have few windows with scroll. When I'm trying to use mouse scrollwheel the window does not scroll up/down. Plus if it is possible to make the window to scroll up/down then is it possible to make to scroll right/left.
in as3 there is a mouseevent.mouse_wheel event. Listening for this will yield property delta. the delta property wil tell you if your mousewheel is scrolling up or down. unfortunately this doesnt work with macs. Fortunately, there are some classes out there [internet land] that address this.
re the second bit, side to side, i imagine you could harness an up/down motion to move a scroller left/right, but i dont think thats what your after.
Correct.
This guy made it possible. Some examples and explaination: http://blog.pixelbreaker.com/flash/as30-mousewheel-on-mac-os-x/

Is it possible to remain in fullscreen mode with another window having focus?

I have a flash panorama that has hotspot links to pop-up windows that contain more information about the object. Right now if you are in fullscreen mode and click a hotspot you are automatically kicked out of fullscreen mode and the pop-up then opens. Is it possible to have the pop-up open and have focus while in the background the panorama is still in fullscreen mode? If so any tips on how to achieve this would be much appreciated.
The answer is NO, somehow it makes sense otherwise why would it be fullscreen if you could overlap it with pop-ups? The fullscreen is made to focus only on one window. If you want to have more information coming up, why not doing them inside your SWF ?
No but what you can do is make the form the same size as your resolution and hide taskbar and frame.

Resources