Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

creating hyperlinks

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-13-2007, 09:25 PM
 
twinster twinster is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 68
 

Question 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
__________________
Thanks
Twinster
X-Cart Gold v4.1.9
Reply With Quote
  #2  
Old 08-14-2007, 04:36 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: creating hyperlinks

Do you have static html files with the ingredients that you want to link to?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 08-14-2007, 04:42 AM
 
twinster twinster is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 68
 

Smile 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
__________________
Thanks
Twinster
X-Cart Gold v4.1.9
Reply With Quote
  #4  
Old 08-14-2007, 04:43 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 08-14-2007, 04:46 AM
 
twinster twinster is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 68
 

Default Re: creating hyperlinks

Yes, thats correct
__________________
Thanks
Twinster
X-Cart Gold v4.1.9
Reply With Quote
  #6  
Old 08-14-2007, 05:03 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 08-14-2007, 05:06 AM
 
twinster twinster is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 68
 

Smile Re: creating hyperlinks

Ok. I will try. Thanks again
__________________
Thanks
Twinster
X-Cart Gold v4.1.9
Reply With Quote
  #8  
Old 08-14-2007, 05:13 AM
 
twinster twinster is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 68
 

Wink Re: creating hyperlinks

It worked...thank you so much.

Twinster
__________________
Thanks
Twinster
X-Cart Gold v4.1.9
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020