X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   speed bar/target blank (https://forum.x-cart.com/showthread.php?t=12620)

jclick 03-05-2005 09:16 PM

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?

pauldodman 03-06-2005 01:04 AM

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

jclick 03-06-2005 02:55 AM

Paul,
I added the tag you mentioned but still does not open in a new window.

pauldodman 03-06-2005 03:27 AM

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

jclick 03-06-2005 03:39 AM

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.

Cya 11-16-2005 12:44 AM

Quote:

Originally Posted by pauldodman
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


Many thanks Paul, it works for me perfectly

markvo 03-28-2008 05:49 PM

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

jcjenkins 04-15-2010 11:26 AM

Re: speed bar/target blank
 
The solution given here works on the smart menu but not the speed bar.

TheGardenBath 05-09-2010 06:06 AM

Re: speed bar/target blank
 
Thanks! I just tried this with my speedbar & it works perfectly (I'm using 4.3.1).


All times are GMT -8. The time now is 10:14 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.