Snipe.Net - Geeky Stuff
Twitter
Currently: @etamotweet dammit - you still there? Crap reception and my phone is almost dead in reply to etamotweet 5 hrs ago

Static FBML: Not Every Facebook Fan Page Needs An Application

You don’t always need a custom application for your Facebook fan page to look amazing. Save yourself time and money by using the Static FBML application instead.

If you’ve played around with Facebook pages at all, you know that layout-wise, you don’t have a lot of options. It’s one of the reasons some people prefer MySpace, where you can have custom font colors and sizes and custom backgrounds, and one of the reasons I personally have to be paid to logon to MySpace.

A current misconception seems to be that in order to have any custom content or display elements in a Facebook page, such as a custom tab or profile box with a specific promotion or branded look and feel, you need a Facebook application.

This is not true at all, and hopefully, I can save you a lot of time, headache and money by letting you in on a little secret.

There is a Facebook application called Static FBML that could potentially save you a lot of hassle. This application was put out by Facebook, and it allows you to create custom HTML/FBML boxes and tabs on your Facebook fan page.

At its most sophisticated, the Static FBML app can allow you pull FBML elements into a profile box, boxes tab box, or an entire tab, At its most basic, you can use it to create custom HTML boxes in those same places that you can completely design and brand to your liking.

For example, I recently worked on the Facebook fan page for Sunkist Soda. While we do use a custom application to display recent Twitter posts by the Sunkist Soda Twitter account, there is an entire branded tab that is simple HTML. The “Team” tab on this page isn’t a custom application – it’s simply a Static FBML box with custom HTML.

Sunkist Soda Fan Page - Static FBML Box

We also use a Static FBML box on the main page’s profile, with a small box that includes promotions for various campaigns.

The general rule of thumb is – if you don’t actually need to use any scripted languages like PHP or ASP, and you don’t need to access the API to get the user’s information for any reason, you probably don’t actually need an application. In our Sunkist Soda tab example, we’re not accessing the API, and we’re not doing anything database-related. We’re just displaying a nice background image and some thumbnails that link out.

The end result is a beautifully designed and branded tab or box that looks exactly the way you want it to look. When you need to update the content, just login to Facebook and make your changes in the Static FBML box.

Times When Static FBML is Enough

As I mentioned, if you’re not accessing the API and you’re not doing anything fancy, Static FBML will usually cut it. Also bear in mind that you can use Mock Ajax and FBJS in these boxes, so you could actually have a fairly dynamic tab/box, including expandable onclick elements, etc – without an application.

It basically behaves like a stand-alone webpage within your Facebook fan page.

Some suggestions on where beefing up your fan page with Static FBML can really help:

  • Promotional text/graphics that click through your Facebook application or website
  • HTML version of your latest newsletter in its own tab (with signup box!)
  • A shortcut to important links on your website
  • Any other place where you want a custom look and feel within your fan page

Figuring this out sooner rather than later can save you thousands of dollars if you’re considering hiring someone to help you. A contractor is going to have a vested interest in not mentioning this option to you, because it turns a specialized, several-thousand-dollar project into something any jackhole who knows basic HTML can handle themselves.

Also check out:

If you think this article kicked ass, subscribe to the RSS feed or follow me on Twitter! Share with your friends, or leave a comment below (or better still, do both!) My entire concept of self-worth is in your hands, so that makes you kind of a big deal. Srsly.

