How often do you ignore speed limits while driving?
- Never
- Occasionally
- Often
- Always
Traffic Update
Auckland
"); } $.each(road.directions, function(direction, stat) { var level = stat.level.toLowerCase().replace(' ', ''); if (direction.toLowerCase() == 'citybound') { var dir = 'right'; } else { var dir = 'left'; } var $div = $("" + direction + " " + stat.name + ": " + stat.level + "
"); $('#trafficcontent').append($div); }); // set cookie so this tab is remembered when we come back $.cookie('traffic',road.abbrev,{expires:365}); }); // if nothing is selected yet select the first tab, otherwise see if we can match the cookie if (road.abbrev == $.cookie('traffic')){ selected_li = $li; } $('#traffictabs').append($li); }); // end of closure / loop // if something was selected via cookie then click it if (selected_li) { selected_li.click(); // otherwise pick something random } else { var tabs = $('#traffictabs li') var index = Math.floor(Math.random() * (tabs.length)); $(tabs[index]).click(); $.cookie('traffic',null); } });Source: http://www.nzherald.co.nz/world/news/article.cfm?c_id=2&objectid=10777238&ref=rss
zook john elway john elway eric decker eric decker dallas cowboys cheerleaders leftover turkey recipes
No comments:
Post a Comment