From 030c96770297938fe50ec405320b2dfd0d535091 Mon Sep 17 00:00:00 2001 From: Fay Cross Date: Thu, 15 Nov 2012 16:38:16 +0000 Subject: [PATCH] HTML5 - Changed navigator models so they can now show swfs as well as images on them git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@500 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641 --- .../Nottingham/models_html5/accNav.html | 25 +++++++++++++++---- .../Nottingham/models_html5/buttonNav.html | 25 +++++++++++++++---- .../Nottingham/models_html5/tabNav.html | 25 +++++++++++++++---- .../Nottingham/models_html5/textSWF.html | 6 ++--- 4 files changed, 63 insertions(+), 18 deletions(-) diff --git a/modules/xerte/parent_templates/Nottingham/models_html5/accNav.html b/modules/xerte/parent_templates/Nottingham/models_html5/accNav.html index 18dee7198b..63ff5f5b06 100644 --- a/modules/xerte/parent_templates/Nottingham/models_html5/accNav.html +++ b/modules/xerte/parent_templates/Nottingham/models_html5/accNav.html @@ -49,12 +49,18 @@ $thisHeader.find("a").html(this.getAttribute("name")); var infoString = x_addLineBreaks('

' + this.getAttribute("text") + '

'); - if (this.getAttribute("url") != undefined && this.getAttribute("url") != "") { - var newString = '

'; + } else { + newString += '
' + this.getAttribute("text") + '

'); - if (this.getAttribute("url") != undefined && this.getAttribute("url") != "") { - var newString = '

'; + } else { + newString += '
' + this.getAttribute("text") + '

'); - if (this.getAttribute("url") != undefined && this.getAttribute("url") != "") { - var newString = '

'; + } else { + newString += '