The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other How to open a link into a container within the index page 4m mainnavigation bar?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #151720

    Hello, My name is Bharath, I am a beginner to web development with html5 and css3. I am doing a small project with html5 , css3 and JavaScript. I need your help with this basic question . In my index page i have main navigation bar in body header which links to Home,About us, Services , Contact Us. I want to open the link within the index page into a particular container / section . How to do that ? Help me with the code or a related document to my mailid [email protected]


    If you want to load some content into a div for example you need AJAX techniques. With jQuery you can do something like:
    $( “.container” ).load( “services.html”, function() {
    alert( “Load was performed.” );

    More here.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Other’ is closed to new topics and replies.