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 Custumizing (https://forum.x-cart.com/showthread.php?t=8193)

rjcbear 06-21-2004 11:15 PM

Speed Bar Custumizing
 
Well good people,

Here is what I am trying to do.

I have created 2 buttons on the speed bar let's call it "A" and "B". What I want this options do is once you click the text a new window will pop-up with the following dimemsion WD=500 and HG=690 for both buttons.

Each options will display different information.

Button A will display an image called heelchart.jpg
Button B will display a HTML page called sizechart.html

How do I do that? or is it much easier to accomplish the same thing else where?

Thanks in advance

Kind regard,
Ricky

abdera 07-19-2004 09:16 AM

You can instead create a static page that will show up under the "Help" box on the left side, you've done this before since you have "Member Benefits" and at least one other page you've added or modified.

ie: Create a static page labeled "What's my size?"

Then you can change the label from "Help" to "Info" or something like that. In your product descriptions you can tell customers to "Click on "What's my size?" button on the left side if you are unsure of your size," or something similar.

This would help you do what you want and leave the speed bar as-is, and no coding is to the speed bar is required.

There's lots of good articles/posts about doing static pages on the site and in the manual already, and I was able to create one with this info (It looks very crude: I must learn a more HTML), but it works like a champ.

Note that when changing the label the "Help" is located in two places that I found: The Label you see on the main store page as the title to the box, plus another if you click on the word "Help" itself in that same box; it takes you to the "Help" zone. You want to change that label also.

By the way cool site :D

rjcbear 07-19-2004 09:33 AM

abdera;

Yes I can do that but I wanted to be on top so every body can see with easy.

I will be putting that information on the bar below the Logo where "search" and "select a language" is located.

Kind regards,
Ricky

abdera 07-19-2004 09:54 AM

Ok, I get want you want I think.

I have a static page as metioned in the last post. I just created a speed bar link to it under the Admin::Speedbar area. I think might do what you want, since when I click on the speed bar label, it takes me to the static page.

However, it is not a pop-up: the customer needs to hit the back button to return to the product listing.

rjcbear 07-19-2004 10:16 AM

do you have a link to that page on your site?

If you do maight I see it.


Thank you for the complement on your first reply. Is getting where I like and that will be it.

Kind regards,
Ricky

QVS 12-01-2004 12:12 PM

does anyone actually know how to make the page pop up from the speed bar?

any help would be greatly appreciated

:D

balinor 12-01-2004 12:35 PM

Well, I can't give you EXACT instructions, but I can tell you how I think it would work in theory! :)

1. You could use javascript....a variation of Boomer's detailed image popup perhaps?

2. You could use the onClick function. I'm not sure how Smarty will interepret this, but the code in a 'normal' link would look something like this:

Code:

<a href="{ImagesDir}/imagename.jpg" onClick="window.open('{ImagesDir}/imagename.jpg','','scrollbars=no,resizable=no,
width=500,height=690,menubar=no,toolbar=no');return false;" target="_blank">


Again, I have not tried this, so it is just an idea. Maybe someone else can chime in here....

shan 12-01-2004 03:18 PM

or something like this

Code:

{literal}
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
{/literal}
<a onClick="MM_openBrWindow('popup_window.php','popupname','width=400,height=275')" >Click Here</a>


balinor 12-01-2004 03:25 PM

See, I knew I had the right idea ;)

EZ 04-27-2005 12:13 AM

New Window
 
Is it possible to only make 1 or 2 speed bar buttons open up in it's own browser window? I want to put a couple of links to my other sites but want them to open in new windows.

Thanks


All times are GMT -8. The time now is 03:14 PM.

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