Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
John Levy
1,451 PointsHow to make a link open straight away
How do you make a link open straight away without going to another page to click on first? Right now when I click on the image it takes me to another text link and then when I click that link it will open. How do I make it open without having to click the text link? So I guess my question is what causes it to go to the text link first so I can remove that so it opens straight away as I click the image. Thanks
3 Answers
John Levy
1,451 PointsI want codepen two to open up whewn they click on the image in code pen one. Right now when I click on the image it takes the user to a text link (SELECT) whocih opens the box when the user cloicks the select link. How can I make it open up straight away when the user clicks on the image without clicking on the text link? Thanks
code pen one-http://codepen.io/Johned22/pen/rWaLPo codepen two- http://codepen.io/Johned22/pen/KNwdwW
Sue Dough
35,800 PointsLike this https://codepen.io/anon/pen/aBzEwz ? Is that what you want?
John Levy
1,451 PointsYes but it still goes to the "SELECT" text first. that is the problem. I want it to open without having to clcik the "SELECT" text
Sue Dough
35,800 PointsSue Dough
35,800 Pointspost your code