Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7770973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:32:08+00:00 2026-06-01T16:32:08+00:00

Okay guys hopefully I can explain this effectively, so here goes. I have a

  • 0

Okay guys hopefully I can explain this effectively, so here goes.

I have a unordered list where each list item loads html pages into a div on click via jquery on my “Services” page.

Basically on the front page I have a couple links, when one is clicked, I need it to go to the “Services” and see the appropriate html page in the div.

Here’s kinda how the code is:

Services Page:

<ul id="service-nav">

            <li><a id="interlocking" href="#">Interlocking</a></li>
            <li><a id="pool-backfill" href="#">Pool Backfill</a></li>
            <li><a id="poured-concrete" href="#">Poured Concrete</a></li>
            <li><a id="parging" href="#">Parging</a></li>
            <li><a id="custom-land" href="#">Custom Landscaping</a></li>
            <li><a id="snow-rem" href="#">Snow Removal</a></li>
            <li><a id="excavation" href="#">Excavation</a></li></ul>
      </ul>

    <div id="right-area"> <!-- This is where we load the relevant html's -->
    </div>

Front Page:

        <ul>
            <li><a href="services.php?token=interlocking">Interlocking</a></li>
            <li><a href="services.php?token=pool-backfill">Pool Backfill</a></li>
            <li><a href="services.php?token=poured-concrete">Poured Concrete</a></li>
        </ul>

And here is my jQuery for your reference:

<script type="text/javascript">
$(document).ready(function() {

    $(function(){ 
        var token = window.location.toString().split("=")[1]; 

        $("#" + token).click(); 

        });​


    $('#interlocking').click(function() {
        $('#right-area').load('http://romanstonedesigns.com/new/services/interlocking.php', function() {
        });
    });

    $('#pool-backfill').click(function() {
        $('#right-area').load('http://romanstonedesigns.com/new/services/pool-backfill.php', function() {
        });
    });

    $('#poured-concrete').click(function() {
        $('#right-area').load('http://romanstonedesigns.com/new/services/poured-concrete.php', function() {
        });
    });

    $('#parging').click(function() {
        $('#right-area').load('http://romanstonedesigns.com/new/services/parging.php', function() {
        });
    });

    $('#custom-land').click(function() {
        $('#right-area').load('http://romanstonedesigns.com/new/services/custom-landscaping.php', function() {
        });
    });

    $('#excavation').click(function() {
        $('#right-area').load('http://romanstonedesigns.com/new/services/excavation.php', function() {
        });
    });

    $('#snow-rem').click(function() {
        $('#right-area').load('http://romanstonedesigns.com/new/services/snow-removal.php', function() {
        });
    });







});

</script>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T16:32:10+00:00Added an answer on June 1, 2026 at 4:32 pm

    ok, suppose we want to show the interlocking page, so your front page should be like this:

    1.

    <ul>
            <li><a href="services.php?token=Interlocking">Interlocking</a></li>
        </ul>
    

    2.In your service page, the jquery code should be:

      <script type="text/javascript">
    
    
    $(function(){ 
    
    
    
    
        $('#interlocking').click(function() {
        $('#right-area').load('http://romanstonedesigns.com/new/services/interlocking.php', function() {
        });
    });
    
    $('#pool-backfill').click(function() {
        $('#right-area').load('http://romanstonedesigns.com/new/services/pool-backfill.php', function() {
        });
    });
    
    $('#poured-concrete').click(function() {
        $('#right-area').load('http://romanstonedesigns.com/new/services/poured-concrete.php', function() {
        });
    });
    
    $('#parging').click(function() {
        $('#right-area').load('http://romanstonedesigns.com/new/services/parging.php', function() {
        });
    });
    
    $('#custom-land').click(function() {
        $('#right-area').load('http://romanstonedesigns.com/new/services/custom-landscaping.php', function() {
        });
    });
    
    $('#excavation').click(function() {
        $('#right-area').load('http://romanstonedesigns.com/new/services/excavation.php', function() {
        });
    });
    
    $('#snow-rem').click(function() {
        $('#right-area').load('http://romanstonedesigns.com/new/services/snow-removal.php', function() {
        });
    });
    
        var token = window.location.toString().split("=")[1]; 
        $("#" + token).click(); 
    
        });
    

    Bye!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Okay, here goes. Stack Overflow virgin here but hopefully you guys will be able
Hye guys. Okay. I have done this coding. But it seems have error. Can
Okay, guys i have been trying to define a Stack , each node also
Okay guys, maybe you can help me out with this one. I'm about ready
Here's another easy XAML question for you guys: I can populate a 'complex' list
Hey guys. I have some difficulty in creating a filename. okay, here is what
Okay guys, I have been scratching my head like mad over this issue and
Okay guys, I have read through all the other posts and question on jQuery
Okay guys, basically the problem I'm having is this. I've been assigned to write
Okay, before you guys go nuts -- this is just a small site, temporary

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.