Author Topic: Manual for PQ Select  (Read 6502 times)

ridwanhabbal

  • Newbie
  • *
  • Posts: 18
    • View Profile
Manual for PQ Select
« on: May 04, 2015, 03:46:12 pm »
Hi,

I find http://paramquery.com/select interesting. However, I couldn't find a manual how to perform the sample. I have downloaded the package from https://github.com/paramquery/select/releases/ but I couldn't know how to install... which js or css files to include. do I have to include other js files or these are sufficient.
The package I downloaded has those files:
bower.json
ChangeLog.txt
GPL-LICENSE.txt
package.json
pqselect.dev.css
pqselect.dev.js
pqselect.min.css
pqselect.min.js
README.md

even the read me file doesn't contain instruction how to install the samples

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Manual for PQ Select
« Reply #1 on: May 04, 2015, 05:27:39 pm »
Thanks for your feedback.

index.htm which shows how to include various dependencies in a web page has been added to the github repository.

https://github.com/paramquery/select/blob/master/index.htm

Hope it helps.

ridwanhabbal

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Manual for PQ Select
« Reply #2 on: May 04, 2015, 06:33:06 pm »
Thanks for your reply. It's helpful.
I was trying to change the themes and I could by change the css reference
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/themes/start/jquery-ui.css" /> 
Two questions here: First, I'd like to have more control on CSS such as changing the font size, color, style. controlling colors more such adding border etc. As you know, maybe sometimes you need a small change to make the website brilliant. so can you support regarding that?
second thing: although currently I'm not planning to change css dynamically without refreshing the page, but if you could provide the js function that will be great.

Thanks in advance
Ridwan

ridwanhabbal

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Manual for PQ Select
« Reply #3 on: May 06, 2015, 11:46:49 am »
Hi,

Could you please provide me some guide lines how to change the css to be look like yours. on your site the select elements look nice, but its not the case when I try the sample. Is there an easy way to do it such as including some css file?
Please advise.
Ridwan

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Manual for PQ Select
« Reply #4 on: May 06, 2015, 02:38:01 pm »
It's the same widget used in the website, nothing special. You may need to set font-size or font-family appropriately. Please share a jsfiddle if you want me to look into your implementation.

I've added a wiki to the repository and added some initial notes about the classes. Please feel free to add your notes to it.

https://github.com/paramquery/select/wiki/Css-customization