Results 1 to 6 of 6

Thread: html iframe

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Location
    India
    Posts
    310

    html iframe

    i have website with simple iframe

    top html
    left html
    right html
    content html
    and bottom html

    I bound all these in index.html ....it works fine....

    prb if anyone call top.html then it will open only top.html file.

    If anyone call top.html then it should get index.html only.

    Is there any way out?

    sorry, this is not asp.net prb bt use to post here...
    Sagar
    VB6, VB.net,C#,ASP, ASP.net MSSQL, MYSQL

  2. #2
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: html iframe

    Hello,

    I agree that this probably isn't the best place to ask this question.

    Are you actually using ASP.Net, or are you doing a straight up HTML page?

    Gary

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Location
    India
    Posts
    310

    Re: html iframe

    sorry Gary..... these are html pages....
    Sagar
    VB6, VB.net,C#,ASP, ASP.net MSSQL, MYSQL

  4. #4
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: html iframe

    Hello,

    In which case, I would suggest that your question would be better asked in another Forum.

    I will get that moved for you just now.

    Gary

  5. #5
    Frenzied Member
    Join Date
    Apr 2009
    Location
    CA, USA
    Posts
    1,516

    Re: html iframe

    It sounds like you're talking about frames (as opposed to iFrames - there is some difference between them), and no, there is no way [through HTML alone] that you can restrict the source pages to appear only in the context of their parent frameset. But it's possible that there's a Javascript solution.

    Frames are pretty much dead in modern web development though - such that they are being obsoleted in HTML 5. They've got a lot of drawbacks and not much benefit to compensate. Consider ditching them if you can.

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Location
    India
    Posts
    310

    Re: html iframe

    thanks samba... if it is possible through js then fine...let me know how??
    Sagar
    VB6, VB.net,C#,ASP, ASP.net MSSQL, MYSQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width