jackdaw59 — 2013-10-08T14:37:31-04:00 — #1
When I click on a thumbnail the larger image appears in a new page. How do I stop it from doing that and making it open in the same page in a specified position.
At the moment I can hover over a thumbnail and make the larger image appear nearby, but I'm stuck when it comes to clicking on a thumbnail.
Any help will be greatly appreciated.
stevie_d — 2013-10-08T14:49:40-04:00 — #2
Are you talking about your own website, or a problem that happens in general when you're looking at other people's websites?
dresden_phoenix — 2013-10-08T16:12:09-04:00 — #3
Look check to see if your anchor tags' (links) target attributes are set to target="_blank", make sure it's NOT. hope that helps.
jackdaw59 — 2013-10-09T04:42:36-04:00 — #4
This is happening in my own website, due to my lack of understanding of HTML, CSS etc.
jackdaw59 — 2013-10-09T04:45:11-04:00 — #5
I have checked that. No change no matter what it is set to or if it is omitted.
stevie_d — 2013-10-09T07:46:40-04:00 — #6
jackdaw59 — 2013-10-09T08:15:33-04:00 — #7
I am still building my website so I cannot give you a link to it. I could copy a page from it if that would be of any use.
ralphm — 2013-10-09T08:50:15-04:00 — #8
It sounds like you just need to install a script for doing that. There are plenty of nice ones, like http://www.digitalia.be/software/slimbox2. See if that does what you want.
If you want to keep the hover effect too, you might need some kind of custom script. There will also be some way to do this with CSS, but it's not going to work in all browsers.
jackdaw59 — 2013-10-09T09:00:17-04:00 — #9
Thank you for telling me about that. It looks interesting. I shall investigate.