Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 13 of 13
  1. #1
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Exclamation I need help with iframes !

    Okay sooo, Here is a Screen shot of what I have so far .



    See the Navigation ?

    I want it to make it so I can click one of them and have the content show up in the iFrame

    Also when you go to the link that i'm going to get, that is to the website, have a main page with information on it or something or a picture i dont know yet, but so its not like it is in the picture . (ABOVE .)

    I realllly need help with this !

    Please someone reply asap .

  • #2
    Regular Coder
    Join Date
    Jun 2007
    Posts
    805
    Thanks
    123
    Thanked 23 Times in 23 Posts
    For the last question:
    If you want to have like a 'welcome page' with only a picture or something, make a html document and name it 'index'. Then it will show up as the main page when you enter your site adress.

  • #3
    Regular Coder
    Join Date
    Oct 2007
    Location
    Glencoe, Ontario, Canada
    Posts
    340
    Thanks
    19
    Thanked 27 Times in 27 Posts
    http://www.htmlite.com/lite021.php

    This link should help you with what you need bud.
    Eric "PitbullMean" Melo
    Always Start your layout with*{border:0; margin:0; padding:0;}
    Be sure to Thank ALL Users who give assistance.

  • #4
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts
    okay but if i do that and name it index and save it into my documents or something how does it show up ?

    gah, this is so confusing but i want to accomplish it sooo bad .



    I need to like learn how to make it so when you click a navigation picture it shows up below!

  • #5
    Senior Coder jerry62704's Avatar
    Join Date
    Oct 2007
    Location
    Springfield, IL
    Posts
    1,100
    Thanks
    13
    Thanked 87 Times in 87 Posts
    Your browser will automatically pick the file "index.htm" (or html) as the first page displayed when someone goes to your site. If you have PHP active, you might name the page "index.php" and there are ways to change it, but the default is what 99% of the sites have.
    .
    .
    ...and gladly would he learn and gladly teach

    Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls

  • Users who have thanked jerry62704 for this post:

    Brandon Beverly (03-06-2009)

  • #6
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by jerry62704 View Post
    Your browser will automatically pick the file "index.htm" (or html) as the first page displayed when someone goes to your site. If you have PHP active, you might name the page "index.php" and there are ways to change it, but the default is what 99% of the sites have.
    Even if I save it just in my documents !?

    the code i have like idk how to make it soo when anyone goes to the website it is just the "index.htm" file .

    i dont know how to make the navigation when clicked show up in the iFrame either!!!


    Helpppp <3

  • #7
    Senior Coder jerry62704's Avatar
    Join Date
    Oct 2007
    Location
    Springfield, IL
    Posts
    1,100
    Thanks
    13
    Thanked 87 Times in 87 Posts
    Don't care for iFrames after using frames back in the mid-90s. But you just upload your main (introductory) file to your server. That file is named "index." with html or htm or PHP as the extension.

    Iframes are discussed here.
    .
    .
    ...and gladly would he learn and gladly teach

    Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls

  • #8
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Exclamation

    Quote Originally Posted by jerry62704 View Post
    Don't care for iFrames after using frames back in the mid-90s. But you just upload your main (introductory) file to your server. That file is named "index." with html or htm or PHP as the extension.

    Iframes are discussed here.
    Alright I still don't understand how to make the iFrames linkable with the navigation buttons .

    If you don't like iFrames, what else could i use ?

  • #9
    Senior Coder jerry62704's Avatar
    Join Date
    Oct 2007
    Location
    Springfield, IL
    Posts
    1,100
    Thanks
    13
    Thanked 87 Times in 87 Posts
    I'm guessing you have to use javascript to change the contents of the iframe dynamically.

    Your purpose is to have another page inside of your page? Or just other content?
    .
    .
    ...and gladly would he learn and gladly teach

    Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls

  • #10
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Exclamation

    Quote Originally Posted by jerry62704 View Post
    I'm guessing you have to use javascript to change the contents of the iframe dynamically.

    Your purpose is to have another page inside of your page? Or just other content?
    What I want is;

    When you Click one of the Navigation buttons I made above the iFrame that I have is, like when i click say "About Me" content will show up in the iFrame not another webpage .

  • #11
    Senior Coder jerry62704's Avatar
    Join Date
    Oct 2007
    Location
    Springfield, IL
    Posts
    1,100
    Thanks
    13
    Thanked 87 Times in 87 Posts
    Going out the door, but you can do that with javascript or css. Depending on your comfort, pick your poison.
    .
    .
    ...and gladly would he learn and gladly teach

    Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls

  • #12
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by jerry62704 View Post
    Going out the door, but you can do that with javascript or css. Depending on your comfort, pick your poison.
    but, i dont know how to code it to make a nav button when you click it to show up in the iFrame ! :'(

  • #13
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    The method you're looking for is the target attribute of the a element. However, this is very bad practice nowadays. It definitely won't help you with search engines. It's so much better all around if you just link to another page.


  •  

    Tags for this Thread

    Posting Permissions

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