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

Adding Pop Up Windows

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-31-2011, 10:05 PM
  gtwing's Avatar 
gtwing gtwing is offline
 

Advanced Member
  
Join Date: Jan 2006
Location: Running Springs, CA
Posts: 66
 

Default Adding Pop Up Windows

Does anyone know how to add a simple pop up window on the product page to display additional info? I would like to put in a text navigation menu below the Product Detail like:

info1 | info2 | info3

with each one popping up a window with the info.

Thanks!
__________________
Gary M. Twing
Eagle Mountain Outfitters
eaglemtnoutfitters.com
Version 4.3.0 Gold
4.4.4 in operibus
Reply With Quote
  #2  
Old 11-09-2011, 12:13 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Adding Pop Up Windows

You can integrate Jquery UI -> http://jqueryui.com/demos/dialog/ or http://jqueryui.com/demos/tabs/
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 11-09-2011, 08:00 AM
  gtwing's Avatar 
gtwing gtwing is offline
 

Advanced Member
  
Join Date: Jan 2006
Location: Running Springs, CA
Posts: 66
 

Talking Re: Adding Pop Up Windows

Perfect! Thank you very much!
__________________
Gary M. Twing
Eagle Mountain Outfitters
eaglemtnoutfitters.com
Version 4.3.0 Gold
4.4.4 in operibus
Reply With Quote
  #4  
Old 11-10-2011, 05:36 AM
 
klinetim klinetim is offline
 

Advanced Member
  
Join Date: Oct 2011
Posts: 58
 

Default Re: Adding Pop Up Windows

Hello,

I'm still fairly new to x-cart, and I'd like to integrate some of these jquery elements - but i'm not sure where to put their libraries,
/css/
/development-bundle/
/js/

My first guess is in /include, and then put these lines:

Code:
<link type="text/css" href="/include/css/themename/jquery-ui-1.8.16.custom.css" rel="Stylesheet" /> <script type="text/javascript" src="/include/js/jquery-1.4.4.min.js"></script> <script type="text/javascript" src="/include/js/jquery-ui-1.8.16.custom.min.js"></script>

in the /skin/common_files/customer/main/product_details.tpl template. Then add the widget to any product description where i want it to show up. Does this make sense? Thanks!

EDIT - I mean /skin/common_files/customer/home.tpl ?
__________________
Tim @ K-Line
X-Cart Version 4.4.5
http://klineind.com
Reply With Quote
  #5  
Old 11-10-2011, 10:51 AM
 
klinetim klinetim is offline
 

Advanced Member
  
Join Date: Oct 2011
Posts: 58
 

Default Re: Adding Pop Up Windows

ok, i should have dug more before i made my last post. I see a lot of the functions are already built in. Is there some documentation on an easy way to call a particular jquery function on a single product? thanks!
__________________
Tim @ K-Line
X-Cart Version 4.4.5
http://klineind.com
Reply With Quote
  #6  
Old 11-10-2011, 07:27 PM
 
klinetim klinetim is offline
 

Advanced Member
  
Join Date: Oct 2011
Posts: 58
 

Default Re: Adding Pop Up Windows

anyone have suggestions on how to call an XC jquery widget for a single product? Like the .dialog widget? I can't find anything in the forum or the manual how to easily do this...
__________________
Tim @ K-Line
X-Cart Version 4.4.5
http://klineind.com
Reply With Quote
  #7  
Old 11-16-2011, 10:06 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Adding Pop Up Windows

Could you please clarify what exactly you are trying to achieve?
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #8  
Old 11-17-2011, 06:14 AM
 
klinetim klinetim is offline
 

Advanced Member
  
Join Date: Oct 2011
Posts: 58
 

Default Re: Adding Pop Up Windows

We have several products that require large tables of information. This makes the product details page look quite clunky. But, it's necessary to show the data so the customer can make a decision about whether or not they are buying the right part. So, I'd like to use something like the jquery accordion function to make this data less obtrusive since I can group it into sections. But, I don't need to use it on all of our products, just a few. Is it possible to do this in the x-cart back-end when I'm editing the Product Details? Thanks in advance for your time!
__________________
Tim @ K-Line
X-Cart Version 4.4.5
http://klineind.com
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 08:44 AM.

   

 
X-Cart forums © 2001-2020