'Double' deep linking problem
Hi all,
I'm (trying) to use Jquery Adress (plugin -- see
this link).
The basic plugin works fine for me, where you have
HTML page
- <!-- Skipped part -->
- <div id="menu"><a href="messages.php" rel="address:/messages.php">Messages</a></div>
- <div id="content"></div>
- <!-- Skipped part -->
Javascript
- $.address.change(function(event) {
- // Code for loading page into content div
- });
This part works just fine, I can load page's into the content div. The problem howerver,is when I load a page into the div, with the following code:
(HTML)
- <a href="view_mes.php?id=5" rel="address:/view_mes.php?id=5">View message 5</a>
When you click the link "view_mes.php", my browser (Newest Firefox) will load the page as it were a normal link, it won't call my javascript function who should load it into the content div.
Am I doing something wrong or forgetting something here?
Thanks in advantage,
Miklas