Results 1 to 3 of 3

Thread: frame/textfield to display contents

  1. #1
    Join Date
    Apr 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default frame/textfield to display contents

    Hey guys.
    im looking for a code that makes a field on the page where the contents can displayed. Like the ones where you get to scroll on the page instead of using the browsers schrollbar.
    Can anyone help me?

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    in your frames (shudder) when you call them from the index.html:

    Code:
     <frame src="left.html" name="leftside" scrolling=yes>
    <frame src="right.html" name="rightside">
    or top/bottom... which ever you are using.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    You could use an <iframe> tag

    also..
    An easy way to access the src is to give it an id:
    Code:
    <iframe id="inpage"></iframe>
    <br><a href="#" onclick="inpage.window.location.href = 'http://www.mamma.com/'">Mamma.com</a>
    - Mike

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
  •