diff --git a/index.html b/index.html index 0c6b282a..93bdc5f9 100644 --- a/index.html +++ b/index.html @@ -1,70 +1,113 @@ - + + - - - - - + The Bible with Strong's Numbers and Cross References - - + + + + + + + + + + + + + + + + + + - - - - - - -

King James Bible with Strong's Numbers and Cross References

- - - - - -
-
- Display Strongs in Dialog | - Help | - Hide Search | - Switch Panes | Select Font: - | - AA | AA
-
- -
-
-

Search Results:

-
-
-
- diff --git a/index2.html b/index2.html deleted file mode 100644 index 8eda2261..00000000 --- a/index2.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - - - - The Bible with Strong's Numbers and Cross References - - - - - - - - - - - - - - - - - - - - -
- -
-
-
-
-
-
-
-
- - -
-
-
    -
    -
    - -
    -
    -

    Search Results:

    -
    -
    -
    - -
    -
    -

    Settings

    -
      - -
    • -
    • -
    • AA | AA
    • -
    -

    Acceptable Search Items:

    -

    - John 1 (displays whole chapter)
    - John 1-2 (displays both chapters
    - John 1 - John 2 (same as above)
    - John 1:3 - 2:4 (displays verses starting with chapter 1 verse 3 and ending with chapter 2 verse 4)
    - John 1:3 - John 2:4 (same as above)
    - John 1:3-5 (displays verses starting with chapter 1 verse 3 through chapter 1 vs 5)
    - H1234 (displays the Strong's definition for the Hebrew # 1234)
    - G1234 (displays the Strong's definition for the Greek # 1234)
    - Jesus (searches for "Jesus". all search terms assume boolean AND, i.e. "Jesus Christ" assumes "Jesus AND Christ". an word without a number is interpreted as search).
    -

    -

    Terms Excluded from Search Index

    -

    "us", "these", "her", "saith", "shalt", "let", "do", "your", "we", "no", "go", "if", "at", "an", "so", "before", "also", "on", "had", "you", "there", "then", "up", "by", "upon", "were", "are", "this", "when", "thee", "their", "ye", "will", "as", "thy", "my", "me", "have", "from", "was", "but", "which", "thou", "all", "it", "with", "them", "him", "they", "is", "be", "not", "his", "i", "shall", "a", "for", "unto", "he", "in", "to", "that", "of", "and", "the"

    -

    Notes:

    -

    - multiple lookups can be made using a semicolon as a separator, i.e. "Ruth 1; g1234; Jesus").
    -
    The list of results in the main window are sortable, just click and drag to reorder them.

    -
    All Greek/Hebrew cross references translations are taken from the 1933 Webster's version and often are not the same as the KJV translation.
    -
    All source materials were taken from the Zefania XML Bible Project on SourceForge.
    -
    Any Errors and Omission you find would be appreciated. Please contact me via www.jasonwall.org.
    -

    - - -
    -
    -
    - - diff --git a/js/main.js b/js/main.js index 14713b8e..870792e6 100644 --- a/js/main.js +++ b/js/main.js @@ -1,3 +1,19 @@ + +$( document ).on( "pageinit", "#mainpage", function() { + $( document ).on( "swipeleft swiperight", "#mainpage", function( e ) { + // We check if there is no open panel on the page because otherwise + // a swipe to close the left panel would also open the right panel (and v.v.). + // We do this by checking the data that the framework stores on the page element (panel: open). + if ( $.mobile.activePage.jqmData( "panel" ) !== "open" ) { + if ( e.type === "swipeleft" ) { + $( "#searchpanel" ).panel( "open" ); + } else if ( e.type === "swiperight" ) { + $( "#defaultpanel" ).panel( "open" ); + } + } + }); +}); + $(document).ready(function() { $("#searchvalue").keypress(function(event) { @@ -50,16 +66,16 @@ $(document).ready(function() // you need to do this last, otherwise the settings load resets the window height. $(window).bind("resize", function() { - $(".my-breakpoint.ui-grid-c .ui-block-a").css("width", 55); - $(".my-breakpoint.ui-grid-c .ui-block-b").css("width", window.innerWidth - 230); - $(".my-breakpoint.ui-grid-c .ui-block-c").css("width", 100); + $(".my-breakpoint.ui-grid-c .ui-block-a").css("width", 50); + $(".my-breakpoint.ui-grid-c .ui-block-b").css("width", window.innerWidth - 175); + $(".my-breakpoint.ui-grid-c .ui-block-c").css("width", 65); $(".my-breakpoint.ui-grid-c .ui-block-d").css("width", 55); $("#searchresults").css("height", window.innerHeight - 100); return false; }); - $(".my-breakpoint.ui-grid-c .ui-block-a").css("width", 55); - $(".my-breakpoint.ui-grid-c .ui-block-b").css("width", window.innerWidth - 235); - $(".my-breakpoint.ui-grid-c .ui-block-c").css("width", 100); + $(".my-breakpoint.ui-grid-c .ui-block-a").css("width", 50); + $(".my-breakpoint.ui-grid-c .ui-block-b").css("width", window.innerWidth - 175); + $(".my-breakpoint.ui-grid-c .ui-block-c").css("width", 65); $(".my-breakpoint.ui-grid-c .ui-block-d").css("width", 55); $("#searchresults").css("height", window.innerHeight - 100);