This entry was posted on Friday, June 26th, 2009 at 5:31 am and is filed under Featured, Web Development. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
  • Mark
    Hey Snipe, thanks for all the help! I was wondering if you knew of a way to get around making the user click "Add a comment..." when using the <fb:comments> tag. I found an example of it on this page and now i just have to have it! http://www.facebook.com/threadless?v=app_116832...
  • Hi Mark - they may not be using the fb:comments tag, since that tab is definitely an application. It might be a custom commenting piece.
  • Mark
    Well I suppose I will let that go for now... Unfortunately, I am actually having a real problem now.

    I wrote my page and it has a fb:swf object on it. Now I want this item to change everyday, so i thought thats pretty simple and made a file named facebook.swf and facebook.jpg on my domain. I then have a script that will overwrite those files with new files of the same name. Now every time the script runs the flash runs perfectly, however, the image is not updated in real time and I see the last image that was used for some time after it has changed.

    I am guessing that Facebook is caching that image and it is only refreshed every so often. I know its a long shot for you to know of anyway to reset that cache (especially since the idea would be to do it from code so I don't have to), but is there anything you can think of to help me out?
  • Mark
    And in fact now it is sometime reverting back to the very first image that was stored as facebook.jpg and seems to sporadically show images that were used before.
  • Yeah, the problem is that Facebook aggressively caches image across multiple CDNs, which is why I'd normally use an application for a situation like that (instead of a static FBML tab), since I can use the API to request an image refresh.

    You might try setting a clear transparent gif as the swf image, and then setting a background image via CSS in a div that the swf sits in. CSS calls to external images don't get cached I don't think, so that might work. Something like:

    <div style="background: url(http://example.com/image.png)">[your swf code]</div>
  • Mark
    I gave it a try and it looks like they may also cache the css image. Ill give it a little time to maybe clear itself out, but I will probably have to write an application or go with a generic play image...

    Thanks for the try though.
  • Sorry I can't be of more help. :( The CSS trick was the only thing I could think of that wouldn't require an app. If you did an app, though, you could basically use the same code, just tack a timestamp onto the end of the image/swf urls so that it forces a unique url every day. Wouldn't be a lot of extra work.
  • Jeffrey
    Hi snipe. Great stuff in here. I've researched all the links you've provided, but I'm still having trouble. Here is my situation:

    here is my fan page: http://www.facebook.com/EZLinksGolf

    I created a new tab called: Online Tee Times

    I would like feed in this URL: http://zodiacfalls1.ezlinks.com (it is an online booking engine for golf tee times)

    Here is the code that I have:

    <fb:iframe src="https://zodiacfalls1.ezlinks.com/%28S%28tcyy0sav1z1yr4qwyzfrk5fy%29%29/Search/ReservationSearch.aspx"></fb:iframe>

    The URL in the code is what it resolves to. Not sure if this matters or not. In any case, when I click on the Online Tee Times tab a blank page shows up.

    Thank you in advance for any help.

    -Jeff
  • That's because iframes are not allowed in FBML tabs. :(
  • Jeffrey
    So I would need to make an application? What are my options if I want to feed in a URL into an iframe?

    Thanks again.
  • Well, yeah. You've either got to make it into an application and set up the iframe that way, OR, there is a hack that allows you to place an iframe into an fbml box, but being that it's a hack, it's not endorsed (or technically allowed) by Facebook, so that means it can stop working at any time.

    [code]<script>

    function foo(){
    ajax = new Ajax();
    ajax.responseType = Ajax.FBML;

    ajax.ondone = function(data){
    dlg = new Dialog().showMessage('title',data);
    }

    ajax.post('http://yoursite.com/test.php');
    }

    </script>

    <a href="#" onclick="foo(); return false;">book your green[/code]

    Then you have a file, script, whatever resource you want, that serves up the iframe. The contents of that file (in this example, test.php) are:

    [code]<fb:iframe src="https://zodiacfalls1.ezlinks.com/%28S%28tcyy0sav1z1yr4qwyzfrk5fy%29%29/Search/ReservationSearch.aspx"></fb:iframe>[/code]

    (Take out the [code][/code] tags)
  • Jasonwilliams2005
    Very Cool Post I actually discovered Static FBML and was searching on ways to use it when I stubled on your site. The only thing is I am trying to set up a good looking FB page for my website http://pokerheavy.com and it seems like the FBML box only publishes to bxes can I use FBML to create a wall back ground? or in the other sections?
  • You can set it as a tab or in boxes, but when you first add it, it will always default to boxes. Go to Edit Page, find the FBML box you just created, and click on the "application settings" link underneath it. A popup will show up that shows two options - boxes and tab. click "remove" to remove the FBML box from Boxes, and click "add" next to Tabs to add the tab.
  • Maurizio
    Hi snipe, good stuff really. I have a question though; do you know how to put a video within a picture? here is an example, http://www.facebook.com/HiltonCaribbean, thanks!
  • They're not really putting a video within a picture - they've just set the background-image for the div to a specific image, and then coded in a video on top.
  • Maurizio
    oh ok....and do you happen to know how to do that?...:)
    Thanks
  • I think I know what you mean... and it is easy, I have something similar on one of my pages. Check out one of my clients pages ( www.facebook.com/wsichile ). When you get there, it should automatically be opening on the BIENVENIDO (welcome in Spanish tab.) The tab is basically set up like a mini website, with its own navigation bar, etc. On the navigation is an option called "Estudio".

    Choose ESTUDIO and you will see a little text, and a image of a lady holding a notice board. Click on her, and you can se I have a swf running behind her. Now, in this case it is an swf... but the mechanics are the same for movies, or whatever you need.

    Have a check, and if it is what you were asking, I can copy/paste the code for the image/media here for you.

    Let me know
  • Santosh Setty
    Firstly thanks snipe for nice tuts, i just wonder how you displayed twitter feeds on facebook page?? suggestion would be appreciated.

    Thanks
    Santosh Setty
  • I created a cutom application that pulls from the Twitter API. If you don't want to (or don't know how to) make a FB application that reads from the twitter API, you can use one of these badges. Normal JS won't work on FBML boxes, but a few image/html/flash based options are listed. http://mashable.com/2009/03/30/twitter-badges/
  • Thanks a lot for the reply
  • Any idea how to add a like button for page within the static fbml?

    Cheers!
  • Summer
    Just ran across this site. This may be a silly question, but do you have to have a personal profile linked to your business page in order to install Static FBML? Do you recommend having a personal profile linked to a corporate site?
  • Hi Summer - The public can't see who the admins of a page are, so there's no real harm in linking the two. But if you're paranoid, you can always create a separate profile.
  • Duncan
    Hi Snipe

    Sorry to bother but Im going crazy. I have set up a new welcome page which works great, and I wam trying to make it the default page people see when first visiting the site. It should be really easy - as the page should be available in the dropdown in wall settings > Default Landing Tab for Everyone Else, but my new tab is just not an option in there. I only have the option for Info or Wall - thats it. I've scoured for a solution around the net but noone seems to have this issue. Have you any idea why I cant set the page as default? Thanks in advance!
  • Hi Duncan - looks like this has been brought up on the developer forums. No word on why it's happening yet:
    http://forum.developers.facebook.com/viewtopic....
  • Duncan
    Thanks! I actually fixed it - I had to "like" my own page - then they appeared - maybe I was being stupid. But without being my own fan I couldn't see those drop downs. Maybe it will help someone else
  • forrestwang
    very good article.

    btw ,if i want to create an application for the Fan Page.how would i do?
  • You would create it as any other FB app, and specify what file you wish to use as the tab in your FB app settings.
  • ZammyBoi
    Hi Snipe,

    Am completely stuck with Static FBML. I am not a tech person and have never developed any sort of HTML or FBML programmes (in my entire life)! But now I am stuck, as I have been given the responsibility of developing a business page for my company on Facebook. Now the problem is that I am not able to find FBML / HTML codes that can be used for me to spruce up the page I have created. So right now its basically looking like any other FB page!!!

    Would be great if you could help share any link or the codes that can be used to spruce up the Page. Am looking for something more than just basics. {eg. Have to add videos within FBML, background image, collage, clickable tabs within the body of the welcome!

    Appreciate your assistance.

    Cheers,
    Zam
  • Hi Zammy,

    Clickable tabs are explained here:
    http://www.snipe.net/2009/10/mini-site-facebook...

    Background images/colors are simple CSS, not FBML.

    Embedding video is part of the FB API:
    http://wiki.developers.facebook.com/index.php/F...
    http://wiki.developers.facebook.com/index.php/F...

    Not sure what you mean by "collage".
  • ZammyBoi
    Hi Snipe,

    Thanks for the quick reply. As mentioned, I am a complete NON technical person, so do not get CSS (or FBML for that matter); have managed to gain some insight into the technical field over the past 24 hrs, but still quite illiterate! :D

    So all help would be really appreciated:
    1. Is there a code that you could share which i can use for background image?
    2. Collage is a collection of images randomly pasted on a background. Any idea about that?

    Thanks again for the links and the help.

    Cheers,
    Zam
  • Background image:
    http://www.w3schools.com/css/pr_background-imag...

    Collage: That's not a real term in web development. If they are pasted randomly on a background, it sounds like you need to create the collage image in Photoshop or some other graphics program and then just insert the finished image.
  • ZammyBoi
    that's great Snipe.....thanks for all your help! will try n do smething with ur help.....shall get in touch again incase i get stuck
  • Jac
    Is there any reason why one of my fans won't see the Static FBML box we've created? The tab doesn't show up for them when they come to our site. When we've sent them a direct URL it brings them back to the home page. Do you have any answers to why?
  • Great post! I found the Sunkist Soda page on Facebook as I wanted to check out the tab first hand but it appears it's been removed with Twitter now having it's own tab and the photos appearing on the standard 'Photos' tab :(

    I'm curious why they would have done this - any ideas?
  • Hi Josh - Sunkist is no longer a client for my agency, so I cannot say why they would do that, unless their new agency wasn't FB savvy enough to make it happen. (I did send them the source code for the Twitter app, and they had access to the FBML tab for photos, but I couldn't guess why they would have chosen not to use it.)
  • mindworks
    I have a question.

    I am just playing around with an idea at the moment, but what I am getting stuck on is the collect the information at the end.

    If you go to http://www.facebook.com/MindworksChile you can see a test page where I try out codes before implimenting them.

    Now, I have a tab called contactanos.

    You can see they pur their name, etc in there... and also there is a drop menu with 3 options.

    So far no problem...

    To collect the fields info I use the code...

    // collect field values
    var queryParams = {
    'name' : document.getElementById('name').getValue(),
    'apellido' : document.getElementById('apellido').getValue(),
    'rut' : document.getElementById('rut').getValue(),
    'email' : document.getElementById('email').getValue(),
    'pregunta' :
    document.getElementById('pregunta').getValue(),
    'menu2' :
    document.getElementById('menu2').getValue(),
    'send' :
    document.getElementById('send').getValue(),
    'origin' : document.getElementById('orgin').getValue()
    };
    ajax.post('http://mindworks.cl/facebook/mindworkschile/contactus.php?sys=fbpage', queryParams);
    return false;
    }
    </script>

    But, It is NOT collecting the info.

    If I take out the drop menu... the iformatino is sent to my server, and I collect the information perfectly, but when I put the drop menu back again... nothing.

    I am sure this is simply an eror in mym php on the server, or in the HTML...

    I have been tearing my hair out for 3 days now, and am still no closer to solving this. Any help.

    Would you like to to post the contact.php, and the HTML code in FBML so you can see exactly what is there (and for others to help themselves too?)

    Thanks
  • fredweiner
    Hi, I am trying to ad 4 tabs that are 1/4 inch each in a profile box that open into different linked areas of other sites and video's but cannot find any recipe or that. Can you help? Thanks in advance, Fred:)
  • Paul
    Question.. my FBML pages... all of them... just vanished.

    It seems to load.... but then nothing happens. This happened around 6 hours ago, and then on checking more sites I admin... the same thing had happened.

    Here is one of mine. www.facebook.com/wsichile

    The idea was to have a "mini-website" in there. IF you wish I can post up the code I used... but it seems strange that all of them went without a trace, whilst SOME of the tabs like the contact us still work.

    Thanks, any help would be great.
  • Honestly, this has happened before. Facebook occasionally breaks it for some reason. Not much you can do but wait it out for them to fix it. :(
  • Paul
    Oh yeah... they just came back.

    What a strange thing. Oh well, panic over thanks.
  • Hi and thank you for youre insights - very helpfull to a facebook-page rookie!

    I'm wondering if it's possible to embed a swf-file via static FBML to? - and if so - how do I go about that?

    Kind regards
    Jesper Friis
  • mindworks
    Yeah, super easy.

    1. Upload the swf to your server, or if it is already online, copy the URL.
    2. post in the code to FBML.

    That's it.

    Example code for a video from Youtube would be...

    <fb:swf
    swfbgcolor="000000" imgstyle="border-width:3px; border-color:white;"
    swfsrc='http://www.youtube.com/v/xxxxxxxxxx'
    imgsrc='http://img.youtube.com/vi/xxxxxxxxxx/2.jpg' width='340' height='270' />
  • Thanks I was just trying to decide whether to learn to make an FB app, didn't know that so much could be done with Static FBML. You've saved me a LOT of time!!
  • Bartolo
    Hy Snipe I think u are great. Could u tell us how to embed ifram in to fb page using this script im sort of a usles here. thanks a lot:
    <a onClick="outside_location.setInnerFBML(link_1);" style="cursor: pointer;">Let's see that iframe....

    <div id="outside_location"></div>
    <fb:js-string var="link_1">
    <fb:iframe height="500" allowTransparency="true" frameborder="0" scrolling="no" style="width:100%; border:none" src="http://URL-TO-OUTSIDE-LOCATION"></fb:iframe>
    </fb:js-string>

    <script type="text/javascript" charset="utf-8">
    var outside_location = document.getElementById('outside_location');
    </script>
  • kit
    you're awesome! thank you so much for the information
  • caparepandrew
    Thanks for all of this helpful information. What I'm trying to do is this:

    pull video from a vimeo rss feed and display it like the FBJS example you have on facebook with the pumpkin carving gallery.

    I understand that I need to create an application to parse the rss then call that into a css/fbml gallery script?

    A tutorial on something like this would be awesome! I'm sure other people would like to do something similar (I actually want to use yahoo pipes to aggregate more RSS content to pull into my eventual FBML/app tab)
  • Don Shapiro
    Hi,

    You helped me with a simple HTML issue for my FBML box, now I have another one. Why are the simple things so hard to find. I've been to 30 HTML code assistance sites and none of them offered an answer.

    I want to specify the width of my FBML box so that it does not go across the entire page (available area provided by Facebook). I would like the box to be somewhere between 40% to 50% of the available space. I will need to play with this once I know how to code the box width.

    Any help will be greatly appreciated.

    Thanks, Don
  • Hi Don - you'd want to use a div tag, and use style="width: 50%"
  • Don Shapiro
    Thanks! BTW, do you offer professional services to code more complex FBML pages like you would see for a music artist?
  • aliew
    For some reason I can not add this app to my FB fan page. Every time I go to the Static FBML app page, I only have the choice to add it to my favorites. when i log out of my company's page and login with my own personal account, I can see the add to page button, but when I log back in as my work, that button is gone. Any advice?
  • kevin
    same problem for me... any solution?
  • We love this application and use it regularly with clients as well. You provided some good tips, people are always asking how to personalize their page. Thanks for sharing. :)
  • jweaving
    Ignoring the blog-roll on the righthand side, I am looking to insert a page within a custom tab similar to our site's page:

    http://www.bullsonwallstreet.com/Blog.aspx

    It would be a page hosted on our site with simple design background -- only graphics and the YouTube video that is on that link. This is similar to what you've described with your Sunkist example.

    I do know how to insert a YouTube video into a custom tab via FBML code, but it looks really crappy -- that's why I'd rather go this design route. The FBML code for YouTube makes you click on the image, then it loads the YouTube player to click on (horrible). Other company fan pages have done similar programming to what I'm suggesting.

    What do you suggest? How do I go about doing this?
  • jweaving
    There's a few things I'd like to do with our fan page... I'll try to break it down in pieces...

    I like the model of Walgreen's fan page: http://facebook.com/walgreens -- it prompts non-fans to their custom tab called "Fan Offer." I've read that this was coded via FBML. Non-fans are presented with Walgreen's sales offer to get users to become fans, once they become fans the default landing page is the Wall. (Non-Fan default page is "Fan Offer"). Once you become a fan and return to the "Fan Offer" tab, it's dynamic -- I'm not concerned about changing the images with coupons/offers like Walgreens, but I DO like the model.

    Here are my questions:

    1) How do I set the Non-Fan default landing page to the custom FBML tab?
    2) How do I set the Fan default page to the Wall?
    3) How do I change the custom FBML tab image to a basic web image page image -- it would be nothing more than HTML redirect, what is more important is how do I change the image after 'fanning.'

    There are a number of sites that do the same thing, so I know it can be done. I just don't know how...

    I have another question, but I'll leave that for a separate post. :)
  • treseh7
    Hi, what is the name of the FBML app to use to create a Twitter feed? Or, can you direct me to sample HMTL code I can copy & customize? Thanks.
  • Do you mean to display a user's Twitter feed in a page? Do a search on "Twitter" in the application directory. Not sure off the top of my head. The stuff I did was custom-built.
  • Just a quick question if you don't mind. I found a custom facebook fan page that includes some feed from a calendar. http://www.facebook.com/fsusga
    How are they pulling that information in? I know you can't iframe in something. I just cannot figure out how to pull in an RSS feed or XML within FBML.
  • You cannot do it in just FBML, you have to use a scripting language like PHP or ASP. That tab is not a Static FBML page, it is an application: http://www.facebook.com/apps/application.php?id...
  • Ok, so let me ask this. 1) Can I incorporate the WALL into FBML code? I want a page that people can communicate on and I don't want to use the COMMENTS code. So, can I pull in the Wall?
    2) I found an App called SocialRSS which works great. But, it adds it to another tab. How do I incorporate that APP into my FBML page? Thanks!
  • 1) Not that I know of
    2) Cannot do it. Static FBML is it's own application and doesn't allow you to stick in other apps.
  • Ok, I think I'm getting there. I just created my first basic app. When I went to my app page, I have to ALLOW ACCESS to view the app. Once I allowed, it worked fine. So the link I sent yesterday that you said was an app (http://www.facebook.com/fsusga), it did not ask me to Allow the App.
    I also notice my app test page does not have tabs. Am I not allowed a tab until I submit it to the directory?
  • Ok, so I figured out the tabs. For anyone that wants to know, within the Application, under the Profiles tab, you actually have to enter the page name (index.php) when you enter a page name. I assumed it would know index.php.

    But, I am still a little lost on the Allow Access. If you don't do the $facebook->require_login or put anything else USER related, it does not ask for Access. Am I correct in assuming this is the way it should work. I mean, it makes sense that someone has to be logged in. But, do we really need to get their Approval to display "friends, comments, etc"
  • To clarify for readers, that's the Profiles tab in the Application Settings screen. Many times (more often than not, really) the tab page is not meant to be the index page, which is why they let you choose. Since a tab page has to be designed with a more narrow layout to fit into the tab design, some people create a tab version and a canvas page version, each sized optimally for the restrictions of where it appears.

    I'm not sure if they have changed what requires approval, but its traditionally been ANY time you're accessing user-specific information, you need their approval.
  • You rock! Thanks for explaining so much information. Lastly, why would I ever build a "canvas" if it cannot have a tab associated with it?
  • Just depends on the app. Some apps are developed independently by people or companies that don't have or want a fan page - or because the app itself is too wide to fit in the smaller tab area and they didn't have the time or budget to create two versions. They just want you to go to the app canvas page.

    There are some limitations on apps in canvas pages that Facebook has imposed as well, so directing people right to the canvas page is sometimes better for the flow of the game.
  • tomsmarch
    Great article. Is there an easy way to display my web page in one of the FBML tab areas like you have for Sunkist? I am a photographer and it does exsists in an app for photographers who use showit websites but I do not use them and want to do it on my own.
  • Hi Tom - no way to include a website. You'd have to design something specifically for Facebook and code that out in the FBML.
  • kprDOTnu
    iam dumb.

    can i add java script to fbml static? if not how can i add a java poll it my page. thanks for any responses.
  • You can add some basic FBJS, but adding a poll calls 3rd party scripts, so that wouldn't be allowed.
  • It's amazing what some basic HTML can do to to FB - so tired of the blue and white!

    Cheers for the post.
  • leej0nes
    On the Sunkist Soda page I see that you are able to dynamically load content upon click the tab. So far I have been unable to do this - I have the AJAX calls working and the JSON data turned into nice pretty FB style items - but have yet to discover how to do this without having to click an element. Please can you provide a code snippet?
  • I'm not sure I understand what you're asking. Which content are you referring to, and can you give me an example of what you're trying to do with a little more specifics?
  • leej0nes
    Further to my last message. I've tried things like setInterval/setTimeout
    in the script block's global scope but to no avail.

    --
    Lee
  • Generally speaking, in FB, you can't do things like that. Facebook doesn't let you automatically load any kind of script that could potentially load content the user isn't expecting. It's the same way that their FBJS onmouseover events ONLY work after the user has clicked something else on the page.
  • leej0nes
    Argh!. Ok I can see the security implications but hell thats an unfortunate
    limitation. Are there any kind of workarounds?

    Thanks again.
  • Sort of, but not really :D 1) Do it in Flash. (I know, I know.) 2) Do it the way I mentioned earlier - letting your server side scripting language (like PHP, ASP, etc) handle the JSON parsing. The parsing isn't done via Javascript that pont, so you can display whatever you want. You could display all of your offers, or just stash the parsed data into your javascript, to reveal selectively when the user clicks on specific things, (sort by, etc.)
  • leej0nes
    Ok thanks for the help, much appreciated. I guess I'll have to come up with
    some creative wording for the click...

    --
    Lee
  • But again, you don't need the click if you parse the JSON server-side and then just display the contents as part of the normal page load content.
blog comments powered by Disqus