Jump to content

[NOT A BUG] Cart summary box on ajax order form


Recommended Posts

Hi,

 

I think there is a bug with the floating cart summary box on the ajax order form.

 

It starts to move down before it hits the top of the viewable area, then moves to the top of the viewable area when you scroll to the first header (Choose Product).

 

It happens on my integration and the same problem can be seen on the demo version:

 

http://demo.whmcs.com/order/

 

Thanks

Matt

Link to comment
Share on other sites

This screenshot is from FireFox 3.6.8 and from the demo on your website. Once you scroll down far enough (to the first header), it goes back to the correct position, but above the first header (Choose Product) it moves down the same amount you are from the top of the page.

 

This happens on Mac OS X as well as Windows 7, and in browsers FireFox, Safari, IE and Chrome.

 

It should not start moving at all until it gets to the top of the browser window, but it moves down as soon as you start scrolling.

ajax_order_1.jpg

Link to comment
Share on other sites

I've actually managed to fix it by finding the documentation for jQuery.float and adding "alwaysTop: true" to the master.tpl page and now it works fine:

 

jQuery("#cartsummary").makeFloat({x:"current",y:"current",alwaysTop:"true"});

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated