Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* =========== */
- /* = Dimension properties = */
- /* =========== */
- var itemSizes =
- {
- "score":
- {
- 'left': 143,
- 'top': 0,
- 'width': 381,
- 'height': 365
- },
- "intro":
- {
- 'left': 143,
- 'top': 0,
- 'width': 392,
- 'height': 410
- },
- "instructions":
- {
- 'left': 143,
- 'top': 0,
- 'width': 392,
- 'height': 400
- },
- "instructions2":
- {
- 'left': 143,
- 'top': 0,
- 'width': 392,
- 'height': 415
- },
- "begin_quiz":
- {
- 'left': 143,
- 'top': 0,
- 'width': 370,
- 'height': 410
- },
- "*":
- {
- 'left': 73,
- 'top': 10,
- 'width': 512,
- 'height': 404
- }
- }
- // if there is not item_type, use the default;
- var itemOpts = (opts.itemArray[opts.itemNum].item_type != "quiz_item") ?
- itemSizes[opts.itemArray[opts.itemNum].item_type] :
- itemSizes["*"];
- if (opts.active)
- {
- $('#quiz_content').show("normal", function()
- {
- $("#quiz_content").empty();
- $("#quiz_outer").animate(itemOpts, "normal", function()
- {
- $("#quiz_content").append($(val)).show();
- $.fn.quizbox.updateDetails();
- });
- });
- }
Add Comment
Please, Sign In to add comment