Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    2
    Member #
    19643
    I created my site in Dreamweaver 8 and use frames. I have 2 areas- the navigation area in one frame and below it- the main body frame. In the navigation area I created a drop down menu. The problem is that the menu drops behind the main frame and you can't see it. I have been looking everywhere online for answers. Is there a way to have this menu popover the main frame? Please help. Also- I am not a programmer so any way to solve this using dreamweaver, etc. would be great. Thanks

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,693
    Member #
    5580
    Liked
    717 times
    The answer is no.

    A frame is just that ... sort of like a window on your house.
    When you look outside your window, at a car, it doesn't get bigger when
    a truck goes by (so you can see the whole truck). It doesn't know how big
    the truck is.

    I would say that you should not use any frames at all.
    But without seeing your website, and not knowing what your website is about,
    I can't judge your use of the frames.

    If you can upload your website somewhere and show us why you need to use frames,
    I might be able to offer a better solution.


  4. #3
    Junior Member
    Join Date
    Aug 2009
    Posts
    2
    Member #
    19643
    Thanks for your response. It is really for nav purposes. the drop down menu has my various styles of invitations listed and I want to easily add/change them at any time. Any ideas? So frustrated! Thanks for your help.

    Quote Originally Posted by mlseim
    The answer is no.

    A frame is just that ... sort of like a window on your house.
    When you look outside your window, at a car, it doesn't get bigger when
    a truck goes by (so you can see the whole truck). It doesn't know how big
    the truck is.

    I would say that you should not use any frames at all.
    But without seeing your website, and not knowing what your website is about,
    I can't judge your use of the frames.

    If you can upload your website somewhere and show us why you need to use frames,
    I might be able to offer a better solution.

  5. #4
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,693
    Member #
    5580
    Liked
    717 times
    Yes,

    Use "PHP includes" to change which navigation appears.

    This will be a problem because you mentioned you're not a programmer.
    But that is the proper solution.

    You'll have to realize that you can't execute PHP scripts on your PC,
    unless you have a server. But you can code with PHP and upload your
    changes to view them online ... so you would sort of be using the text
    editor portion of DW.

    I'll explain how it works anyhow ...

    You use the extension of PHP on your web pages, example, "index.php".

    You create the HTML you need for each menu, and save each one with
    a different name, such as "menu1.php", "menu2.php", etc. These only
    contain the HTML that the menu needs, exactly how you want it to look.

    Then, you upload all of those in the directory where the rest of your site is.

    Now in your "index.php" file, where the menu is supposed to appear, instead
    of using frames, use a normal <div> section. Like this:

    <div><?php include("menu1.php");?></div>

    The file you specify in there will automatically get inserted into that spot
    when your web page is displayed online.

    To change which menu appears, more PHP scripting will be needed, but you
    can get an idea of how the process works.

    A very simplistic explanation, but using PHP is what you'll need to do.
    The key to any dynamic website these days is scripting such as PHP and
    most likely a database (MySQL). A static website where someone has to
    manually edit the content is sort of non existent these days.



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:39 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com