Jackson is great, but a bit of a hike to the parks. It's all good of course, but you could consider splitting up a bit and do a couple of nights in Jackson, a couple in the Tetons (there are some nice lodges on the lakes there!), and then a couple of days in the south side of the park (Old Faithful Lodge is awesome if you can do it, or one of the places around the Tetons), a couple of days on the Northwest side (West Yellowstone has some good lodging options) and a day on the Northeast side in Cook City MT. It will avoid you some driving (can be quite trafficky in the summer). Just some ideas - you really can't go wrong, that area is just amazing.
Try it in the winter some time too... It's a weenie dream lol