edytuję pod swoje zastosowania szablon. Wszystkie podstrony są w jednym pliku index.html . Nie bardzo wiem jak to jest zrobione, zawsze robiłem strony na osobnych "indexach".
Ale do rzeczy : mamy tam 5 podstron. Gdy w kodzie skopiuję jedną z nich, zmienię nazwę i ustawie aby się wyświetlała - wyświetla się.
Pytanie - jak zrobić aby nadal się wyświetlała ale żeby nie tworzył się przycisk w menu ?
css
body { margin: 0; padding: 0; line-height: 1.5em; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #dfdcd8; background: #1e1409 url(images/templatemo_body_top.jpg) repeat-x top; } a:active, a:hover { color: #FFFF66; text-decoration: none; } p { margin: 0px; padding: 0px; } img { margin: 0px; padding: 0px; border: none; } .cleaner { clear: both; width: 100%; height: 0px; font-size: 0px; } .cleaner_h10 { clear: both; width:100%; height: 10px; } .cleaner_h20 { clear: both; width:100%; height: 20px; } .cleaner_h30 { clear: both; width:100%; height: 30px; } .cleaner_h40 { clear: both; width:100%; height: 40px; } .cleaner_h50 { clear: both; width:100%; height: 50px; } .cleaner_h60 { clear: both; width:100%; height: 60px; } .horizontal_divider { height: 15px; background: url(images/templatmeo_content_divider_01.png) no-repeat bottom center; } .fl { float: left; } .fr { float: right; } .margin_r50 { margin-right: 50px; } .button_01 a { display: block; width: 81px; height: 23px; padding: 5px 0 0 0; background: url(images/templatemo_button.png) no-repeat; text-align: center; color: #d1c2ac; font-size: 13px; font-weight: bold; text-decoration: none; } .button_01 a:hover { background: url(images/templatemo_button_hover.png) no-repeat; } h1 { margin: 0px; padding: 0px;; font-size: 30px; font-weight: bold; color: #ffffff; } h2 { font-family: Georgia, "Times New Roman", Times, serif; margin: 0 0 20px 0; padding: 3px 0; font-size: 28px; font-weight: normal; color: #ffffff; } h3 { font-family: Georgia, "Times New Roman", Times, serif; margin: 0 0 5px 0; padding: 5px 0; font-size: 16px; font-weight: bold; font-weight: bold; color: #ffffff; } .image_wrapper { border: 1px solid #000; padding: 5px; margin-top: 3px; margin-bottom: 5px; background: #333; } .fl_image { float: left; margin-right: 15px } .fr_image { float: right; margin-left: 15px } .image_wrapper img { border: 1px solid #000000; } /* site title bar */ /* site title */ #templatemo_site_title_bar_wrapper { position: relative; width: 100%; height: 120px; margin: 0 auto; background: url(images/templatemo_header_bg.jpg) center top no-repeat; } #templatemo_site_title_bar { width: 780px; height: 120px; margin: 0 auto; padding: 0 20px; background: url(images/templatemo_header_bg.jpg) center top no-repeat; } #templatemo_site_title_bar #site_title { float: left; padding: 5px 0; margin: 20px 0 0 0; background: url(images/templatemo_site_title_bg.jpg) top left no-repeat; } } #site_title h1 a { margin: 0px; padding: 0px; font-size: 24px; color: #FFFFFF; font-weight: bold; text-decoration: none; } #site_title h1 a:hover { font-weight: bold; text-decoration: none; } #site_title h1 a span { display: block; padding-left: 20px; margin-top: 5px; font-size: 14px; color: #ffffff; letter-spacing: 4px; font-weight: normal; } #site_title h1 a:hover span { font-weight: normal; } #templatemo_site_title_bar #facebook a { margin-top: 30px; float: right; display: block; width: 24px; height: 24px; background: url(images/facebook.png) no-repeat; } #templatemo_site_title_bar #twitter a { margin-top: 30px; float: right; display: block; width: 24px; height: 24px; background: url(images/twitter.png) no-repeat; } #templatemo_site_title_bar #google a { margin-top: 30px; float: right; display: block; width: 24px; height: 24px; background: url(images/google.png) no-repeat; } /* end of site title bar */ /* content */ #templatemo_content_wrapper { clear:both; width: 100%; height: 555px; margin: 0 auto; background: url(images/templatemo_content_bg.jpg) top center no-repeat; } #templatemo_content { width: 800px; height: 555px; margin: 0 auto; padding: 0 10px; background: url(images/templatemo_content_bg.jpg) top center no-repeat; } .section_w320 { width: 320px; } .section_w320 .w320_content { float: right; width: 180px; } #templatemo_content p { margin-bottom: 10px; } .service_list { margin: 0 0 20px 0; padding: 0px; list-style: decimal; } .service_list li { margin: 0px; padding: 5px 0; } .portfolio_box { float: left; width: 200px; margin-bottom: 20px; } .port_img { width: 182px; margin: 0 0 10px 0; border: 1px solid #000; } .port_img img { border: 1px solid #666; } .port_content { clear: both; width: 200px; } .portfolio_box .port_content p { margin-bottom: 0; padding-bottom: 0px; } #contact_form { float: left; width: 400px; padding: 20px 0 0 0; } #contact_form form { margin: 0px; padding: 0px; /*border:1px solid #e2d1be; padding: 20px 20px 10px 20px; */ } #contact_form form .input_field { height: 18px; width: 230px; } #contact_form form label { float: left; display: inline-block; width: 100px; text-align: right; margin-right: 10px; font-size: 14px; } #contact_form form textarea { width: 230px; height: 100px; } #contact_form form .submit_btn { margin-left: 108px; } .em_text { color: #ffffff; } .address_info { float: right; padding: 10px 0 0 0; width: 300px; font-size: 14px; line-height: 30px; } .address_info h3 { border-bottom: 1px solid #ffffff; } /* end of content */ /* content */ #templatemo_footer_wrapper { clear: both; width: 100%; height: 350px; margin: 0 auto; background: url(images/templatemo_footer_bg.jpg) top center no-repeat; } #templatemo_footer { width: 800px; height: 320px; margin: 0 auto; padding: 15px 10px; color: #ece9e6; text-align: center; background: url(images/templatemo_footer_bg.jpg) top center no-repeat; } #templatemo_footer a { font-weight: bold; color: #ffffff; text-decoration: none; } /* end of content */ .stripViewer .panelContainer .panel ul { text-align: left; margin: 0 15px 0 30px; padding: 0; } .slider-wrap { /* This div isn't entirely necessary but good for getting the side arrows vertically centered */ margin: 0; position: relative; width: 700px; } /* These 2 lines specify style applied while slider is loading */ .csw {width: 100%; height: 550px; background: none; overflow: hidden;} .csw .loading { margin: 200px 0 0 0; text-align: center; width: 800px; height: 500px;} .stripViewer { /* This is the viewing window */ position: relative; overflow: hidden; margin: auto; width: 800px; /* Also specified in .stripViewer .panelContainer .panel below */ height: 460px; clear: both; } .stripViewer .panelContainer { /* This is the big long container used to house your end-to-end divs. Width is calculated and specified by the JS */ position: relative; left: 0; top: 0; width: 100%; list-style-type: none; /* -moz-user-select: none; // This breaks CSS validation but stops accidental (and intentional - beware) panel highlighting in Firefox. Some people might find this useful, crazy fools. */ } .stripViewer .panelContainer .panel { /* Each panel is arranged end-to-end */ float:left; height: 100%; position: relative; width: 800px; /* Also specified in .stripViewer above */ } .stripViewer .panelContainer .panel .wrapper { /* Wrapper to give some padding in the panels, without messing with existing panel width */ overflow: hidden; padding: 10px 40px 20px 40px; height: 425px; } .stripNav { /* This is the div to hold your nav (the UL generated at run time) */ float: left; display: block; width: 762px; height: 53px; margin: 20px 19px; } .stripNav ul { /* The auto-generated set of links */ margin: 0; padding: 0; height: 53px; width: 762px; list-style: none; background: url(images/templatemo_menu.png) no-repeat; } .stripNav ul li { float: left; margin-right: 10px; /* If you change this, be sure to adjust the initial value of navWidth in coda-slider.1.1.1.js */ background: url(images/templatemo_menu_divider.png) top right no-repeat; } .stripNav a { font-size: 14px; font-weight: bold; text-align: center; background: #c6e3ff; color: #beb09a; padding: 10px 0 0 0; text-decoration: none; display: block; height: 42px; width: 120px; outline: none; } .stripNav li a { background: none; } /* .stripNav li.tab2 a { background: #60c } .stripNav li.tab3 a { background: #63f } .stripNav li.tab4 a { background: #63c } .stripNav li.tab5 a { background: #00e } */ .stripNav li a:hover { color: #ffffff; background: url(images/templatemo_menu_hover.png) bottom center no-repeat; } color: #ffffff; background: url(images/templatemo_menu_hover.png) bottom center no-repeat; } .stripNavL, .stripNavR { /* The left and right arrows */ position: absolute; top: 230px; text-indent: -9000em; } .stripNavL a, .stripNavR a { display: block; height: 0px; width: 0px; } .stripNavL { left: 0; } .stripNavR { right: 0; } .stripNavL { background: url("images/arrow-left.gif") no-repeat center; } .stripNavR { background: url("images/arrow-right.gif") no-repeat center; }
Proszę o pomoc.
kawałek kodu odpowiadający za wyświetlanie podstrony :
<div class="slider-wrap"> <div id="slider1" class="csw"> <div class="panelContainer"> <div class="panel" title="Firma"> <div class="wrapper"> <div class="image_wrapper fl_image"> <img src="images/templatemo_image_01.jpg" alt="image"/> </div> <p class="em_text">This Free CSS Template is provided by <a href="http://www.templatemo.com" target="_parent">TemplateMo.com.</a> You may use this template in your websites. Credit goes to <a href="http://www.ndoherty.com" target="_blank">Niall Doherty</a> for Coda-Slider.</p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer enim metus, convallis id semper vel, posuere ac dui. Integer vestibulum, elit non lobortis sodales, dui nibh imperdiet turpis, id lobortis enim turpis eget ante. Donec non magna nunc. Donec ultricies fermentum sapien in facilisis.</p> <div class="cleaner_h40"></div> <div class="section_w320 fl"> <img class="fl" src="images/portfolio.png" alt="portfolio" /> <div class="w320_content"> <h3>Services</h3> <p>Donec ultricies fermentum sapien in facilisis.</p> <div class="cleaner"></div> <div class="button_01"><a href="#2" class="cross-link">Details</a></div> </div> </div> <div class="section_w320 fr"> <img class="fl" src="images/aboutme.png" alt="portfolio" /> <div class="w320_content"> <h3>Portfolio</h3> <p>Integer egestas nibh eget neque ornare tempor.</p> <div class="cleaner"></div> <div class="button_01"><a href="#3" class="cross-link" >View All</a></div> </div> </div> <div class="cleaner_h20"></div> <p><a href="#5" class="cross-link" title="Go to Page 5">Ť Previous</a> | <a href="#2" class="cross-link" title="Go to Page 2">Next ť</a></p> </div> </div>