| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
speed bar/target blank | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
speed bar/target blank
Is there a way of making one of my speedbar buttons open in a new window when it's pushed? My goal is to have a button for my ebay store open a new window and keep my xcart store window open. Is the speed bar the best way of doing this or would there be a better way?
__________________
X-Cart version 4.0.9 Operation system Linux MySQL server 4.0.22-standard MySQL client 4.0.22 My Location: Concord, North Carolina My site is a work in progress by a web newbie so no hard poking please! www.4ClicksGPS.com |
|||||||
#2
|
|||||||||
|
|||||||||
Hi,
I believe, as you only want to do this to one link, not them all, you need to do this from Admin, Speed Bar Management. For the link you need to open in a new window, in the Url section add the following... " target=_blank so for example if you wanted Home to open in a new window, home.php would become home.php" target=_blank Hope that helps, let me know if not. Paul Dodman e-business consultant Lumino Internet luminointernet.co.uk
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
Paul,
I added the tag you mentioned but still does not open in a new window.
__________________
X-Cart version 4.0.9 Operation system Linux MySQL server 4.0.22-standard MySQL client 4.0.22 My Location: Concord, North Carolina My site is a work in progress by a web newbie so no hard poking please! www.4ClicksGPS.com |
|||||||
#4
|
|||||||||
|
|||||||||
OK, well I did try it on my speed bar links and it was fine, but perhaps the link you are using is different.
If you copy and paste the original link and also the result when you used the new code, I could perhaps try and work out what the difference is. Paul Dodman e-business consultant Lumino Internet luminointernet.co.uk
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#5
|
|||||||
|
|||||||
Paul,
It works now. I'll tell you what I was doing wrong. I changed the speed bar in admin which alters home.php. When I went to my url www.4clicksgps.com, it takes me to my catalog/index.html file which wasn't changed because I haven't regenerated the catalog with the changes, it seemed like it didn't work. Anyways, its working and I appreciate your help.
__________________
X-Cart version 4.0.9 Operation system Linux MySQL server 4.0.22-standard MySQL client 4.0.22 My Location: Concord, North Carolina My site is a work in progress by a web newbie so no hard poking please! www.4ClicksGPS.com |
|||||||
#6
|
|||||||
|
|||||||
Quote:
Many thanks Paul, it works for me perfectly
__________________
X-Cart Gold 4.0.14 |
|||||||
#7
|
|||||||||
|
|||||||||
Re: speed bar/target blank
This is also a great way to link in a blog on a retail website. I was trying to figure it out but was screwing up the quotes. Thanks for the tip.
Mark
__________________
Mark in Oregon Xcart Gold version 4.1.8, 4.1.10 Linux MySQL server 3.23.58 Apache 1.3.27 PHP 4.4.2 |
|||||||||
#8
|
|||||||||
|
|||||||||
Re: speed bar/target blank
The solution given here works on the smart menu but not the speed bar.
__________________
X-Cart Gold V4.7.4 (two stores). XPayments 2.1.2 |
|||||||||
#9
|
|||||||
|
|||||||
Re: speed bar/target blank
Thanks! I just tried this with my speedbar & it works perfectly (I'm using 4.3.1).
|
|||||||
|
|||
X-Cart forums © 2001-2020
|