The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> AJAX - bookmarking a saved page
thaiscorpion
post Jun 17 2011, 12:08 PM
Post #1


Newbie
*

Group: Members
Posts: 12
Joined: 3-June 11
Member No.: 14,685



Hello again!.
Just a quick one, im making a login for my web page and i have a start screen with images in the background and in the center a div and ive included my start.php file inside it.

i have 3 php files
1- my start div with 2 links login, register
2- my registration div
3- my login div

since the background and some other links in the background are the same in all pages i though i should use ajax to change the contents of the div but because my actual page index.php starts with start.php included, i cant bookmark the login screen i have to click on the login button.

I hope i explained my problem properly biggrin.gif if anyone doesnt understand just say so ill try to explain it better!

- Thaiscorpion
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jun 17 2011, 01:55 PM
Post #2


.
********

Group: WDG Moderators
Posts: 6,007
Joined: 10-August 06
Member No.: 7



QUOTE
the background and some other links in the background are the same in all pages

I don't think that's a good reason to use Ajax. You might as well use frames (not recommended either).

It seems possible to bookmark an Ajax-generated page state by adding Ajax parameters in the URL hash, as explained on http://www.contentwithstyle.co.uk/content/...-for-ajax-apps/ --but why go to all this trouble when you can simply create separate web pages?



--------------------
User is online!PM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 31st August 2014 - 05:12 AM