I’m using a Simplemodal plugin that I got from here: http://www.ericmmartin.com/projects/simplemodal-demos/
I was successful in putting it one of the links on this page: http://tonangi.com/portfolio_test.html (click the View slideshow link).
I am loading up an iframe. I want to do that 2 more times on the same page but I can’t figure out how…
I simply want to load new content based on on the link – so there you see 3 companies, and I should be able to load up new content whenever someone clicks the appropriate link.
Can someone help me out?
Okay, so there are multiple ways you can achieve this and I will show you several.
You can simply put this block of code within your page where you currently have a modal link and see it work.
Read comments from jQuery section to understand what is happening. Keep in mind, ID must be unique, meaning ALL object ID’s on your entire page must be unique for JS to work properly. If you need multiple instances of same behavior, use CLASS. As shown above in example as “Class5” links.
Hope this will be sufficient enough to do what you were trying to do.