I’m trying to switch iFrame source when the user clicks on action link but its not working.. Is there another way maybe jQuery?
here is my working pen http://codepen.io/htmlmainiac/pen/dbrGj
@Htmlmainiac, how would I do this if there were multiple links?
You can also give your iframe an id and your link that id as target:
I was actually giving the a href a class therefore I can have the links point to different “sites”. But I don’t know how to modify the JS so it would allow multiple links.
My website works entirely on an iframe. [My Website](http://reallycoolstuff.net/PROJECTS/JV/ “”)
@Jarolin and @CrocoDillon, that is actually easier haha THANKS!
Ill update the pen for that
You must be logged in to reply to this topic.