Changing URL without refreshing page ?

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.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 13th, 2006, 12:36
Junior Member
Join Date: Sep 2006
Location: Midlands
Age: 29
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote

  #2 (permalink)  
Old Sep 13th, 2006, 22:21
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
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.
Reply With Quote
  #3 (permalink)  
Old Sep 13th, 2006, 23:08
Junior Member
Join Date: Sep 2006
Location: Midlands
Age: 29
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Changing URL without refreshing page ?

Exellent, cheers for pointing us in the right direction, I will read up on this tonight.
Reply With Quote
  #4 (permalink)  
Old Sep 14th, 2006, 09:03
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #5 (permalink)  
Old Sep 14th, 2006, 12:22
Junior Member
Join Date: Sep 2006
Location: Midlands
Age: 29
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
Reply

Tags
changing, url, without, refreshing, page

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 19:42.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43