Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Header Title to Anchor Class #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

datavigilante
Copy link

Hello. I love the functionality of the Editable Listview and look forward to further enhancements. I had a case where I had multiple listview instances on a single webpage and wanted to be able to make the headings different colors. I tested applying styling to different tags and it seemed that the proper place to apply styling was to a dynamically generated anchor tag that you can see in Firebug when the page is fully rendered.

Therefore, I entered some simple code that removes any spaces from the header title text (data-title) and adds it as a class to the afore mentioned anchor tag. I updated demo/index.html and demo.css to demonstrate this enhancement.

Thanks again for your hard work in creating the JQM editable Listview.
David

These updates add the header title text (data-title) as a class to the
dynamically generated anchor by jQuery Mobile so that custom styling can
be applied to specific instances of the Editable Listview on a webpage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant