Modified:
trunk/timeline_new.html
Log:
removed the string "id="
Modified: trunk/timeline_new.html
==============================================================================
--- trunk/timeline_new.html (original)
+++ trunk/timeline_new.html Thu Oct 23 13:06:32 2008
@@ -36,7 +36,7 @@
// bodyLine1 = "\<body onresize=\"onResize\(\)\;\" \>";
bodyLine2 = "\<div id=\"my-timeline\" class=\"timeline-default\" style=\""
+ heightString + widthString + "\>"
-bodyLine3 = "\<script src=\""+ 'http://api.npr.org/query?id=' +
parent.parent.qgliteFrame.document.selectionForm.queryBox.value
+ "\&apiKey\=MDAxNzgwMDQ5MDEyMTQ4NzYyMjU4YmY1Yw004\&output\=JSON\&callback\=parseJSON\"
type=\"text\/javascript\"\>\<\/script\>";
+bodyLine3 = "\<script src=\""+ 'http://api.npr.org/query?' +
parent.parent.qgliteFrame.document.selectionForm.queryBox.value
+ "\&apiKey\=MDAxNzgwMDQ5MDEyMTQ4NzYyMjU4YmY1Yw004\&output\=JSON\&callback\=parseJSON\"
type=\"text\/javascript\"\>\<\/script\>";
// bodyCode = bodyLine1 + "\r" + bodyLine2 + "\r" + bodyLine3;
bodyCode = bodyLine2 + "\r" + bodyLine3;
document.write(bodyCode);