Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,171,152 members, 7,880,613 topics. Date: Thursday, 04 July 2024 at 10:32 PM

How Can I Create Onclick Navigation - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / How Can I Create Onclick Navigation (762 Views)

Can I Create Facebook Ad With My New Account? / Onclick Event In Wordpress Help / How Do I Create An Interactive Website (2) (3) (4)

(1) (Reply) (Go Down)

How Can I Create Onclick Navigation by Nobody: 8:00pm On Dec 23, 2015
Good day Nairalanders... Please can someone show me how to create an onclick navigation for my website please. Thanks in advance
Re: How Can I Create Onclick Navigation by fattbabakay(m): 9:20pm On Dec 23, 2015
Infohelp:
Good day Nairalanders... Please can someone show me how to create an onclick navigation for my website please. Thanks in advance
I dnt understand. ur question wella buh I think what u need is jquery...
Re: How Can I Create Onclick Navigation by Nobody: 9:52pm On Dec 23, 2015
fattbabakay:
I dnt understand. ur question wella buh I think what u need is jquery...
You know Adsense said they need proper site navigation b4 you get approved.. So that's what I need
Re: How Can I Create Onclick Navigation by 9jawebdev(m): 9:48am On Dec 24, 2015
if what you mean is an onclick button , you can use javascript, use the code below:

<button onclick="window.open( 'http:///www.google.com' , '_self' );">Onclick Nav button</button>

Note: edit http://www.google.com with your desired link address.

or if what you mean is an navigation bar with links, do specify, so i can help you out.


contact me further using details at my signature.
Re: How Can I Create Onclick Navigation by Nobody: 11:23am On Dec 24, 2015
9jawebdev:
if what you mean is an onclick button , you can use javascript, use the code below:

<button onclick="window.open( 'http:///www.google.com' , '_self' );">Onclick Nav button</button>

Note: edit http://www.google.com with your desired link address.

or if what you mean is an navigation bar with links, do specify, so i can help you out.


contact me further using details at my signature.

What I mean is a navigation bar with links e.g Home Contact Us About Us Privacy Policy. Kindly help out pls
Re: How Can I Create Onclick Navigation by Danyl(m): 4:42pm On Dec 24, 2015
whats your website link? you will need jquery if what you want is d type with navigation bars at the top right hand corner.. check my navigation here if Dts what u want? http://healthquorum.com I can get you the navigation script u just put it affect ur <body> tag or if u use php u cn put it in a single file and use d include directive to place it on all your pages.
Re: How Can I Create Onclick Navigation by Nobody: 7:08pm On Dec 24, 2015
Danyl:
whats your website link? you will need jquery if what you want is d type with navigation bars at the top right hand corner.. check my navigation here if Dts what u want? http://healthquorum.com I can get you the navigation script u just put it affect ur <body> tag or if u use php u cn put it in a single file and use d include directive to place it on all your pages.
Pls get it for me bro.. Did u get approved adsense?
Re: How Can I Create Onclick Navigation by Danyl(m): 7:49am On Dec 25, 2015
Infohelp:

Pls get it for me bro.. Did u get approved adsense?
ok. let me have your email address. am.currently migrating to WP though so I can concentrate on other things with my startup. I got adsense.

I will make everything on the same page with all.d dependences in a zip file just give me time till.evening you know today is xmas..!
Re: How Can I Create Onclick Navigation by 9jawebdev(m): 11:44am On Dec 25, 2015
Infohelp:

What I mean is a navigation bar with links e.g Home Contact Us About Us Privacy Policy. Kindly help out pls

ok, i have helped you code it nicely.

preview the navigation below:

use this:


<html>
<head>
<style>
.navigation{
margin-left:100px;
}


.navigation li a {
text-decoration:none;
color:#fff;
font-weight:bold;
font-size:24px;
padding-left:10px;
}

.navigation li {
line-height:50px;
padding-left:10px;
display:inline;
}


.navbar-wrapper{
background:#000;
width: 100%;
height:50px;
}

</style>
</head>

<body style="margin:0 !important;">
<div class="navbar-wrapper">
<nav>
<ul class="navigation">
<li><a href="index.html">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="index.html">Clients</a></li>
<li><a href="index.html">Services</a></li>
</ul>
</nav>
</div>


</body>

</html>






I hope this helps you .

Re: How Can I Create Onclick Navigation by Nobody: 11:58am On Dec 25, 2015
9jawebdev:

ok,
use this:
<!DOCTYPE html> <html> <head> <style> .navigation { display:none; }
.navigation li a { text-decoration:none; color:#fff; font-weight:bold; }
.navigation li { line-height:50px; border-right:1px solid #000; }

.navbar-wrapper{ width: 900px; height:50px; }
</style> </head> <body style="margin:0 !important;"> <div class="navbar-wrapper"> <nav> <ul class="navigation"> <li><a href="index.html">Home</a></li> <li><a href="#">About</a></li> <li><a href="index.html">Clients</a></li> <li><a href="index.html">Services</a></li> </ul> </nav>


</body>
</html>


I hope this helps you .

Thanks a lot. Pls where should I place it?
Re: How Can I Create Onclick Navigation by 9jawebdev(m): 11:10pm On Dec 25, 2015
do you have an existing website ? or you want to start building one. if the the second option ,

Place it after the opening <body> tag.


hope this helps
Re: How Can I Create Onclick Navigation by Danyl(m): 8:40am On Dec 26, 2015
infohelp I have sent the navigation stuff u cn download it n extract the zip..

(1) (Reply)

3 Stupidly Simple Ways To Make More Affiliate Sales / I Need Help!! / Help

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 23
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.