Dear Folks,
 consider we have page A which has 4 links we filter these Links with
javascipt History Plugin which we have, as you can see in below
now Our History Plugin Works and it is Bookmarkable and everything is
Ok right now,
now consider each of these Links Do some Ajax Calls and Load Page B,
so we have to give these links the ability to be bookmarkable and
support History , so What I did is in to solve this problem , I used
Livequery plugin , so I added 1,2...link to it
and then Imported the History on it , but what accually happend ,Page
I'm working in Page A Links there is no Problem , but when I start to
click on the Page B links ,
You know I could not get back , so page B history works for Page B
links , And Page A history works in Page A Links ,
I think at the first because Page B is not Loaded to the System , It
can not realize what it is in it , so ...
this happens , I don't know what exactly to do , Just I want  to make
Dynamic Portal with History support , Dear Karl,Mike Alsup, Jorn ...
guys Help ...
<!-------------------------------Page A
-------------------------------

<div>
  <a href='#1'  id='1'>1</a>
  <a href='#2'  id='2'>2</a>
  <a href='#3'  id='3'>3</a>
  <a href='#4'  id='4'>4</a>
  <div id=''load> Ajax Contenct Comes here</div>
</div>
<!-------------------------------Page B
-------------------------------

<div>
  <a href='#5' id='5' >5</a>
  <a href='#6' id='6' >6</a>
  <a href='#7' id='7' >7</a>
  <a href='#8' id='8' >8</a>
</div>

<!-----------------Script ----------------------------------------->

$(document).ready(function(){

  $("#1,#2,#3,#4,#5,#6,#7,#8").livequery(function(){
     $(this).history(function() {   alert($ (this).attr(''id));  $
(this).load('pageb.php') });
  });
  $.ajaxHistory.initialize();
});


Regards Pedram
.

Reply via email to