Forums / All Other Contributions/Addons / Can I make my image links open in the same window rather than a new window?

Can I make my image links open in the same window rather than a new window?

Views: 1,267

Results 1 to 7 of 7
14 Apr 2015, 9:41 PM
#1
cpmacg avatar

cpmacg

New Zenner

Join Date:
Mar 2015
Location:
Sydney, Australia
Posts:
7
Plugin Contributions:
0

Can I make my image links open in the same window rather than a new window?

I prefer product images are opened in the same window rather than a new window when clicked on but I can't find any config option which controls this, so I was wondering if anyone knows what script/mod is required to achieve this?

Thanks

CeePee

14 Apr 2015, 10:21 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Can I make my image links open in the same window rather than a new window?

If you are referring to the product information view larger image then it should not open in a new window but pop up using javascript on top of the page

Zen-Venom Get Bitten

14 Apr 2015, 10:27 PM
#3
cpmacg avatar

cpmacg

New Zenner

Join Date:
Mar 2015
Location:
Sydney, Australia
Posts:
7
Plugin Contributions:
0

Re: Can I make my image links open in the same window rather than a new window?

Sorry my terminology is probably incorrect as I'm a newbie, but you're right it does open in a popup window.
My question is how to make it open in the same window?

14 Apr 2015, 10:51 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Can I make my image links open in the same window rather than a new window?

You want to expand the product image inside the current page? I'm thinking that will throw your styling way off. Why do you want to do this?

15 Apr 2015, 1:01 AM
#5
cpmacg avatar

cpmacg

New Zenner

Join Date:
Mar 2015
Location:
Sydney, Australia
Posts:
7
Plugin Contributions:
0

Re: Can I make my image links open in the same window rather than a new window?

I was thinking it would be smoother if it opened on top of the current window. Not so much expanding into the current window but more like overwriting it.
Though I suspect this would force the end user to press the back button to return to my page and if they close it instead they won't be able to return to my page.
I did say I'm a newbie, I don't really know what I'm doing but I don't like the way the image is opened in a new window.

15 Apr 2015, 2:55 AM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Can I make my image links open in the same window rather than a new window?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

15 Apr 2015, 7:59 PM
#7
cpmacg avatar

cpmacg

New Zenner

Join Date:
Mar 2015
Location:
Sydney, Australia
Posts:
7
Plugin Contributions:
0

Re: Can I make my image links open in the same window rather than a new window?

After reading through several other forums on Lightbox and Slimbox I warily installed Colorbox as per your suggestion.
Your suggestion hit the mark 100%, the result looks fantastic, exactly what I was looking for.
Now I'm Totally Zenned too.
Much appreciated, thank you!!!