i want to hide few quick launch navigation links for visitors but it should be visible to members and owners in SharePoint foundation 2010.
You could wrap the Quick Launch with the SPSecurityTrimmedControl and configure Permissions so that the Quick Launch is visible only to users with Edit Permissions.
You can accomplish this easily using SPServices and CSS.
Add the script for including the Jquery file in your master page and include the following code to get the group name of the person logged in.
Inserting css styling above would hide individual links for people from different groups.
SharePoint Foundation does not offer any built-in way to show/hide single quick launch links based on SharePoint group members. To accomplish something like that you need to develop a custom navigation provider on your own to replace the built-in one.
The easiest way is to control permissions on the source list. If a list called "Drafts" is only open to contributors, then visitors won't see it in the QuickLaunch.
If you completely remove permission of a certain group for the items you do not want them to see in the quick launch, it will reflect accordingly.
Supposed i do not want the visitors to see my doc lib, go to permission of the doc lib and remove that group. If there is a link for the doc lib in your quick launch, they will no longer be able to see it, while the others will. Much easier than involving CSS. To do this you will have to break the inheritance connection between the doc lib permissions and the parent site.