Archive

Posts Tagged ‘myjson’

Firefox Toolbar Project For Team 1

June 30th, 2011 Comments off

I am looking for a Firefox toolbar to be created. It must be compatible with Firefox 3, 4 and 5. The first rendition doesn’t need to be particularly polished

Please see the wireframe:
http://i.imgur.com/i95UC.jpg


Most links just create navigation. 99% of the working code is with the “Start” button. Aside from navigating windows, the toolbar will need to retrieve JSON data in the background as well as interact with the toolbar interface itself. Please see the meta-code below. It is written in PHP because that is the language I am most familiar with. I understand that the structure may need to change somewhat, particularly to accomodate the sleep functionality.

****PLEASE POST SCREENSHOTS OF PAST TOOLBAR WORK WITH YOUR BID****

***Begin Start Button***
$isCancelled = false;
$isSkipped = false;
$userName = [get from user input];

$myJson = get(‘http://www.mysite.com/watchxml.php?r=’.$userName);

$vidUrl = $myJson['vidUrl'];
$vidLength = $myJson['vidLength'];
$pointsToday = $myJson['pointsToday'];
$pointsTotal = $myJson['pointsTotal'];
$updateLink = $myJson['updateLink'];

updatePointsTodayOnToolbar($pointsToday);
updatePointsTotalOnToolbar($pointsTotal);

navigateBrowserTo($vidUrl);

while(!$isCancelled)
{
$secondsWaited = 0;
while($secondsWaited < $vidLength

Firefox Toolbar – Sample Code And Wireframe Included

June 30th, 2011 Comments off

I am looking for a Firefox toolbar to be created. It must be compatible with Firefox 3, 4 and 5. The first rendition doesn’t need to be particularly polished

Please see the wireframe:
http://i.imgur.com/i95UC.jpg

Most links just create navigation. 99% of the working code is with the “Start” button. Aside from navigating windows, the toolbar will need to retrieve JSON data in the background as well as interact with the toolbar interface itself. Please see the meta-code below. It is written in PHP because that is the language I am most familiar with. I understand that the structure may need to change somewhat, particularly to accomodate the sleep functionality.

****PLEASE POST SCREENSHOTS OF PAST TOOLBAR WORK WITH YOUR BID****

***Begin Start Button***
$isCancelled = false;
$isSkipped = false;
$userName = [get from user input];

$myJson = get(‘http://www.mysite.com/watchxml.php?r=’.$userName);

$vidUrl = $myJson['vidUrl'];
$vidLength = $myJson['vidLength'];
$pointsToday = $myJson['pointsToday'];
$pointsTotal = $myJson['pointsTotal'];
$updateLink = $myJson['updateLink'];

updatePointsTodayOnToolbar($pointsToday);
updatePointsTotalOnToolbar($pointsTotal);

navigateBrowserTo($vidUrl);

while(!$isCancelled)
{
$secondsWaited = 0;
while($secondsWaited < $vidLength

Bear