Advanced Iframe Question??? Is this possible?

3 replies
Is there a way to create an iframe of another web page, but only frame a certain portion of that web page? Maybe using pixel points or something?

Or, if anyone is so inclined, can you figure out how I can get these movie times onto my own website?

Cobb Theatres

They're right in the middle of the page...and I cannot find any rss or any other way of doing it.

Thanks!
AL
#advanced #iframe #question
  • Profile picture of the author GuerrillaIM
    Iframe isn't way to go. Get a programmer to write you a script to grab details and display them on your page.
    {{ DiscussionBoard.errors[630032].message }}
  • Profile picture of the author seamusb
    Originally Posted by Allen Graves View Post

    Is there a way to create an iframe of another web page, but only frame a certain portion of that web page? Maybe using pixel points or something?

    Or, if anyone is so inclined, can you figure out how I can get these movie times onto my own website?

    Cobb Theatres

    They're right in the middle of the page...and I cannot find any rss or any other way of doing it.

    Thanks!
    AL
    Simple.

    The frame address is "http://www.cobbtheatres.com/showtimes.aspx?theaterid=8595&date=3/22/2009"

    You need an IFrame to show them that would look something like this

    <iframe src ="http://www.cobbtheatres.com/showtimes.aspx?theaterid=8595&date=3/22/2009" width="100%" height="300">
    <p>Your browser does not support iframes.</p>
    </iframe>

    The only problem is that you will need to append the date ("date=3/22/2009") at the end of the frame address to get it working.

    Some simple Javascript like the one below could be adapted for this purpose:

    var currentTime = new Date()
    var month = currentTime.getMonth() + 1
    var day = currentTime.getDate()
    var year = currentTime.getFullYear()
    document.write(month + "/" + day + "/" + year)

    Hope that helps

    Seamus
    {{ DiscussionBoard.errors[630212].message }}
    • Profile picture of the author Allen Graves
      Originally Posted by seamusb View Post

      Simple.

      The frame address is "http://www.cobbtheatres.com/showtimes.aspx?theaterid=8595&date=3/22/2009"

      You need an IFrame to show them that would look something like this

      <iframe src ="http://www.cobbtheatres.com/showtimes.aspx?theaterid=8595&date=3/22/2009" width="100%" height="300">
      <p>Your browser does not support iframes.</p>
      </iframe>

      The only problem is that you will need to append the date ("date=3/22/2009") at the end of the frame address to get it working.

      Some simple Javascript like the one below could be adapted for this purpose:

      var currentTime = new Date()
      var month = currentTime.getMonth() + 1
      var day = currentTime.getDate()
      var year = currentTime.getFullYear()
      document.write(month + "/" + day + "/" + year)

      Hope that helps

      Seamus
      You rock! I shall try that out today. Thanks so much,
      Allen
      Signature
      Every day I check the obituaries. If I don't see my name there, then I know it's going to be a good day!
      {{ DiscussionBoard.errors[631247].message }}

Trending Topics