How can I Load content dynamically based on the url of the page.
EG: profiles.html#example-contenet1, profiles.html#example-contenet2
For each #example-contenet load different page content.
I have attempted to put this into a JSFiddle, however i think it might need a php backend. http://jsfiddle.net/JEUSz/3/
Maybe something like this:
switch ($_POST['name']) {
case 'example-name1':
    echo "<img src='img/pic.jpg' />"; 
    echo "<img src='img/pic.jpg' />";
    echo "hi";
    break;
case 1:
    echo "i equals 1";
    break;
case 2:
    echo "i equals 2";
    break;
default:
    echo 'fail';
    break;
}
 
     
     
     
     
     
    