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 6664535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:37:18+00:00 2026-05-26T02:37:18+00:00

didn’t found any help with the search… I’m going to do something like loading

  • 0

didn’t found any help with the search…

I’m going to do something like loading the content of an external php-file into a div container on my index.php;
to do so, I added a javascript call into the href of my hyperlinks that calls a function like this:

function contentloader(e){
switch(e){          
  case "profil":
    $("#content").load("profil.php");
    this.href('#profil');
    break;   
  case "einstellungen":
    $("#content").load("einstellungen.php");
    break;
  case "freunde":
    $("#content").load("freunde.php");
    break;     
}   

}

well actually this works fine, but now I’m searching for a possibility to change the url of my index.php after loading such a content php file…
for example it should be possible to safe a bookmark for
index.php#profile
index.php#einstellungen

does anybody has got a hint for me to search for or done something like that???
help appreciated!

(furthermore those external php file will include complex php code, mysql requests and so on…)

  • 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-05-26T02:37:18+00:00Added an answer on May 26, 2026 at 2:37 am

    Look into window.location.href.hash. You should be able to use that to set the hash value on the URL. Look into http://plugins.jquery.com/plugin-tags/hash and http://benalman.com/projects/jquery-bbq-plugin/

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

Sidebar

Related Questions

Didn't find any from their website. I mostly just trying to see which one
I didn't see any similar questions asked on this topic, and I had to
I didn't find much data about the internals of PL/Scope. I'd like to use
I didn't get any overlay change when my teammates make changes or add a
I didn't change any setting of my Vim, but today the Backspace gets some
I didn't manage to find any functionalities for minimizing/maximizing programatically. I want to minimize
I didn't find any info on searches when I looked this up. I've been
I didn't see any questions that asked this previously so here goes: Once you
Didn't find how to do that. What I found was more or less on
I didn't find any tip about DirectX installation at Inno-Setup web site. So, is

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.