...

View Full Version : PHP, javascript - load without refresh?



student101
07-31-2008, 03:54 PM
Have tried whole day to get this to work.
I would like to load the content without a page refresh

The page I have up is a test page that has content on it.
http://www.kleyn.co.za/cart/?catid=1

When I click the left nav the top nav should load without refresh
When I click the top nav the main image should also load without a refresh

Is this possible?

This all works from a mysql database and the links work like this;

<a href="index.php?catid=<?php echo $_GET['catid']; ?>&amp;img=<?php echo $row_rsnav1['thumb']; ?>&amp;id=<?php echo $row_rsnav1['sortorder']; ?>"><img src="images/thumbs/<?php echo $row_rsnav1['thumb']; ?>" alt="" width="100" border="0"/></a>

Cheers

ninnypants
07-31-2008, 04:30 PM
It doesn't reload on me

student101
07-31-2008, 07:54 PM
It doesn't reload on me
What do you mean by reload?
The page refreshes on every click, I don't want it to refresh on any click.

ninnypants
07-31-2008, 08:20 PM
I mean that only the content changes your navigation never even moves, and your content changing doesn't even flicker

student101
07-31-2008, 08:23 PM
Ok, I may have found the answer to my question - may be back.

Doesn't the top menu slide to selected item after clicking it?

Cheers

ninnypants
07-31-2008, 08:30 PM
Yeah it does

student101
07-31-2008, 08:39 PM
Cool thanks.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum