dynamically add content
I am rebuilding my website it has 2 columns, currently the left column has my nav menu. I have changed that to a horizontal drop down. what I would like to do is when a link is clicked it would add images/content to the left column of the page that was clicked. Basically a you may want this also. I am new to jquery but based on searchs that is what i need to use. Also can it run a if or switch because each page would be different.
Have a div or something with id for the image place holder on the left column.
Build a function for the nav cliks. Pass a variable to the function, which will identify which one is clicked.
Using jQuery set the image based on passed variable.
Can this be done with one variable or will I need one for each link?