Permalink
Browse files

Fixed all the things I understand are going wrong. Still wondering wh…

…at else is broken at the moment.
  • Loading branch information...
1 parent afb97ca commit b454e8305ed9782b565fd3a9a0a23d3584629478 @kamron committed Jan 26, 2013
Showing with 14 additions and 13 deletions.
  1. +13 −3 index.htm
  2. +1 −10 main.htm
View
@@ -18,8 +18,11 @@
<html>
<head>
<meta name="x-blackberry-defaultHoverEffect" content="false" />
- <link rel="stylesheet" type="text/css" href="bbui.css"><link />
- <script type="text/javascript" src="bbui.js"></script>
+ <link rel="stylesheet" type="text/css" href="css/bbui.css"><link />
+ <script type="text/javascript" src="js/bbui.js"></script>
+ <script type="text/javascript" src="js/jquery.min.js"></script>
+ <script type="text/javascript" src="js/jquery.fortune.js"></script>
+
<script type="text/javascript" src="local:///chrome/webworks.js"></script>
<script type="text/javascript">
var webworksreadyFired = false;
@@ -75,7 +78,14 @@
evt.initEvent('webworksready', true, true);
document.dispatchEvent(evt);
}
- });
+ $(document).ready(function() {
+ $("#contention").fortune({file: "./contentions.json", cookieNode: "contentions", metaNodes: {theIndex: "index", theContent: "content"}, animate: true});
+ $('#another').click(function() {
+ $("#contention").fortune({file: "./contentions.json", cookieNode: "contentions", metaNodes: {theIndex: "index", theContent: "content"}, animate: true});
+ return false;
+ });
+ });
+ });
</script>
</head>
<body>
View
@@ -1,22 +1,13 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<script type="text/javascript">
- $(document).ready(function() {
- $("#contention").fortune({file: "./contentions.json", cookieNode: "contentions", metaNodes: {theIndex: "index", theContent: "content"}, animate: true});
- $('#another').click(function() {
- $("#contention").fortune({file: "./contentions.json", cookieNode: "contentions", metaNodes: {theIndex: "index", theContent: "content"}, animate: true});
- return false;
- });
- });
</script>
<div data-bb-type="screen" data-bb-effect="fade">
<div id="foo" data-bb-type="title" data-bb-caption="Fortune!"></div>
- <div data-bb-type="round-panel">
- <div id="contention">
+ <div id="contention" data-bb-type="round-panel">
<div class="index">&nbsp;</div>
<div class="content">&nbsp;</div>
- </div>
<div>
<div id="another" data-bb-type="button" data-bb-style="stretch" onclick="document.getElementById('foo').setActionCaption('foo');">Another!</div>
</div>

0 comments on commit b454e83

Please sign in to comment.