Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3724170
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T06:32:33+00:00 2026-05-19T06:32:33+00:00

Summary: I’d like to display a shopping cart from another domain underneath my fixed

  • 0

Summary:

I’d like to display a shopping cart from another domain underneath my fixed content in my page – and have the scrollbars come out properly.

Details:

I need to display a shopping cart from a vendor within a page on “my” site with “my” header on top. (Eventually the shopping will all be in a subdomain but not now, sigh.) The header is a fixed height. The shopping cart pages vary in height as you navigate within that frame.

I’ve tried frames and iframes and had cross-browser issues with the iframes. I’m only testing four configurations, Windows/IE, Windows/Firefox, Mac/Safari and Mac/Firefox.

Right now I am using a frameset with two frames, one containing my fixed-height header page, the other containing the external page. This does work – the one issue is that when a scrollbar appears it (of course) only appears on the bottom frame.

This will do and the client isn’t very sophisticated but it bugs me.

If I use IFRAMES, I find I need to sprinkle height: 100% and overflow-y: auto in various places – and yet I still cannot avoid either one of two unacceptable issues that appear in at least one of the browser/OS combinations…

  1. The combined content is larger than the window, but no scrollbar appears.
  2. An inner scrollbar and an outer scrollbar both appear.

Any hints appreciated!

EDIT:

Thanks for the work – but I don’t think I conveyed the issue correctly.

I’m not using frames for layout – I wish simply to make a page framing something on another site (that hosts the shopping cart and whose URL should not be exposed).

Frames “work” – BUT having an interior scrollbar on the second frame and no scrollbar on the whole page is definitely wrong behavior. My client won’t know this but it’ll look amateurish to people seeing the page.

I don’t see quite how a server-side include or CSS would do it and I know both fairly well. If I used the server side include, how would links internal to the shopping cart work? I’d leave my site, correct?

Summary: A shopping cart hosted on another site, embedded on my content page.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T06:32:35+00:00Added an answer on May 19, 2026 at 6:32 am

    Don’t use frames, if the user does command + click then the product will open in new window and your frame will disappear.

    One feasible solution I see here is with Javascript:

    1. Load the page via $.ajax
    2. redirect all clicks so that it loads in ajax window by

      $('iframe a').on('click',function(){
      
          // load the product via AJAX
      
      });
      
      1. make sure height of Div is not fixed so that it expands automatically and scrollbars are there only on window.

    This is best way I could think of keeping the integration seamless while hiding the url

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Summary: I want to display a value (in a text box) stored in another
Summary: I have a bunch of C functions I have to call from C#.
Summary: I have passed the name of the id select tag into an Array.
Summary : is there a way to get the unique lines from a file
Summary I have been looking at historical Australian Rules outcomes using excel with an
Summary: web page has a few fields to allow the user to enter payments.
Summary I'm repurposing Apple's Page Control project. In loadScrollViewWithPage:, the view controllers that I'm
Summary: I am pulling a list of user IDs from a members transaction table
Summary I have a web-application with more than 5 themes. Each themes covers a
Summary: I'd like to view my text in vim with a small bit of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.