How to make several instances of Nivo Slider in Drupal 7 - drupal-7

I developed a web site using Drupal 7. I use Nivo Slider and it works perfectly for me. I used Nivo Slider for the front page of the site. When I configured the Nivo Slider it's settings are displayed under structure in the Drupal CMS menu. Basically, I have to update images and set transitions and etc.
I have another page where I nee to add a new slideshow, but I don't know how to make another instance of Nivo Slider and use it. I would guess there should be an easy way to handel this.

You can create another instance of the nivo slider block with the MultiBlock module, but the other instance will have the same settings and same images of the original slider block.
You can use the Views Nivo Slider module to create another slider block.

Related

How can I create native like material Design in cordova angular

I am trying to create an android app using cordova where I want to implement material design for that I have created an app using angular material but. It is not working like an app. I have a slider menu which look like android drawer but it do not work on slide click like an android app do. And one more query top bar how to match it like the color of action bar.
Here my question is is it possible to create a look and feel like actual material desing of android?

Master page for Ionic Framework

I use Ionic for my iOS hybrid application,
I want to create a custom header and use a background image for all pages.
I want to know is there any way to create a master page in Ionic + AngularJS for using in another pages?
The answer varies depending on how you've already setup your app. Probably the simplest approach is to use a background image with CSS on the body of the page. That is just one line of CSS, but you'll have to consider how that image works or displays on various device sizes or if your app is in portrait or landscape mode.

How to create multiple nivo slider blocks in drupal 7?

I want to create multiple nivo slider blocks in drupal 7. By default there is just a single nivo slider block available on enabling nivo slider module?
You can create multiple nivo slider blocks using MultiBlock module. But you cant have different slides or different settings for that block as it is a copy of that block

how to set the background color for widget in qooxdoo mobile framework?

I am learning qooxdoo framework and I am going to develop web app on mobile device. However here comes a problem. I do not know how to set the background color for qx.ui.mobile.core.Widget. In terms of qx.ui.core.Widget(Another class, I think this is for desktop application), there are methods to set background color. However, for qx.ui.mobile.core.Widget which is used for developing mobile app, I can find any method in the API reference.
I am trying to do this by 'addCssClass()' method, it works for label and so on, however, it is not working for composite widget. By default, the background image of mobile app is the image used in iPhone group style tableview. However, what I am trying to do is to modify the background image to a pure background color.
I do not know how to accomplish that, can anyone give me some ideas? Thank you!
there are several ways to alter a qx.Mobile widget:
if you use the "getContainerElement()" method, you get the HTML element directly.
There you can set any attribute, you could set in plain HTML, too.
Another possibility is to add a class, as you mentioned: "addCssClass("foo")"
You just have to add your css selector statement to your projects resource folder:
.. resource/ yourproject /css/styles.css
.foo{
background-color:red;
}
or you could even set the style with brute force, through http://demo.qooxdoo.org/current/apiviewer/#qx.bom.element.Style
set()
Now choose your weapon =)

Drupal dynamic module for responsive slideshow

I am currently working on drupal responsive theme.For this I am creating my own custom theme.
For making it responsive I have used twitter bootstrap. I have used carousel plugin for slideshow which works well in html.
The images in the slideshow are static that is I have hard-coded there path.But in drupal I want to choose images dynamically as in wordpress or joomla module.
Is it possible? If it is not than is there any slideshow module for drupal which can solve my problem?
Thanks in advance
FlexSlider is an excellent module for this. Unfortunately it's not quite as configurable as Views Slideshow, but Views Slideshow requires hacking to get it responsive as it inserts width/height attributes directly in the DOM.
if I understood right, try to add the "img-fluid" class to the image and don't set the width for any container

Resources