Welcome to TalkGraphics.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2013
    Location
    Miami, FL U.S.A
    Posts
    34

    Default Embed a fixed area of a website

    I know how to embed a website, but what I need is that the visible area i want remain fixed in the screen, any help welcomed

  2. #2
    Join Date
    Aug 2010
    Posts
    533

    Default Re: Embed a fixed area of a website

    You can't change the css of a web page within an iframe... But you could cover the iframe with an image that has a transparent area revealing the part of the iframe you want shown. You may need to add scrolling="no" to the iframe code

  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,835

    Default Re: Embed a fixed area of a website

    For this code
    HTML Code:
    <iframe src="http://www.google.co.uk" width="100%" height="100%" frameborder="0" scrolling="auto" name="xara_iframe" ><p>Your browser does not support iframes.</p></iframe>
    You would change scrolling="auto" to scrolling="no".
    If you have to position the embedded page to a particular scolled position you would need something like a placeholder with
    HTML Code:
    <script>function scrollWin(){window.scrollTo(250,150);}</script>
    Finally, I would put a 99% transparent frame over the embedded page to prevent any clicking and cursor movements.

    Acorn

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •