Results 1 to 2 of 2

Thread: getElementbyid script to place html files into a div tag

  1. #1
    Join Date
    Jul 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default getElementbyid script to place html files into a div tag

    i read somewhere that you can use a script with getElementbyid/innerHTML commands to place an external html file into a div tag with an ID. I tried the suggested code to no avail. I would just use an iframe by itself but you have to define sizes and I want the html files called upon to just take their full size on the main page. so, if page B is longer than page A, page B makes the entire site longer.

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

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
  •