PeteClimbs Posted May 22, 2013 Share Posted May 22, 2013 I'm doing a travel blog and want to enable viewers to be able to click on a small image and see a bigger one. I now use an anchor tag with target _blank which causes the large photo to be shown on a separate tab. This, in turn requires the viewer to manually delete the tab(s). I would like to use the method I see on many web pages where the blog page stays visible, but "grayed" out, while the large image is shown in the middle of the window. The user then has to click something (or press Esc key) to get back to the main page. Can anyone guide me in the right direction? TIA,PeteP.S. I'm using HTML5, jQuery (just a beginner) and js. Link to comment Share on other sites More sharing options...
newseed Posted May 22, 2013 Share Posted May 22, 2013 If you are using Wordpress you can check the plugins section and search for a plugin. I would try 'image popup' in the plugins search. If you not using Wordpress then you might checkout Highslide.com. I find this quite good and easy to implement. It's fully supported across all browsers. Link to comment Share on other sites More sharing options...
MarkT Posted May 31, 2013 Share Posted May 31, 2013 I'm doing a travel blog and want to enable viewers to be able to click on a small image and see a bigger one. I now use an anchor tag with target _blank which causes the large photo to be shown on a separate tab. This, in turn requires the viewer to manually delete the tab(s). I would like to use the method I see on many web pages where the blog page stays visible, but "grayed" out, while the large image is shown in the middle of the window. The user then has to click something (or press Esc key) to get back to the main page. Can anyone guide me in the right direction? TIA,PeteP.S. I'm using HTML5, jQuery (just a beginner) and js.PrettyPhoto It's what most people use, and it allows a selection of different options. Link to comment Share on other sites More sharing options...
DizzyDan Posted June 3, 2013 Share Posted June 3, 2013 You need a Lightbox Plugin or if your gonna code it yourself, just google search "lightbox" 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