tompat — 2013-09-30T18:36:10-04:00 — #1
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.
webcosmo — 2013-09-30T20:52:19-04:00 — #2
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.
tompat — 2013-10-01T07:17:24-04:00 — #3
Can this be done with one variable or will I need one for each link?