![]() |
creating hyperlinks
Hi All
I'm very new at xcart and have been reading forever trying to work things out. I have the latest version. I need help with Hyperlinks. With my products I want to have the ingredients pop up when you put your cursor over the word ingredient. How do I do this? Including are the ingredients listed in a seperate folder? Please advise simple how to instructions with paths. Thanks in advance Twinster |
Re: creating hyperlinks
Do you have static html files with the ingredients that you want to link to?
|
Re: creating hyperlinks
Do you mean - Have I created 1 complete file with the different product ingredients in it? If so, no. At this stage I have each product with its write up and ingredients in a seperate document. I have been using name editor as I do not know any html code.
Thanks Twinster |
Re: creating hyperlinks
I meant what do you want to pop-up when a user clicks on a link? A static html file that resides on the server somewhere?
|
Re: creating hyperlinks
Yes, thats correct
|
Re: creating hyperlinks
I usually use something like this:
<a href="#" onClick="window.open('files/ingredients/{$product.productcode}.html','','scrollbars=no,res izable=no,width=400,height=300,menubar=no,toolbar= no');return false;" target="_blank"> ingredients</a> That will open a file in the files/ingredients folder that is named for the sku of the product. So if your sku is 100, you would create a file called 100.html and put it in the files/ingredients folder (which you will need to create). Adjust the width and height according to what your html file format is. |
Re: creating hyperlinks
Ok. I will try. Thanks again
|
Re: creating hyperlinks
It worked...thank you so much.
Twinster |
All times are GMT -8. The time now is 06:40 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.