+ Reply to Thread
Results 1 to 3 of 3

Thread: question: iFrames

  1. #1
    redlack is offline x10Hosting Member redlack is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    12

    question: iFrames

    no not Frames but iFrames notice the i in front.

    The question is does anybody use them, what do you think of them, are they any better then regular "Frames"?
    <iframe src="test.htm" name="test" width="100" marginwidth="5" height="200" marginheight="10" align="middle" scrolling="No" frameborder="0"></iframe>
    I've used them before and DW CS3 has a option to insert one...
    Last edited by redlack; 09-15-2007 at 03:36 PM.

  2. #2
    Miss-tisdale fan is offline x10Hosting Member Miss-tisdale fan is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    9

    Re: question: iFrames

    I have, I like them. I haven't used frames.

  3. #3
    Pingy's Avatar
    Pingy is offline x10Hosting Member Pingy is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    46

    Re: question: iFrames

    Well, one's view of inline frames depends, I suppose, on what one's needs are. They can be used for repeated content inclusion if one doesn't have access to JavaScript includes or any server-side language. They can also be used intuitively to retain data that a user submits; again, though, this is only in the instance of not having access to better solutions.

    Speaking from a design standpoint, the only real use of inline frames is to include content from a seperate file onto multiple pages. As I've stated, though, there are better ways to do such a thing, so inline frames (by themselves) -- in my opinion -- serve only one, entirely obsolete purpose.

    When in combination with AJAX (Asynchronous Javascript and XHTML), though, they can serve a much better purpose. When using AJAX to pull the contents of a remote file on your server, it stores this data in a property of the XMLHTTP object one creates to use AJAX called responseText (xmlHttp.responseText); the catch, though, is that this data is only available within the scope of the function in which it's included. An excellent workaround for this, though, involves a hidden iframe, which you use to write the response text to and call it from whenever you might need it.

    Hope I've shed some light on this powerful but slightly out-of-date tag...

+ Reply to Thread

Similar Threads

  1. SQL Question
    By DizzyTechnology in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 01-16-2007, 07:56 PM
  2. An urgent question on ads to the admin/x10hosting CEO
    By lionheart8 in forum Free Hosting
    Replies: 3
    Last Post: 11-03-2006, 12:45 PM
  3. Simple Ad Question
    By Death in forum Free Hosting
    Replies: 4
    Last Post: 02-14-2006, 04:46 AM
  4. Answer a question/Ask a question
    By humphrey in forum Off Topic
    Replies: 29
    Last Post: 11-26-2005, 07:06 PM
  5. Mambo question
    By MtReload in forum Free Hosting
    Replies: 5
    Last Post: 03-20-2005, 10:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers