I'm petty sure that what I'm about to describe is java, if it's not, I'll move the thread...or a mod can i suppose.
Anyway facebook uses this often, and I'm seeing it done on more and more webpages now. It's where you click "submit" or some link, and instead of opening a new window with the page, or after the action is completed, it will just do it all on the same page...The best way to describe it is with an example. If you post on somebody's wall on facebook, you get a little "thinking" image for a second or 2 as it processes, and then the wall post just kind of fades in where it should. The page doesn't need to reload or anything, only the part of the page that changed is changed. facebook uses this all over the site.
Another place I've seen it used (if this is the same thing even...) is if somebody clicks an image, it will fade darker the screen you were on, and a window of some sort with the image opens up above the page you're on. However, it's the same IE/Firefox window. It's just kind of floating above the site. I've also seen something similar done with advertisements...we all know the ones that take over part of the page...
If anyone can direct me to some places where I may learn this, I'd much appreciate it. ha.
Thanks.
Some stuff that Facebook does well...(help me!)
Started by shackrock, Jun 01 2007 06:30 AM
4 replies to this topic
#1
Posted 01 June 2007 - 06:30 AM
|
|
|
#2
Guest_Jordan_*
Posted 01 June 2007 - 06:47 AM
Guest_Jordan_*
I think you are speaking about JavaScript and/or AJAX. Click the "Edit" button on your post above which will not take you to a new screen but convert your post into a text-box. Is this what you are talking about?
#3
Guest_Jordan_*
Posted 01 June 2007 - 06:48 AM
Guest_Jordan_*
Or actually, you can do a quick reply here and (if you don't get the WSOD, White Screen of Death) it will post your reply without loading a new page or reloading this page.
#4
Posted 01 June 2007 - 08:15 AM
yes to the edit AND the quick reply. They are both exactly what I'm talking about, haha...
#5
Posted 02 June 2007 - 01:08 AM
shackrock said:
yes to the edit AND the quick reply. They are both exactly what I'm talking about, haha...
You are asking about AJAX than.
There is a lot in internet about that technology. It is mostly javascript. Depending on how you use it the server side might know or not know about it. Shortly - it is a way to perform action on the server side / retrieve info from it without having to submit/reload your page. There are numerous implementations...
So this thread is for HTML/CSS/JavaScript section I think.
If you need to implement this in Java ( J2EE on the server ) you can search for components that use ajax. I think there are a lot of them available for free ( if you understand some other languages you can borrow ;) components written for PHP/Perl/Ruby/Python/AnyOtherScriptingLanguageUsedForServerSide :D


Sign In
Create Account


Back to top









