Copy link to clipboard
Copied
Hi There,
I'm looking for a way to run the navigation through the pages smoothly. Right now it's "jumpy" and annoying.
On this page:
http://martinique.org/martiniquenew/discovery/towns-villages.php
you will see the page jumping when we navigate through the towns table.
I understand that the page re-loads itself naturally when using the Recordset Navigation Bar.
I have added a javascript function in the buttons navigation links to make the page staying at the same level instead of going back to the top.
Is there a way to make the page not to reload so I could have a smooth navigation?
I would still like to insert the data from the database.
Thanks for your help!
Copy link to clipboard
Copied
boloco wrote:
Is there a way to make the page not to reload so I could have a smooth navigation?
I would still like to insert the data from the database.
You would need to use Ajax to refresh the page content without reloading. One way of doing this would be to use a recordset to load all the database results into an HTML table, and then use a Master/Detail Spry Data Set. You can see an example of this in action on my website at http://foundationphp.com/dwcs4/gallery_select.php. Even on a fast connection, you will probably notice that the page first loads into a table, and immediately rebuilds. Then, whenever you click one of the descriptions on the left, the page refreshes without reloading. Dreamweaver CS4 builds most of the code automatically.
Copy link to clipboard
Copied
Thanks David!
I'll look into this.
Michel
Find more inspiration, events, and resources on the new Adobe Community
Explore Now