 |

OtownAutos
User
Apr 26, 2005, 1:17 PM
Post #1 of 4
(2940 views)
Shortcut
|
|
Checkbox Formatting
|
Can't Post
|
|
Greetings All, I have attached a script that formats checkbox lfields or hfields. Instead of the standard output like: Power Steering, Power Locks, Power Windows, ect. this script allows you more control of the output format. To see how I use the script to format the output look at my example at: www.otownautos.com/listings/l0001.php I use checkboxes for the Additional Features section, one each for comfort, safety, seats, windows, sound system, other. You can change the script to get different outputs but it will give you a starting point to help you out. Hope this helps out enjoy! David Rogers ZYBR media an Olando based web design studio. OtownAutos.com (uses Auto Manager) webmaster@otownautos.com
|
|
Attachments:
|
checkbox.js
(3.17 KB)
|
|
|
checkboxformat.html
(13.6 KB)
|
|
|  |
 |

MikeB
Staff
/ Moderator

Apr 27, 2005, 10:01 AM
Post #2 of 4
(2927 views)
Shortcut
|
|
Re: [OtownAutos] Checkbox Formatting
[In reply to]
|
Can't Post
|
|
Hi David, Thanks for the post! I tried out this script myself and it works really great. I'm sure there are a lot of people who'd love to make use of something like this. Thanks again for posting your script and keep up the good work! Cheers, Mike Briggs - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

tonycook
User
Nov 23, 2005, 10:11 AM
Post #3 of 4
(2180 views)
Shortcut
|
|
Re: [MikeB] Checkbox Formatting
[In reply to]
|
Can't Post
|
|
The script might answer a problem I am having trouble getting my head around. My site needs to have approximately 30 to 35 accessory items, in addition to the standard searchable categories. When I look at the script, it suggests to me that I can repeat the same checkbox numerous times. For example, let's say I have 6 accessories related to electronics, 5 accessories related to safety features, and so on for a total of 5 main groupings of accessories. Can I then, designate 5 checkbox fields (one for each grouping) and repeat each of those checkbox fields for as many times as I have accessories within the group? Tony Cook Searoom Communications, Toronto, Canada www.searoom.com www.boatsell.com www.boatsell.ca
|
|
|  |
 |

MikeB
Staff
/ Moderator

Nov 24, 2005, 11:21 AM
Post #4 of 4
(2149 views)
Shortcut
|
|
Re: [tonycook] Checkbox Formatting
[In reply to]
|
Can't Post
|
|
Hi Tony, Thanks for the post! This JavaScript is actually something that you'll be using wherever you'd like to output any value from any of your checkboxes. This means that if there are a couple of places you'd like to output one of your checkbox values you could definitely do this. I'm not entirely sure I follow your example but I can let you know that you're able to output specific values from various checkboxes on different parts of your _publish_listing.html template file. I hope this helps and if you have any other questions, just let me know! Cheers, Mike Briggs - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
|