my lightbox plugin is flashing in full screen? - css

something is going on. everytime I click on it and view it to full screen it flashes 5 seconds later then starts flashing every 2 seconds?
http://icpy.webs.com/prettyPhoto/index.html#prettyPhoto

Your lightbox is in slideshow mode with autostart true, change to false will solve the problem.
$(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'normal',theme:'light_square',slideshow:3000, autoplay_slideshow: false});
UPDATE
If you do not want to use slideshow can simply change the line in question to:
$(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'normal',theme:'light_square'});

That's because it is scrolling though the slides. the flashing is the animation

Related

Scan an element that disappears from screen in TOSCA

Can anyone guide me on if we can scan an error alert in TOSCA which appears on the screen only for few seconds. Is there any way to do it after the element has disappeared.
If the error element is part of the web page then you can use the filter and search slider bar on the XSCAN window by sliding it towards right, it should show components of the page with further details. The error alert component would most probably be there with the property has hidden.
Open Developer Console(F12 for Chrome)-> Settings->Debugger-> disable JavaScript. Now the element will remain on the screen for as long as you want.
Source: https://www.analyticsmania.com/post/how-to-pause-javascript-and-inspect-an-element-that-quickly-disappears/

Revolution Slider Transitions Bug

I have a Revolution Slider with just a single slide. Everything works perfectly except when I click somewhere on the slide and drag the mouse to the left or right. In that case I get a transition.
Any idea how to disable this?
you need to have two things to stop that. First you need to go to general settings -> stop slider (on) -> stop at slide 1
Second you need to disable mobile touch, go to mobile touch -> touch enabled off
On revolution slider 5 to disable mobile touch go to navigation -> touch -> touch enabled off
hope this helps

Unable to disable layer animation - Revolution Slider

Could you please let me know how to disable layer animation?
I have selected "Fade" for the "Start Transition", and enter the number "0" for the "Start Duration". These settings are working fine in Firefox but isn't working for Chrome browser. Please let me know.
Revolution Slider version - 4.6.5
Rocco theme version - 1.3
If your animation gets stuck, consider checking you animation settings. If you are using revolution slider, change the settings as below. It worked for me!
The slideshow was disappearing after a few seconds of the first slideshow.
The next settings for me have worked:
Go to "Edit slides":
General setting: Transitions: no transitions, Rotation: 0, Transition Duration: 0, Delay: empty.
Layers timing & sorting: Start: 0, End: 9000 - for all layers.
Layer animation -> Start transition: Start duration: 0, Split delay: 0 - for all layers.
If you need a specific layer(s) to be static through all slides then take a look at this documentation page and if you are using Revolution Slider below version 5.0 then take a look at this screenshot.
Here is my detailed answer for Revolution Slider ver 4.6.93 that I am using:
On your Slider General Settings find an option "Enable Static Layers" and turn it on, then click Save Settings
Click Edit Slides button
At the bottom of the page you should now see "Edit Static/Global Layers" button. Click this button and create static elements there. They will be visible on all slides of your slider.
Hope it helps.
So I know I'm a little late to the party, and this response most likely doesn't apply top the version originally posted. This works for version 6. I don't know if this is the way its supposed to work, but it does work.
Click the GEAR icon, or Module options when editing your slider. Select 'General',and look for "Dynamic Viewport Loading". Turn it ON and set it to WAIT and 0%.
This will stop the animation from playing, allowing you to use your scroll based animations at their correct times, and other cool stuff!
Stop Animation By Setting Dynamic Viewport Loading to On and 0px
you can set fade -> no transition if it's a background or simple transition -> no animation if it's a simple layer
screenShot from slider rev

iPad SplitView Master View shows but with minor (and incorrect) variation

I'm practicing development of a simple iPad Split View app (Stanford's Hegarty online class). And everything works for the most part. However, the Master side ('left side), although working in landscape mode looks a little different than what I expect it to as a 'popover' in portrait mode. The 'popover' covers the left side of the screen including the toolbar button item that triggered it where normally it should not cover that button.
Unfortunately I can't post images so I'll try my best to describe in more detail. Normally the 'proper' popover will be hovering right below the bar item button that triggered it with a thick arrow-ish thingie (the 'anchor') pointing to the button and not covering that button. The popover can be dismissed by clicking on that button again (or elsewhere on the screen).
What's happening to me, however, is that when I click the bar item button to show the popover, the resulting popover 'covers' the button and essentially fills up the left portion of the screen (the detail view is under it and most of it is showing) with its designated width (so, again, it doesn't cover the entire detail view). The is no 'anchor' arrow pointing to the bar item button since it is obviously covering it instead. The popover is dismissed normally once I click anywhere else on the screen.
So why is my popover covering the button and not simply hovering under it with an 'anchor' pointing to it as it should?
I don't think it it makes much sense to post code at this point because I don't think it'll help and more importantly not sure what portion to post considering this might be a problem with how I wired it in the Builder. Any thoughts will be greatly appreciated!
Thanks!
Mo
I believe its a change that came in IOS5.1
If you want the same behaviour you probably need to set the master up as a popover segue, from a toolbar button or similar in the detail view, and set the split view delegate to not show the master in portrait.
I'm on the move now but if you want any more info let me know and I'll try and get back to you later.

Qt radio button switch display delay

I'm having a Qt application here where I have a main window with 5 QPushButtons that are aligned vertically.
These buttons work in a radio-group manner.
This means, that they are checkable and auto-exclusive.
Since I need to be able to resize the font size of the button text when the main window resizes, I included my own override of QPushButton and set it as custom widget in designer.
What I don't understand is, that there is a heavy delay when I switch from one button to another via keyboard shortcuts! Same when I click with the mouse.
I would say that this delay is about 0.5 to 1 second.
Have tried it on different machines.
I really need to get rid of this!
Anyone has an idea of what I could do to fix this??
Edit : Just found out that this behavior is the same when I just use normal QPushButtons. It seems that the delay is getting more when the buttons are getting bigger. Any help is strongly appreciated!!!
A shot in the dark: Setting the font might cause another resizeEvent, which in turn causes another one and so on... Try putting the font adjustment code into a method that you explicitly call when you enter/leave full screen mode.

Resources