This is a discussion on "Changing URL without refreshing page ?" within the JavaScript Forum section. This forum, and the thread "Changing URL without refreshing page ? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Changing URL without refreshing page ?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Changing URL without refreshing page ?
Hi all, I am in the process of re-designing my site, it was originally designed as a full flash site however after reading much info about seo etc I have decided that I will design it as flash / php.
my question is, I want to keep the flash header and heard somewhere of a technique with javascript which can refresh only a certain part of the page, is it at all posible to send new url data to the url, but keep the header page loaded so it doesnt refresh with the rest of the data, hence keeping the animation in the header loaded rather than re-loading ? Thanks, Mark. |
|
|
|
|||
|
Re: Changing URL without refreshing page ?
Yes. What you are talking about is using JavaScript and the DOM to re-write sections of the page. You need to read up on Ajax. This is exactly the sort of thing it is designed to do. |
|
|||
|
Re: Changing URL without refreshing page ?
Exellent, cheers for pointing us in the right direction, I will read up on this tonight.
|
|
||||
|
Re: Changing URL without refreshing page ?
I use it on my site a little. Here's a working example if you're interested:
http://ryanfait.com/portfolio/ Click on the images under "Recent Work". Oh, and I haven't tested this in IE yet. It's still not quite finished, but works in Safari and Firefox. Ajax is very easy to learn if you understand JavaScript a little, but this tutorial is what got me started on it: http://www.sitepoint.com/article/remote-scripting-ajax |
|
|||
|
Re: Changing URL without refreshing page ?
cool yes this is exactly what i want to do, I am in the process of learning javascript now, didnt realise that it was actually very similar to actionscript which I am fairly competent with now so it shouldnt be a real struggle, I will submit my site for review once its all up and running hopefully with some of this implemented in the code.
Thanks for the helpful info, Mark. |
![]() |
| Tags |
| changing, url, without, refreshing, page |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] ASP - AJAX (Retrieve Database Value Without Refreshing The Page) | Monie | Classic ASP | 19 | Jan 21st, 2008 00:07 |
| [SOLVED] Changing pictures on same page | R8515198 | JavaScript Forum | 7 | Oct 3rd, 2007 00:14 |
| Changing Content On A Seperate Page | josephman1988 | Other Programming Languages | 0 | Sep 20th, 2007 13:42 |
| How to retain the disable state of the button after page refreshing | srinivasyadav | JavaScript Forum | 1 | Sep 9th, 2007 14:17 |
| Changing css with page refresh | krrish | Web Page Design | 3 | Jul 26th, 2006 08:20 |