Need help with IFRAME.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bigmath
    Confirmed User
    • Mar 2003
    • 884

    #1

    Need help with IFRAME.

    Hi Guys!

    I need help with IFrame. I try to build my website www.adultfreetgp.com using some IFrame. If you click on Amateur they load on another page but I don't want that. I want the page to be load on the same as the index page. Can someone help me please?

    Thanks!

    Bigmath
    Adult Webmaster Empire
  • bigmath
    Confirmed User
    • Mar 2003
    • 884

    #2
    Also look what Anal do. Can someone help please?

    - OK Anal do the samething of Amateur now.
    Last edited by bigmath; 01-20-2010, 06:45 PM.
    Adult Webmaster Empire

    Comment

    • GetInSpace
      Confirmed User
      • Jan 2008
      • 123

      #3
      Here is an iframe example:

      <iframe src ="http://www.yoursite.com/blog/index.php" width="900" height="900">
      <p>Your browser does not support iframes.</p>
      </iframe>



      Play with the width and height to get the look you want.
      www.getinspace.com

      Comment

      • CodeR70
        Confirmed User
        • Jul 2009
        • 364

        #4
        That is because you set the target.

        Code:
        <a href="amateur.php" target="amateur">AMATEUR ~</a>
        The browser is looking for a target "amateur" (frame or window) and if it doesnt find it it creates a new window.

        If you remove the target attribure then it will probably work. You can also set it to "_top". This is the "top" or main frame of the browser. Like this:

        Code:
        <a href="amateur.php" target="_top">AMATEUR ~</a>
        If you meant to set the title (which is showed as a tooltip in the browser) then you should do this:

        Code:
        <a href="amateur.php" title="amateur" target="_top">AMATEUR ~</a>
        For more information see: http://www.w3schools.com/html/html_links.asp

        Hope this helps. Good luck with your site.

        Comment

        • bigmath
          Confirmed User
          • Mar 2003
          • 884

          #5
          I understand that but why each time it load on another page? I don't think the problem is the width and height??
          Adult Webmaster Empire

          Comment

          • bigmath
            Confirmed User
            • Mar 2003
            • 884

            #6
            Ok thanks Code... Thanks GetInSpace also ;-)
            Adult Webmaster Empire

            Comment

            • bigmath
              Confirmed User
              • Mar 2003
              • 884

              #7
              It's working perfectly!! Thank you very much!!
              Adult Webmaster Empire

              Comment

              Working...