I have a website that is 5 pages. Is there away I can link them useing javascript. instead of the old way?

Thanks in advance.

There's no point involving javascript if you don't have to.

Standard HTML hyperlinks are good for most site navigation menus. Use CSS to make them pretty.

Use javascript for pullout/dropdown sub-menus or other effects that cannot be achieved with CSS.

Airshow

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.