iframe - facebook app all integrated in one page (no reloading) -


i developing ui facebook app. basically, game shown on canvas page , has navigation in tab form.

what need when user clicks "friends" invite people, page show on game(the game still in background, , running should be). page must not reload. placed url of friends requests in src of <iframe> , using jquery hide/show divs problem <iframe> contain header, footer , facebook.com, want content because user on facebook. there better approach i'm doing? how accomplish this?

a visual example navigation of "city of wonders" facebook app.

you'll need write server side script uses facebook api list of friends. generate html necessary display , use information.

also, instead of using <iframe></iframe>you use <div>, , use javascript populate it's innerhtml (via ajax).


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -