How to add a ID or a class to slider background image in slider revolution - slider

Im trying to change the background image of slider revolution using media queries. I want to change the image to a different one for mobile devices. Is there a way to do this within slider revolution editor? So far I couldn't find any setting to do that.
If not, is there a way to add an ID or a class to the background image of the slider?
thanks!
T

Please try using the method from this article https://www.sliderrevolution.com/faq/display-different-images-on-different-screen-sizes/ to achieve what you needed there.

Related

How to create a circular slider with breakpoints?

I am new to react-native and i want to achieve the below design in react-native
The blue circle is a slider to chose the date(Date Picker)
The circle inside the slider(Date Picker) changes color when the date is changed
and finally an image inside the circle.
it would be great if anyone could provide links for reference or a library which i can use to create the design shown in the image.
thanks in advance.
you have to create a custom SVG Slider just like this one
I have created a sample for you take a look
react-native-circular-slider-with-breakpoints
Well this is a custom slider which has some break point values. As the slider changes there is a change in the state and based on that the below description view is rendered.
Use this slider and give some css colors and styles to make it round

MKMapview: How to get moving directions of current location pin?

I am working in a maps related application. In my application I would like to display destination pin and current location pin. On top of this I need to display an image like 'arrow' which should display moving direction of the user. Can anyone suggest me how do I achieve this.
Thanks
If I understand you correctly you want something like an arrow pointing which way they are moving, so grab the heading, and draw an overlay image on the map of the arrow. Then have it update the overlay when the heading changes.
documentation here: https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLHeading_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40008772
https://developer.apple.com/library/ios/documentation/userexperience/Conceptual/LocationAwarenessPG/AnnotatingMaps/AnnotatingMaps.html#//apple_ref/doc/uid/TP40009497-CH6-SW1
also this might help:
MKOverlayRenderer to display UIImage over map view

Load larger image on tap of small image with animation

I'm trying to load a large version of an image in the centre of the user's screen when then tap on a smaller version of the image that's already on my view.
Ideally I want to do this using an animation to get to the new image like a vertical flip.
Also if there's a way to make the background look greyed out like it's not the foreground then that would be even better.
Here's an image of what I'm after, I'm at work at the moment so haven't got access to the actual code / images.
I'm a new user so can't add pictures. Click here if you want to see what I'm thinking.
Image
There is an KGmodal Example Exist in GitHUB hope that Might Help you.
You have to Change the content view and Add an Imageview Programatically (with required size ) in the content View.
Follow the below link: https://github.com/kgn/KGModal
For Fliping the image see the tutorial iphone Flip Image.
In the end I added the larger image on to begin with and set its alpha to 0, then added a gesture recognizer on the smaller image that animated the larger one and gradually changed its alpha to 1. The did the reverse on the large image. Don't know why I didn't think of that in the first place!

How Can I make a Nivo Slider transition with text below-NOT CAPTION?

OK, So I am working on this Nivo Slider for a website I am doing for my school... I am wondering if it is possible to actually get the Nivo Slider to transition with text below. Not necessarily a caption but like when the Nivo goes to a new image the text below will go to another bit of text. I have the Nivo working in all browsers but I was curious if anyone knew if this was even possible. I tryed putting large text in a caption but It just made the caption go all over the Nivo instead of down below the image like I want..
Thanks for any suggestions!
You can place text below the gallery using the caption option and just display it below using CSS.
Simply go in to the nivo-slider.css file and change the position of the nivo-caption class to relative.
yes this is possible, with simple css modification you can display the captions under the slider and they'll fade at the same time as the images.
Kind regards

How to control the Appearance of UIPickerView

Can anyone point me in the right direction here.
Im trying to use a UIPickerView that is displaying images.
The images are too big for the default pickerview setup so I was wondering how I could control how big the rows in the UIPickerView are and how wide the translucent selection bar is to accomodate for their custom size.
Can anyone provide some guidelines as to how big I should make the row images or where a good tutorial / book chapter is on this?
Thanks!
Why not use the UIImagePickerController instead of trying to customize a UIPickerView? It is designed to enable you to allow the user to pick from their library of images if you use the sourceType of UIImagePickerControllerSourceTypePhotoLibrary.
There is sample code on how to use this controller at http://zcentric.com/2008/08/28/using-a-uiimagepickercontroller/
If the images are not from the user's library, then I would suggest you scale the images down to fit the constraints of the UIPickerView, or use a tabelView with the images laid out in it for the user to select.