taaron12 Posted February 15, 2010 Share Posted February 15, 2010 Hi guys.I'm wondering about the Target Attribute. On the site, it says it specifies where to open a document. Does that even include Divs? So, if I had a little gallery set up, where it was a list of images on one side, and an open div to the next. Could I use the target attribute to display the clicked on images in that open div? If not, what would you recommend reading into next to figure that aspect out?Thanks! Link to comment Share on other sites More sharing options...
Ingolme Posted February 15, 2010 Share Posted February 15, 2010 The target attribute is deprecated. It was used to open links inside frames or in another window. Link to comment Share on other sites More sharing options...
taaron12 Posted February 16, 2010 Author Share Posted February 16, 2010 The target attribute is deprecated. It was used to open links inside frames or in another window.Ahh, thanks. I guess in the meantime I'll still with my current photo pages and have them open in a new window. Link to comment Share on other sites More sharing options...
ShadowMage Posted February 16, 2010 Share Posted February 16, 2010 So, if I had a little gallery set up, where it was a list of images on one side, and an open div to the next. Could I use the target attribute to display the clicked on images in that open div? If not, what would you recommend reading into next to figure that aspect out?You could use JavaScript to change the src property of an img inside your div. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.