Git Product home page Git Product logo

one_pager's Introduction

one_pager

A simple One Pager easy to include in every Project

AUTHOR: AICHBAUER LUKAS

email: [email protected]


how to use


import the css and the js file to your html file.

don't forget to import jQuery in your project... import it in front of the img_slider.js

<link rel="stylesheet" type="text/css" href="http://localhost/tuts/img_slider_tut/css/img_slider.css" />
<script type="text/javascript" src="http://localhost/tuts/img_slider_tut/js/JQUERY.js"></script>
<script type="text/javascript" src="http://localhost/tuts/img_slider_tut/js/img_slider.js"></script>

create a navigation and divs with the class "onepage".

also add ids to the divs, you can name your ids whatever you like,

the important thing is to link your a tags to the ids of the divs.

If you want a home section, create a

<div class="onepage" id="home">

and in your nav add an anchor to home like

<a href="#home" > Home </a>

if you download this project with the index file and set your paths

the css and js and also to jquery than this project works from scratch.

This is a basic structure of a one pager.

<nav>
  <ul>
    <li><a href="#first">First</a></li>
    <li><a href="#second">Second</a></li>
    <li><a href="#third">Third</a></li>
    <li><a href="#">Third</a></li>
  </ul>
</nav>
<div class="onepage"  id="first">
</div>
<div class="onepage" id="second">
</div>
<div class="onepage" id="third">
</div>

one_pager's People

Contributors

aichbauer avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.