taaron12 Posted February 15, 2010 Report Share Posted February 15, 2010 (edited) 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! Edited February 15, 2010 by taaron12 Link to comment Share on other sites More sharing options...
Ingolme Posted February 15, 2010 Report 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 Report Share Posted February 16, 2010 (edited) 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. Edited February 16, 2010 by taaron12 Link to comment Share on other sites More sharing options...
ShadowMage Posted February 16, 2010 Report Share Posted February 16, 2010 (edited) 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. Edited February 16, 2010 by jkloth Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now