Jump to content

crmamx

Members
  • Posts

    417
  • Joined

  • Last visited

Posts posted by crmamx

  1. Another update for late comers.

     

    Today is yesterday's tomorrow so most links working.

     

    Changed the links menu size.

     

    Think I will leave the menu box colors the way they are. Opinion please.

     

    Vote on header on home page: Bay Area Remote Control Society:

     

    Line 1, 2, 3 or 4.

     

     

  2. Check out the site now. Got to hook up the sub links....tomorrow.

     

    Don't like the colors either. The original ones were best. Some colors displace the sub menu far right...crazy.

     

    Don't like the size boxes either. Still got plenty to work on.

     

    Cheers.

  3. Update:

     

    Finally!!!!!!!!!!!

     

    Got the vertical drop down menu to work. The drop down links don't work yet...tomorrow.

     

    Don't like the colors. Fooled with it a little and some colors displace the sub menu far right. Want to get back to the original colors. Don't like the size boxes either.

     

    Anyway, proceed with my grade.  8)

  4. What do you think about this for consolidation?

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" >
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    
            <title>menu</title>
    <style type="text/css">
        /*-----------start supermenu ----*/
    body {
        behavior: url(csshover.htc);
    }
    div#supermenu a {
        color: #000;
        text-decoration: none;
    }
    div#supermenu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        width:200px;
    }
    div#supermenu ul li {
        font: bold 11px/16px arial, helvetica, sans-serif;
        height:100%;
        background:#ff8b8e;
        border-bottom:1px solid #fff;
        position: relative;
        float:left;
        width:100%;
    }
    div#supermenu ul li ul li{
        background:#ffcf8b;
    }
    div#supermenu ul li a{
        display:block;
        padding: 2px 3px;
    }
    div#supermenu ul li a:hover {
        color: #a00;
        background: #ffd3d4;
        border-right:1px solid #fff;
        border-left:1px solid #fff;
    }
    div#supermenu ul li ul li a:hover{
        background: #ffedd3;
        border-left:1px solid #fff;
    }
    div#supermenu ul ul {
        position: absolute;
        top: 0;
        display:none;
    }
    div#supermenu ul li:hover ul{
        display: block;
        left:200px;
    }
    /*--- end supermenu  ----*/
    </style>
        </head>
        <body>
        <div class="content">
    
    
    </div>
    <div id="supermenu">
    <ul><!-- start ul 1 -->
        <li><a href="index1.php?page=home">Home</a></li>
        <li><a href="index1.php?page=weather">Weather</a></li>
        <li><a href="index1.php?page=links">Links</a></li>
        <!-- ===================== Dropdown item #1 =========================== -->
        <li>
            <a href="#">Videos</a>
            <ul>
                <li>
                    <a href="#">Amazing 3D</a>
                </li>
                <li>
                    <a href="#">Glenn's B36</a>
                </li>
                <li>
                    <a href="#">B52</a>
                </li>
                 <li>
                    <a href="#">F 86</a>
                </li>
                <li>
                    <a href="#">Don't miss this one</a>
                </li>
                <li>
                    <a href="#">Another 3D</a>
                </li>
                 <li>
                    <a href="#">World's largest model</a>
                </li>
                <li>
                    <a href="#">Shuttle accident</a>
                </li>
                <li>
                    <a href="#">Turbine helicopter</a>
                </li>
            </ul>
        </li>
    <!-- ===================== Dropdown item #2 =========================== -->
        <li>
            <a href="#">Slideshows</a>
            <ul>
                <li>
                    <a href="#">Shed construction</a>
                </li>
                <li>
                    <a href="#">Runway construction</a>
                </li>
                <li>
                    <a href="#">Laying the fabric</a>
                </li>
                <li>
                    <a href="#">Fun flyin #1</a>
                </li>
            </ul>
        </li>
    <!-- ===================== Dropdown item #3 =========================== -->
        <li>
            <a href="#">About us</a>
            <ul>
                <li>
                    <a href="#">Club info</a>
                </li>
                <li>
                    <a href="#">Club members</a>
                </li>
                <li>
                    <a href="#">Directions to field</a>
                </li>
                <li>
                    <a href="#">Calendar of events</a>
                </li>
                <li>
                    <a href="#">NOLF's</a>
                </li>
                <li>
                    <a href="#">Member's area</a>
                </li>
            </ul>
        </li>
    <!-- ===================== Dropdown item #4 =========================== -->
        <li>
            <a href="#">RC related</a>
            <ul>
                <li>
                    <a href="#">How to articles</a>
                </li>
                <li>
                    <a href="#">Learn to fly</a>
                </li>
                <li>
                    <a href="#">Rookie tips</a>
                </li>
                <li>
                    <a href="#">Sailplanes</a>
                </li>
                <li>
                    <a href="#">Review nitro</a>
                </li>
                <li>
                    <a href="#">Review electric</a>
                </li>
                <li>
                    <a href="#">Review heli</a>
                </li>
            </ul>
        </li>
    </ul><!-- end ul 1 -->
    <!-- ===================== Dropdown item #5 =========================== -->
    <ul><!-- start ul 2 -->
        <li>
            <a href="#">Miscellaneous</a>
            <ul>
                <li>
                    <a href="#">Are you a modeler</a>
                </li>
                <li>
                    <a href="#">Trivia</a>
                </li>
                <li>
                    <a href="#">Funny stuff</a>
                </li>
                <li>
                    <a href="#">Conversion tables</a>
                </li>
                <li>
                    <a href="#">Paraprosdokian</a>
                </li>
            </ul>
    </ul><!-- end ul 2 -->
    </div>
    
        </body>
    </html>
    

     

    Of course it isn't finished yet because the lower levels are not linked to anything. Will start work on it tomorrow. Merging the two css files should be fun.  :'(

     

    Speak now or forever hold your peace.  :D

     

    p.s. Why do you end ul #! and start another one?

  5. menu.php

    <div class="content">
    <ul id="menu">
        <li><a href="index1.php?page=home"><span>Home</span></a></li>
        <li><a href="index1.php?page=president_desk"><span>President's Desk</span></a></li>
        <li><a href="index1.php?page=club_info"><span>Club Info</span></a></li>
        <li><a href="index1.php?page=club_members"><span>Club Members</span></a></li>
        <li><a href="index1.php?page=directions"><span>Directions to Field</span></a></li>
        <li><a href="index1.php?page=flight_log"><span>Flight Log</span></a></li>
        <li><a href="index1.php?page=weather"><span>Weather</span></a></li>
        <li><a href="index1.php?page=calendar"><span>Calendar of Events</span></a></li>
        <li><a href="index1.php?page=links"><span>Links</span></a></li>
        <li><a href="index1.php?page=how_to_articles"><span>How to Articles</span></a></li>
        <li><a href="index1.php?page=learn_to_fly"><span>Learn to Fly</span></a></li>
        <li><a href="index1.php?page=rookie_tips"><span>Rookie Tips</span></a></li>
        <li><a href="index1.php?page=nolf"><span>NOLFs</span></a></li>
        <li><a href="index1.php?page=member_area"><span>Members Area</span></a></li>
        <li><a href="index1.php?page=videos"><span>Videos</span></a></li>
        <li><a href="index1.php?page=slideshows"><span>Slideshows</span></a></li>
        <li><a href="index1.php?page=product_review"><span>Product Reviews</span></a></li>
        <li><a href="index1.php?page=miscellaneous"><span>Miscellaneous</span></a></li>
        <li><a href="index1.php?page=conversion_tables"><span>Conversion Tables</span></a></li>
        <li><a href="index1.php?page=trivia"><span>Trivia</span></a></li>
        <li><a href="index1.php?page=funny_stuff"><span>Funny Stuff</span></a></li>
        <li><a href="index1.php?page=parapro"><span>More funny stuff</span></a></li>
        <li><a href="index1.php?page=sailplanes"><span>Sailplanes</span></a></li>
    </ul>
    </div>
    

    Delete the code in menu.php

    Which to me means delete all the code.

    and add what i posted it should work

    <div id="supermenu">
    <ul><!-- start ul 1 -->
        <li>
            <a href="#">Videos</a><!-- ====== Main item #1 ==== -->
            <ul>
                <li>
                    <a href="#">Amazing 3D</a>
                </li>
                <li>
                    <a href="#">B36</a>
                </li>
                <li>
                    <a href="#">B52</a>
                </li>
            </ul>
        </li>
    

     

    Which is what I did and it works. But I deleted all the rest of my menu. So I am back to where I started. Either one of them separately works.

     

    We just don't seem to be on the same page.

     

    Take this code:

    <div class="content">
    <ul id="menu">
        <li><a href="index1.php?page=home"><span>Home</span></a></li>
        <li><a href="index1.php?page=video"><span>Video</span></a></li>
    </ul>
    </div>
    

    And add the drop down section to the Video menu item.

     

    That is what I am trying to do but can't get it to work.

  6. Radio Control Model Airplane Club

    « on: February 09, 2011, 07:23:09 PM »

     

    I asked for critiques on my site and here is what I got:

     

    1. Well to say the least the website is seriously dated.

    2. That is a very dated design.  I'd suggest an immediate revamp.

    3. Frames and scrollbar's other than on the normal position are not very nice looking.

     

    4. gizmola: You probably should do a test install and try and move over your current site, just to see how what would be involved. 

     

    So I rewrote it and here is the new:

     

    http://bayarearcsociety.com/index1.php

    There is still some cleanup to do and a few little things here and there. Footer isn't finished, but other than that I am about done.

     

    Except, the nav menu. Haven't figured out yet how to do a vertical drop down menu so as to cut the items down to 5 or 6 with sub-catagories. (problem posted in css help)

     

    So what kind of grade do I get on the rewrite?

  7. I don't understand. I already have this and it works. You recoded it and cleaned it up but it is the same thing I already have.

     

    Maybe I wasn't clear.

     

    Here is what I have:

     

    ===Main Program=== ===Vertical drop down menu programs===

    index1.php - links to custom.css menu.html - links to style.css

    menu.php - single level

    home

    club info

    club members

    videos <------------------------------------------ Videos

                                                            Amazing 3D

                                                        B36

                                                        B52

     

    I want to replace the video menu in menu.html in menu php. In otherwords, I want a vertical drop down menu in menu.php.

  8. Well if it just works, all you need to do is paste the html of that menu in the proper place in menu.php or where ever you want.

     

    Show me the code you use for that menu (that standalone menu thing )  and of your menu.php

     

    Therein lies the problem. Both of the css files use similar elements, so I am trying to modify the content.css file with the requirements of the dropdown file (style.css), whereas I would only have one css file (content.css). I just can't get the right combination without screwing up other stuff.

     

    menu.html which I am trying to incorporate into menu.php

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Vertical CSS menu with a Behavior file.</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
    </head>
    
    <body>
    
    <ul>
    
    	<li><a href="#">Videos</a><!-- ====== Main item #1 ==== -->
    <ul>
    	<li><a href="#">Amazing 3D</a>
    	</li>
    	<li><a href="#">B36</a>
    	</li>
    	<li><a href="#">B52</a>
    	</li>
            </ul>
    	</li>
    	<li><a href="#">Slideshows</a><!-- === Main item #2 ==== -->
    <ul>
    	<li><a href="#">Grading</a>
    	</li>
    	<li><a href="#">Fabric</a>
    	</li>
    </ul>
    	</li>
    	<li><a href="#">Product Reviews</a><!-- ==Main item #3 == -->
    	</li>
    </ul>
    <ul>
    	<li><a href="#">Miscellaneous</a> <!-- =========== Main item #4 ==== -->
    	</li>
    </ul>
    </body>
    </html>
    

    style.css

    body {
    behavior: url(csshover.htc);
    }
    
    a {
    color: #000;
    text-decoration: none;
    }
    
    ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width:200px;
    }
    
    ul li {
    font: bold 11px/16px arial, helvetica, sans-serif;
    height:100%;
    background:#ff8b8e;
    border-bottom:1px solid #fff;
    position: relative;
    float:left;
    width:100%;
    }
    
    ul li ul li{
    background:#ffcf8b;
    }
    
    ul li a{
    display:block;
    padding: 2px 3px;
    }
    
    ul li a:hover {
    color: #a00;
    background: #ffd3d4;
    border-right:1px solid #fff;
    border-left:1px solid #fff;
    }
    
    ul li ul li a:hover{
    background: #ffedd3;
    border-left:1px solid #fff;
    }
    
    ul ul {
    position: absolute;
    top: 0;
    display:none;
    }
    
    ul li:hover ul{
    display: block;
    left:200px;
    }
    

     

    You already have a copy of menu.php and content.css.

     

    Menu.html is not complete, but if I can get it incorporated I can finish it.

     

  9. The best menu system i know that exists is named suckerfish or son of suckerfish. It's pure css and a little javascript to mimic the hover effect. you can find it here: http://htmldog.com/articles/suckerfish/dropdowns/ I don't know yours since it uses a .htc file which i never use.

    I have tried that one and it is just too complicated for me. As stated, I have tried several others that include javascript (which I know nothing about) and couldn't get them to work. The one I have is pure css and works.

     

    http://divitodesign.com/css/vertical-css-menu-with-a-behavior-file/

  10. I have a new site design with a left nav menu (menu.php)that works ok. But it is too long and I would like to reduce the number of entries and add drop down menus.

     

    Separate from that, I have a drop down menu which consists of menu.html, style.css and csshover.htc. This is a stand alone and also works.

     

    I would like to incorporate the drop down features of menu.html and it's 2 files into my menu.php. I have tried every way I can think of with no success.

     

    How do I go about it? Or do I need to post some more info?

     

    Thanks

     

     

  11. Hi crmamx,

     

    Good you made it to work, too bad though that you did not took the effort to post the answers because that would  help in figuring this out yourself

     

    <div class="thumbnail">
    <img src="Pictures_Members/tn_default.png" alt="" width="80" height="80"><br />
    <span>Chris</span><br />
    <span>Archie</span>
    </div>
    

    I just added to span lines and right or wrong, it works.

  12. small tip aside try to put any text within tags . Right now your text is just sitting in a div (without a <p> or <span> or anything else), which makes it hard to target. Btw watch your <br> tag I am pretty sure you use a strict doctype. so it's <br />)

    The code is from SelecTutorial to which I was referred by a developer and would expect to be correct.

     

    Never mind, I got it to work using span.

     

    I would mark this solved but the button disappeared.

  13. I am creating a thumbnail photo album.

    <?php
    
    ?>
      <style type="text/css">
    .thumbnail
    {
    float: left;
    width: 80px;
    border: 1px solid #999;
    margin: 0 15px 15px 0;
    padding: 3px;
    }
    
      </style>
    <p>Members Photo Album</p>
    <!-- =========================== Row 1 ================================== -->
    <div class="thumbnail">
    <img src="Pictures_Members/curtis.jpg" alt="" width="80" height="80"><br>
    Member
    </div>
    <div class="thumbnail">
    <img src="Pictures_Members/curtis.jpg" alt="" width="80" height="80"><br>
    Caption
    </div>
    <div class="thumbnail">
    <img src="Pictures_Members/curtis.jpg" alt="" width="80" height="80"><br>
    Caption
    </div>
    <div class="thumbnail">
    <img src="Pictures_Members/curtis.jpg" alt="" width="80" height="80"><br>
    Caption
    </div>
    <div class="thumbnail">
    <img src="Pictures_Members/curtis.jpg" alt="" width="80" height="80"><br>
    Caption
    </div>
    <div class="thumbnail">
    <img src="Pictures_Members/curtis.jpg" alt="" width="80" height="80"><br>
    Caption
    </div> 
    <!-- <br class="clearboth"> Clear and start new row -->
    <br class="clearboth">
    <!-- =========================== Row 2 ================================== -->
    <div class="thumbnail">
    <img src="Pictures_Members/curtis.jpg" alt="" width="80" height="80"><br>
    Member
    </div>
    <div class="thumbnail">
    <img src="Pictures_Members/curtis.jpg" alt="" width="80" height="80"><br>
    Caption
    </div>
    <div class="thumbnail">
    <img src="Pictures_Members/curtis.jpg" alt="" width="80" height="80"><br>
    Caption
    </div>
    <div class="thumbnail">
    <img src="Pictures_Members/curtis.jpg" alt="" width="80" height="80"><br>
    Caption
    </div>
    <div class="thumbnail">
    <img src="Pictures_Members/curtis.jpg" alt="" width="80" height="80"><br>
    Caption
    </div>
    <div class="thumbnail">
    <img src="Pictures_Members/curtis.jpg" alt="" width="80" height="80"><br>
    Caption
    </div>
    

     

    The sizing and everything is just like I want it on the image. But there are not enough characters allowed for the image name. If I exceed it, the name then takes up 2 lines and it screws up the whole layout. I don't want to increase width because then it looks like crap.

     

    How can I get 2 lines to display under the image for image name without messing up the whole layout?

  14. You guys are amazing.

     

    With a little help from InMotion I was able to go into php.ini and add the statement. Even tho the php core configuration showed it was turned off, the file did not include the statement so I had to add it.

     

    And now I don't get the errors but I get this alert message.

     

    This web site needs a different Google Maps API key. A new key can be generated at http://code.google.com/apis/maps/signup.html.

     

    Just curious as to why it does not work here in the program previously listed but it works fine on my old site.

     

    P.S. used phpMyAdmin to modify the file.

  15. As usual thorpe and pikachu are right on the money.

     

    email from InMotion

    We're sorry that you're experiencing this trouble. From the errors it looks like you want to turn "allow_url_include" to On in your local PHP configuration. It is off by default.

     

    If everything is for a reason, why is this value off as a default? What am I getting into by turning it on?

     

    I have tried to research this and it appears that my php is running as a CGI Module (whatever that means) and therefore the values for my php are set up in a php.ini file in public_html.

     

    The file exists and I have access to it. But I am scared to mess with it.

     

    Do I download it, make the changes and then upload it?

     

    I have never messed with an ini file. What do I use to edit it with? Can I use Komodo or Wordpad which I use for everything else?

  16. Have you considered using an IFRAME? I don't have much experience with it, but I think it will do what you want.

     

    Yes! The site I now have uses Iframes and it works fine. But I am told that the site is old, drab, 1990's and Iframes have to go.

     

    So therein lies the source of my problem.

  17. Without decent hosting you might not be able to fetch this content, you could try curl. (http://php.net/curl).

     

    What kind of hosting do you have? Do you have access to change the url_fopen setting?

     

    I am using InMotion which I thought was a complete package?

     

    I don't know. I will have to contact the host. I emailed them a problem ticket earlier but as yet don't have a reply.

  18. My nav menu is too long and I would like to reduce it and add drop down menus. I have googled them and most of them I don't understand. I have tried 3 that I thought were simple enough that included javascript and could not get them to work.

     

    Do all drop down menus include javascript?

     

    Is there an easier way to do this?

     

    Easy or hard, could you point me to the simplest way you know?

     

    Thanks

     

     

  19. That means that url_fopen() is disabled, which disables including via a URL. Include works other places because you're using a filesystem path to include the file.

     

    Ok, rules out that idea. So what do I do to get the map to appear on the page with the text?

  20. Here is the program, kinda simple.

    <?php
    include 'http://www.aardvarkmap.net/maps/D3A46MB4';
    ?>
    <h2>Directions to Magnolia Field</h2>
    <p>It is at the end of Lillie Lane which is an improved dirt/rock road.<br />
    <h2>VIEWING THE MAP</h2>
    <p>The flying field is shown on the map by the pointer.</p>
    <p>Left click the controls on the left side of the map to make it larger or smaller.</p>

    I get these errors.

    Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/bayare27/public_html/content/pages/directions.php on line 2
    
    Warning: include(http://www.aardvarkmap.net/maps/D3A46MB4) [function.include]: failed to open stream: no suitable wrapper could be found in /home/bayare27/public_html/content/pages/directions.php on line 2
    
    Warning: include() [function.include]: Failed opening 'http://www.aardvarkmap.net/maps/D3A46MB4' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/bayare27/php') in /home/bayare27/public_html/content/pages/directions.php on line 2
    

     

    I don't understand them because I use include other places and it works.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.