Solved

jquery mobile listview press state

Posted on 2013-01-08
5
562 Views
Last Modified: 2013-02-04
Hello Experts,

I am using the jquery-mobile for a simple mobile website.
I tried the best i can to know how is it possible to change the gradient blue color when you press on the listview button.

<ul data-role="listview" data-theme="d" id="home-listview">

Open in new window


When you press one of the listview buttons the color is gradient blue and I am trying to change this state specifically!

can someone help?
0
Comment
Question by:Refael
  • 3
  • 2
5 Comments
 
LVL 18

Expert Comment

by:dj_alik
ID: 38757777
you can use theme roller for jquery mobile-> active state to build new active state behavior for listview button element.
http://jquerymobile.com/themeroller/
0
 

Author Comment

by:Refael
ID: 38758131
Hi dj_alik,

That's not the active state of the button as tried to override the style using custom css. (e.g. "ui-button-active-d").
0
 
LVL 18

Expert Comment

by:dj_alik
ID: 38758170
you can import your current css to theme roller and modify it,,,,
0
 

Accepted Solution

by:
Refael earned 0 total points
ID: 38834636
Well i just needed to find the right selector in order to change this state of the button. I found it. Anyway thanks.
0
 

Author Closing Comment

by:Refael
ID: 38850405
as posted before.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Recently, we decided that in order to stay competitive in today's IT world, we were going to have to develop and deploy a mobile app for our users and do it quickly. We felt that we were already behind the curve. Users of technology today are mov…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now