Results 1 to 5 of 5

Thread: Help needed

  1. #1
    Join Date
    Feb 2009
    Posts
    10
    Tokens
    0

    Default Help needed

    Im completely hopeless at this.

    I have a website http://www.mischievousmousery.co.uk/

    But how do i make it so when you click the navigation buttons only the contents part changes not the whole page??

  2. #2
    Join Date
    Apr 2008
    Location
    Derby
    Posts
    4,668
    Tokens
    262

    Latest Awards:

    Default

    Quote Originally Posted by i3yrni View Post
    Im completely hopeless at this.

    I have a website http://www.mischievousmousery.co.uk/

    But how do i make it so when you click the navigation buttons only the contents part changes not the whole page??
    Your going to need to use iFrames:

    In the content box place the code:

    HTML Code:
    <iframe src="index.html" name="iframe" scrolling="no" frameborder="no" height = "100%" width = "100%">
    </iframe>
    index.html can be changed to whatever you want to be present in the content box when the user first opens the website.

    the links should now be:

    <a href="index2.html" target="iframe">Text</a>

    I think, thats from memory :L

    If it doesnt help, then google iFrame HTML or something alike Good luck!
    Back for a while

  3. #3
    Join Date
    Feb 2009
    Posts
    10
    Tokens
    0

    Default

    Cheers how to i change the backgroud colour so it matching the website?

  4. #4
    Join Date
    May 2006
    Location
    Walsall, UK
    Posts
    128
    Tokens
    0

    Default

    Quote Originally Posted by i3yrni View Post
    Cheers how to i change the backgroud colour so it matching the website?
    From memory of about 2-3 years ago I think you should add:

    allowtransparency="yes" to your iframe tag..

    so it becomes

    HTML Code:
    <iframe src="index.html" allowtransparency="yes" name="iframe" scrolling="no" frameborder="no" height = "100%" width = "100%">
    </iframe>
    and then add this within the <head> tags of the page you are going to load into the iframe...

    HTML Code:
    <style type="text/css">body { background: transparent; </style>
    And that should do it I think...

  5. #5
    Join Date
    Feb 2009
    Posts
    10
    Tokens
    0

    Default

    right thank you

    IVe figured it out now got a little confused but was their in the end

Posting Permissions

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