Results 1 to 4 of 4

Thread: Menubar in I-frame
      
   

  1. #1
    lawnman777's Avatar
    lawnman777 is offline First Sergeant
    Join Date
    Mar 2006
    Location
    statesboro Georgia
    Posts
    83

    Default Menubar in I-frame

    I had followed directions by navaldesign on how to use inline frames to navigate on your website. but I can't seem to get the frame to be transparent when veiwed or published. Does anyone have an idea how to acomplish this. the origanal post of directions was here http://www.vodahost.com/vodatalk/blu...r-i-frame.html

  2. #2
    Join Date
    Oct 2005
    Location
    England, UK
    Posts
    4,207

    Default Re: Menubar in I-frame

    The only method I know is the one mentioned in Naval's instructions. There is a piece of code needed for both parts - the i-frame page itself AND the page that the contents are on. Below is an extract showing both pieces of code and where they should be inserted:

    Now, we will put our menu page OVER the other pages. But we first have to make the background transparent, so it won’t cover the page content. To do this, copy the following code:

    <style type="text/css">
    body {background-color: transparent}
    </style>

    Then go in Page html, click on “Between Head” tag, and paste the code in the window.
    Save your page with an obvious name like “menu”. Then go on and PUBLISH IT.

    IMPORTANT!! DON’T “ center in browser ” THE Menu Page

    Now let’s go to the next step. Put the menu in the other pages.

    Create your pages exactly as you want them to appear. Leave space for the menubar. If this helps you, temporarily copy- paste the menu in the page, so you have a reference on how your page will appear with the menu in place, then, before saving, delete the menu. In coping the menu in the page, don’t use the right click “paste”, nor the “Edit” >”Paste” command from the Toolbar. Use the Paste icon in the Toolbar. This will paste whatever you have copied in the same exact position where it was in the provenience page.

    My own index page is made this way. The index page is:

    http://www.navaldesign.info

    and the page without the menu and the header is

    http://www.navaldesign.info/Tips/homepage_ita.html

    Now let’s see how we put the menu in our page. Of course this will only happen when we preview or publish the page.

    In your page, create an I-frame. It has to be big enough to contain the whole menu. I usually make it the same size as my whole page, but you can make it the same size of your menu or header etc.
    Double click the frame, to edit it, and make it non scrollable, and with no border. Give it as default URl, the menu page URL, so when the page loads, it will automatically load the menubar in the i-frame. Put the frame INFRONT OF ALL THE OTHER PAGE CONTENT. If you have followed the procedure as described, the I-frame is already infront of all the other stuff.
    Please note that at this point the I-frame covers all or part of your page. Don’t worry, now we are going to make it transparent.
    To do this, you need to copy the following code:

    allowtransparency="true" background-color="transparent"

    Right click on the I-frame, chose Object HTML, click on “Inside Tag” and paste the above code in the window. At this point your i-frame has become transparent. Attention! Transparency is only visible in Preview or when published. In the original BV screen, it appears whte, SO IF YOU WANT TO EDIT THE PAGE, PUT THE FRAME IN THE BACK, EDIT, THEN BRING THE FRAME INFRONT AGAIN, AND SAVE THE PAGE. Publish it.

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  3. #3
    dougnez's Avatar
    dougnez is offline Brigadier General
    Join Date
    Aug 2006
    Location
    Midwest USA
    Posts
    1,769

    Default Re: Menubar in I-frame

    Hi... uncheck.. show border.. the frame will be invisible.... Doug

  4. #4
    Join Date
    Oct 2005
    Location
    England, UK
    Posts
    4,207

    Default Re: Menubar in I-frame

    Quote Originally Posted by dougnez
    Hi... uncheck.. show border.. the frame will be invisible.... Doug
    D'oh. I think I misunderstood the question. Lol

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49