SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 31 of 31
  1. #26
    SitePoint Member
    Join Date
    Jul 2012
    Location
    Leicester
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Although this is possible I would call the method a bit of a "hack" and wouldn't really reccomend it.

    AJAX would be a much better solution

  2. #27
    SitePoint Guru
    Join Date
    Sep 2006
    Posts
    731
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by SimplyWebsites View Post
    Although this is possible I would call the method a bit of a "hack" and wouldn't really reccomend it.

    AJAX would be a much better solution
    Would you care to outline the algorithm you would apply?
    Tab-indentation is a crime against humanity.

  3. #28
    SitePoint Member
    Join Date
    Jul 2012
    Location
    Leicester
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Logic Ali View Post
    Would you care to outline the algorithm you would apply?
    My approach would depend on what exactly I am trying to do.

    What are you using the iFrame for?

  4. #29
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by SimplyWebsites View Post
    My approach would depend on what exactly I am trying to do.

    What are you using the iFrame for?
    Apparently it's wrapping a forum of his. When people visit different pages of his forum, he wants the iframe to change height depending on the content on the page inside of the iframe.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  5. #30
    SitePoint Member
    Join Date
    Jul 2012
    Location
    Leicester
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by paul_wilkins View Post
    Apparently it's wrapping a forum of his. When people visit different pages of his forum, he wants the iframe to change height depending on the content on the page inside of the iframe.
    See my approach to this would be to not have the forum in the iFrame anyway!

    Are you doing this because you want a consistent design on your website and forum. If so I'd highly recommend getting your forum templated. Having a forum in an iframe seems like a terrible idea. Firstly you wont be able to link to threads, but there are many other reasons

    I just realised you said in the OP that it was a forum, Totally missed this when I first read it

  6. #31
    SitePoint Member
    Join Date
    Jul 2014
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am trying to utilise the code that you provided to CB Resources In October 2010

    but as yet haven't been able to work out exactly how I use it.

    That is because of course because I am very new to JavaScript design.

    Can I just ask for a little bit of assistance in setting it up correctly

    thank you


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
  •