Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

SuperiorMassageTherapy

Member
  • Content Count

    2
  • Joined

  • Last visited


Reputation Activity

  1. Like
    SuperiorMassageTherapy got a reaction from JamesDesign in Trouble with code on webpage   
    Thankyou.  Seriously.  
    I try my best to manage this website for my wife and her staff while handling most of the back end of the business, but switching vendors on literally everything the last few weeks has me pulling my hair out.  My day job doesn't allow me to devote the time I would like to dig super deep into all of this and I know enough web design to be dangerous.  I will do some more testing to see what we can do.  I will also pass along the things you guys have pointed out to our vendor.  
    People like you guys ROCK.
  2. Like
    SuperiorMassageTherapy got a reaction from paul2009 in Trouble with code on webpage   
    Thankyou.  Seriously.  
    I try my best to manage this website for my wife and her staff while handling most of the back end of the business, but switching vendors on literally everything the last few weeks has me pulling my hair out.  My day job doesn't allow me to devote the time I would like to dig super deep into all of this and I know enough web design to be dangerous.  I will do some more testing to see what we can do.  I will also pass along the things you guys have pointed out to our vendor.  
    People like you guys ROCK.
  3. Like
    SuperiorMassageTherapy reacted to paul2009 in Trouble with code on webpage   
    This is an issue with the widget code. It is changing the iframe height during the transaction, resulting in the strange effects that you see.
    I recommend placing the code on a page by itself, without the blocks above and below. These may be the cause of the issue (insufficient space) but even if they aren't, the button and text make the UI more confusing.
    Rather than providing the button linking to the other page, why not simply make the /scheduling link take users to the externally hosted site? You can do this by adding a 'link' to the Navigation instead of the page containing the code.
  4. Like
    SuperiorMassageTherapy reacted to brandon in Trouble with code on webpage   
    I'll confirm what Paul says. The height of the iframe is becoming zero (either intentionally or unintentionally) which causes the appearance of scrolling to the bottom (when really what's happening is the page simply shortens).
    Now I'm just some random developer on the internet, but glancing at the widget code, it appears that what's supposed to happen is the height of the iframe is to be reset to a new height and then the iframe sends a message to the parent (via window.postmessage()) to scroll to the desired location. If I had to guess, there's a race condition occurring between the setting of the height (or its animation) and the scrollto function in the parent window context. The "setIntervals/timeouts" in the code support this theory (they might be an attempt by the developers to work around the known race condition). So this isn't really Squarespace's issue. It may, however, be made more apparent when hosted within Squarespace due to exacerbated performance.
    This sort of use of iframes, postmessage and height-/scroll-setting can get very complicated. So again, take my once-over of the code for what it's worth.
    I understand the desire to keep the user experience within your own website/domain. However, I agree with Paul that the UI, as you have it within your site, is relatively confusing. In a case like this, I'd encourage a client to link to the third-party site and forego the complexity and confusion of the iframe (though obviously, I'm not privy to the myriad of considerations and evaluation that lead you to where you are).
×
×
  • Create New...