Jump to content

Recommended Posts

hi guys, very long time since i've been here.. i'm making a facebook application and could use some help starting it since i don't know much about ajax.

 

this is what i'm trying to do (i hope it makes sense):

1. request link to page with JSON code
2. take those items and put them into an array inside the script
3. load those links from array in background while displaying their icon in a 5x5 html table
4. when all of the pages loading in the background are done, display an image below the icon in the table
5. repeat these steps without refreshing the page as soon as all pages are fully loaded.

this is what the page looks like with the JSON code that i need to load (there can be up to 25 picture/link combos):
[
   {
     "picture":"URL_TO_PICTURE",
     "link":"URL_TO_SITE"
   },
   {
     "picture":"URL_TO_PICTURE",
     "link":"URL_TO_SITE"
   },
   {
     "picture":"URL_TO_PICTURE",
     "link":"URL_TO_SITE"
   }
]
i've also attached a sample of what i need the data to load into.

if someone could help me out with this i would GREATLY appreciate it!!!

thank you
Link to comment
https://forums.phpfreaks.com/topic/284817-loading-data-into-table/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.