| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
NEW xMenus - The Ultimate Menu Manager for X-Cart | ||||
|
|
Thread Tools |
#71
|
|||||||||
|
|||||||||
Re: NEW xMenus - The Ultimate Menu Manager for X-Cart
I personally think stickUp, is overkill. I can achieve the same effect with 5-6 lines of jQuery code. If you are looking for an example see http://xcartnext.com
Code:
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#72
|
|||||||
|
|||||||
Re: NEW xMenus - The Ultimate Menu Manager for X-Cart
Quote:
Can you please tell me in which file I need to add above code to achieve StickUp for Xmenu?
__________________
X-Cart: 4.7.7 LIVE Skin:Ultra by xcartmods.co.uk X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9) --------------- Server: Linux php: 5.3 mysql: 5.0.89 ---------------- |
|||||||
#73
|
|||||||
|
|||||||
Re: NEW xMenus - The Ultimate Menu Manager for X-Cart
Thank you mike.Please let me where to add this code in order to achieve that?
__________________
X-cart Platinum 4.6.1 Reboot template |
|||||||
#74
|
|||||||||
|
|||||||||
Re: NEW xMenus - The Ultimate Menu Manager for X-Cart
I don't have Xmenus, so it is hard for me to answer, but I will better explain my code above. Your implementation will be different depending on the names of your container classes and your existing CSS styles.
The basic necessity for a fixed or "sticky" menu is the CSS style position fixed. For instance, consider this code: Code:
So as you see in my JavaScript above, I am assigning a variable to the container element of the menu, the recording it's offset from the top of the page. Next I bind a function to the scroll event. If the scroll level is greater than the defined offset, I add a class of "fixed_menu" to the containing page element. This allows me to write any CSS I want for the menu itself. When I want it to be "sticky", I can use ".fixed_menu" in my CSS hierarchy. Usually besides styling the menu to be wider and fixed, I also like to assign an opacity level so it is partially translucent. Then I take away the translucent effect on hover.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#75
|
|||||||
|
|||||||
Re: NEW xMenus - The Ultimate Menu Manager for X-Cart
I have xMenus on my site - can someone tell me how I can center the menu at the top of the page? It's currently sitting to the left.
__________________
josie ver. 4.7.7 ReBoot CDSEO Pro |
|||||||
#76
|
|||||||
|
|||||||
Re: NEW xMenus - The Ultimate Menu Manager for X-Cart
Hi Josie
Not sure if this is the right way but I did get it to work by enclosing the xpos in a div and giving it an id then adding this css to the theme css file <div id="ptpromo">{$xmr_pos_2}</div> then in skin/common_files/modules/TXS_XMenus_R/Menu theme/themeVariant.css #ptpromo ul{ width:100%; margin:0 auto; text-align:center; } #ptpromo ul li a span{ color:#014d90; } However in the latest version of the site it's not working. here it is working (The white menu with the same day dispatch etc) http://www.poshtights.com/PTnew/home.php?shopkey=singap Hope that's some help Sue
__________________
X-Cart DB Version: 4.7 GOLD 3rd Party Addons: XMenus Responsive XBanners2 Skin: Fashion Walk |
|||||||
|
|||
X-Cart forums © 2001-2020
|