473,395 Members | 1,537 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Browse AJAX Site Using Anchor

I've been thinking about how AJAX sites implement page browsing when
in fact the whole site is on one page. I know I may store page content
in array and add new content to this array as user clicks AJAX driven
links for the purpose of browsing history, etc. But what if I want to
share the page with somebody and AJAXed site always starts with the
main page.
I thought using anchor is the solution: www.mysite.com/#showHelpPage.
JavaScript would detect the URL and show the page according to anchor
(call showHelpPage page in my case). I would like to hea some thoughts
if possible and other consideration for this solution. Perhaps,
examples? Thanks.
Mar 13 '08 #1
2 2364
On Mar 13, 5:53 pm, vunet <vunet...@gmail.comwrote:
I've been thinking about how AJAX sites implement page browsing when
in fact the whole site is on one page. I know I may store page content
in array and add new content to this array as user clicks AJAX driven
links for the purpose of browsing history, etc. But what if I want to
share the page with somebody and AJAXed site always starts with the
main page.
I thought using anchor is the solution:www.mysite.com/#showHelpPage.
JavaScript would detect the URL and show the page according to anchor
(call showHelpPage page in my case). I would like to hea some thoughts
if possible and other consideration for this solution. Perhaps,
examples? Thanks.
On some level, you may be reinventing the wheel:
http://code.google.com/p/reallysimplehistory/
--
T.J. Crowder
tj / crowder software / com
Mar 13 '08 #2
You might as well throw in a flash intro screen and have all your
content as images-- do you plan on having search engines crawl / list
your site? Or does it degrade gracefully w/o javascript?

Shawn
Mar 14 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: bcochofel | last post by:
Hi, I'm using Perl CGI and HTML::Template to generate the following XML: ---------------------------------------------------------------------- <?xml version="1.0" encoding="iso-8859-1"?>...
2
by: Paras | last post by:
Hi, I have 3 ContentPlaceHolders in the MasterPage. In the 2nd content I have placed a usercontrol which has anchor link. This loads another page (without changing loading the content of...
2
by: Nathan Sokalski | last post by:
I am moving my website from my machine to my webhost, and need some help with what extra files I need to include due to the fact that I used AJAX in my site. Everything on the site is obviously...
8
by: =?Utf-8?B?V2ViQnVpbGRlcjQ1MQ==?= | last post by:
I'm about to finally make the jump and start a new site using AJAX. THe question i have for all of you AJAX developers out there is which one? 1. The Standard AJAX frame work 2. The Tool kit....
10
by: =?Utf-8?B?WWFua2VlIEltcGVyaWFsaXN0IERvZw==?= | last post by:
controlsPlease could some of you here post some of your live examples of AJAX (esp drag panels, collapsable panels, and popup menu.) (It's one thing to talk about how great something is, but it's...
1
by: ariyasat | last post by:
Hi All, How to use OnChange event on file(Browse) Actually there is no file tag in ajax , then how to use OnChange event on file(Browse) . My requirement is that when i select a file from...
0
by: Tarik Monem | last post by:
I have been working on an all AJAX/DOM web site which is set to go live today and I thought I'd share my discoveries with all of you whom have helped me when I have encountered different issues along...
9
by: paitoon | last post by:
Hello , My questionis short but i think many people got the same problem with me.. Is it possible to use the anchor tag in ajax ? I want the ajax load the page with specified area by using anchor...
7
by: Joe | last post by:
I added some ajax to my asp.net web site and will Ajax just doesn't seem to work. Does Any one PLEASE have any ideas on why Ajax doesn't work on Apache 2.2.6 w/asp.net 2.0
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.