Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Does anyone know an example of this? (http://www.mysidiaadoptables.com/forum/showthread.php?t=4639)

Infernette 08-21-2014 09:18 AM

Does anyone know an example of this?
 
Do any of you guys know where an example of a 'check all' button can be found in the script and if they can be modified to check just certain boxes(ie. just ones with a number less than five or greater, something stupid simple that I can modify to my needs).

I don't recall it but I don't have any of the base files in my current access and my site doesn't have anything like it.:veeee:

IntoRain 08-21-2014 02:19 PM

You mean like checkboxes? A check all is usually done with jQuery's .click function. Make a special checkbox for a 'check all' that once it is clicked, checks/unchecks all others checkboxes

Infernette 08-21-2014 06:34 PM

Do you have any examples of this (and maybe know a way to get it to check just eggs, ect?) I know the script is finicky so I'm not sure what will work( I'm not learned with jquery)

IntoRain 08-21-2014 07:43 PM

Hmm maybe this will help http://briancray.com/posts/check-all-jquery-javascript basically when .checkall is clicked, all checkboxes on its fieldset are set to clicked as well. If you put javascript inside Comment() on the .php pages, it will work for that page (example: http://mysidiaadoptables.com/forum/s...ead.php?t=4392 @ part 3)


All times are GMT -5. The time now is 09:32 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.