Try this section of this document from Cisco:
TITLE: Assigning the Switch IP Address and Default Gateway
I think the VLAN issue is not going to be a problem. All you have to do is set an IP address on the switch and point the switch to the IP address of the default gateway, in this case the Linksys router. I’m sure you know, but you will have to have the clients pointing to the same gateway (the Linksys router) as well. All traffic on both VLANs going outside your little network should be sent to your router, and your router pick it up from there.
Test it out, see what happens.
how can configure a managable switch