Inserting html

When inserting html code into my muse website it seems to move my headings and images move down how can i prevent this from happening?

Hi William
I can give you a couple of options for html editors:
1. Download Taco HTML Edit (It's free)
2. Use Text Edit, (To use Text Edit, launch the app, go to Text Edit > Preferences > Click Open and Save > Check “Ignore rich text commands in html files”)
With regards to how to insert the text, take a look at the articles page from Michael Wong's site www.rowan-cottage.co.uk.
Or if you are putting the same text on multiplpe pages look at some thing like MassReplaceIt, there is an article on using this tool for favicons at www.willg4pb.com, used in conjunction with the article from Michael it makes it all quick and easy!
Will
1GHz G4, 15" PowerBook, Airport Extreme & Express, 1G iPod Mini   Mac OS X (10.4.6)   Please help others by marking questions as Answered (+perhaps Solved or Helpful)

Similar Messages

  • Inserting HTML into a table?

    I am trying to find an easier method of inserting html code into a column of type varchar2. I have to insert 100's of lines of html into a table weekly and the inserts keep failing because of special charecters within the html code itself. I have written scripts using UTL_FILE functions but this is very tedious to do weekly. Is there a better method to accomplish inserting html?

    try this.
    Hi,
    procedure start_import (p_filename in varchar2)
    is
    v_lob clob;
    v_offset number := 1;
    v_file bfile := bfilename('IMPORT',p_filename);
    v_lob_length number;
    begin
    -- File open
    dbms_lob.fileopen(v_file);
    -- get file length
    v_lob_length := dbms_lob.getlength(v_file);
    -- Create temp LOB (CACHED)
    dbms_lob.createtemporary(v_lob,TRUE);
    -- fill Temp Lob with filecontent
    dbms_lob.loadfromfile(v_lob,v_file,v_lob_length);
    -- Close file
    dbms_lob.fileclose(v_file);
    So, now you have the Filecontent in your temp LOB.
    For more info. about LOB, read Oracle Documentation.
    Hope this helps,
    Kalpen
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Troy Johnson ([email protected]):
    I am trying to find an easier method of inserting html code into a column of type varchar2. I have to insert 100's of lines of html into a table weekly and the inserts keep failing because of special charecters within the html code itself. I have written scripts using UTL_FILE functions but this is very tedious to do weekly. Is there a better method to accomplish inserting html?<HR></BLOCKQUOTE>
    null

  • Inserting HTML/CSS in a Tabbed Panel

    I've been having trouble inserting HTML/CSS into a Tabbed Panel widget. In this case, the HTML/CSS is creating a text box with scroll bars (as described in an excellent workaround for getting scroll bars to work).
    Has anyone else come across this situation?
    Thanks!

    I'm not seeing the same problem (the scrolling text box displays fine in the tabbed panel for me).
    Does your HTML container fit within the content area of the panel?
    Here are screenshots from Muse Design view:
    and Preview in Browser (Firefox):
    When you say it's not working, what exactly do you mean? What's happening?
    Best regards,
    Corey
    Edited: Adding topic on creating scrolling text box for reference: http://forums.adobe.com/message/4327943#4327943)

  • Inserting html into a composition in muse

    Hi, I am trying to insert some html into a composition in Muse.  I would like to have a clickable button trigger, and then a kind of overlay opens up with an interactive calculator inside.  I have the html for the calculator, the problem is no matter how I try to insert it into Muse, the calculator either disappears (as well as the trigger) for some reason, or the calculator stays on the page the entire time, losing the whole clickable effect.
    Can someone tell me the best way to do this?

    Hello,
    Which Composition are you trying to Use ? Blank,Featured News, Lightbox Display, Presentation or Tooltip ?
    Also Make Sure to drag and drop the inserted HTML window over the target (Border of target gets activated once you move it over), Hopefully this will work.
    I created the same using Tooltip composition and its working fine. Please take a look at the link.
    Home
    If it do not work then please share the calculator HTML  code that you are inserting so that I can do some test at my end.
    Regards
    Vivek

  • How to insert HTML content in a IVIEW

    Hi,
    How to insert HTML content in a iview any body help me with the solution.
    Thanks & Regards
       kiran.B

    Hi,
    You can just spit out HTML in the request object:
    request.write("<B>Whatever</B>");
    Or if you have a single HTML page, you might want to just add it to KM and create an iView from it.
    Hope this helps.
    Daniel

  • Insert html

    I am creating a mobile application in indesign and then using DPS...wondering how i can insert the following html...they are learning activities that we created using a seperate application (Hot Potatoes)...i have succesfully integrated them into applications using Dreamweaver and Phonegap but indesign and DPS appears to be the direction that this is moving.  When i try and insert the code into the "insert html" function it doesn't all fit so I am wondering if there is any way to work around this...
    not sure if this is better for the indesign forum or the DPS forum...the code for the activities is below...thanks
    <?xml version="1.0"?>
           <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11.dtd">
           <html xmlns="http://www.w3.org/1999/xhtml"
                 xml:lang="en"><head>
    <meta name="author" content="Created with Hot Potatoes by Half-Baked Software, registered to Tim Fanning."></meta>
    <meta name="keywords" content="Hot Potatoes, Hot Potatoes, Half-Baked Software, Java, University of Victoria"></meta>
    <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" />
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>
    Acura NSX Commercial
    </title>
    <!-- Made with executable version Java Hot Potatoes 6.1.0.5 -->
    <!-- The following insertion allows you to add your own code directly to this head tag from the configuration screen -->
    <style type="text/css">
    /* This is the CSS stylesheet used in the exercise. */
    /* Elements in square brackets are replaced by data based on configuration settings when the exercise is built. */
    /* BeginCorePageCSS */
    /* Made with executable version Java Hot Potatoes 6.1.0.5 */
    /* Hack to hide a nested Quicktime player from IE, which can't handle it. */
    * html object.MediaPlayerNotForIE {
              display: none;
    body{
              font-family: gill sans, heletevica;
              background-color: #ffffff;
              color: #000000;
              margin-right: 5%;
              margin-left: 5%;
              font-size: 14;
    p{
              text-align: left;
              margin: 0px;
              font-size: 100%;
    table,div,span,td{
              font-size: 100%;
              color: #000000;
    div.Titles{
              padding: 0.5em;;
              text-align: center;
              color: #009900;
    button{
              font-family: gill sans, heletevica;
              font-size: 100%;
              display: inline;
    .ExerciseTitle{
              font-size: 140%;
              color: #009900;
    .ExerciseSubtitle{
              font-size: 120%;
              color: #009900;
    div.StdDiv{
              background-color: #ffffff;
              text-align: center;
              font-size: 100%;
              color: #000000;
              padding: 0.5em;
              border-style: solid;
              border-width: 1px 1px 1px 1px;
              border-color: #000000;
              margin-bottom: 1px;
    /* EndCorePageCSS */
    .RTLText{
              text-align: right;
              font-size: 150%;
              direction: rtl;
              font-family: "Simplified Arabic", "Traditional Arabic", "Times New Roman", gill sans, heletevica;
    .CentredRTLText{
              text-align: center;
              font-size: 150%;
              direction: rtl;
              font-family: "Simplified Arabic", "Traditional Arabic", "Times New Roman", gill sans, heletevica;
    button p.RTLText{
              text-align: center;
    .RTLGapBox{
              text-align: right;
              font-size: 150%;
              direction: rtl;
              font-family: "Times New Roman", gill sans, heletevica;
    .Guess{
              font-weight: bold;
    .CorrectAnswer{
              font-weight: bold;
    div#Timer{
              padding: 0.25em;
              margin-left: auto;
              margin-right: auto;
              text-align: center;
              color: #009900;
    span#TimerText{
              padding: 0.25em;
              border-width: 1px;
              border-style: solid;
              font-weight: bold;
              display: none;
              color: #009900;
    span.Instructions{
    div.ExerciseText{
    .FeedbackText, .FeedbackText span.CorrectAnswer, .FeedbackText span.Guess, .FeedbackText span.Answer{
              color: #009900;
    .LeftItem{
              font-size: 100%;
              color: #000000;
              text-align: left;
    .RightItem{
              font-weight: bold;
              font-size: 100%;
              color: #000000;
    span.CorrectMark{
    input, textarea{
              font-family: gill sans, heletevica;
              font-size: 120%;
    select{
              font-size: 100%;
    div.Feedback {
              background-color: #ffffff;
              left: 33%;
              width: 34%;
              top: 33%;
              z-index: 1;
              border-style: solid;
              border-width: 1px;
              padding: 5px;
              text-align: center;
              color: #009900;
              position: absolute;
              display: none;
              font-size: 100%;
    div.ExerciseDiv{
              color: #000000;
    /* JMatch flashcard styles */
    table.FlashcardTable{
              background-color: transparent;
              color: #000000;
              border-color: #000000;
              margin-left: 5%;
              margin-right: 5%;
              margin-top: 2em;
              margin-bottom: 2em;
              width: 90%;
              position: relative;
              text-align: center;
              padding: 0px;
    table.FlashcardTable tr{
              border-style: none;
              margin: 0px;
              padding: 0px;
              background-color: #ffffff;
    table.FlashcardTable td.Showing{
              font-size: 140%;
              text-align: center;
              width: 50%;
              display: table-cell;
              padding: 2em;
              margin: 0px;
              border-style: solid;
              border-width: 1px;
              color: #000000;
              background-color: #ffffff;
    table.FlashcardTable td.Hidden{
              display: none;
    /* JMix styles */
    div#SegmentDiv{
              margin-top: 2em;
              margin-bottom: 2em;
              text-align: center;
    a.ExSegment{
              font-size: 120%;
              font-weight: bold;
              text-decoration: none;
              color: #000000;
    span.RemainingWordList{
              font-style: italic;
    div.DropLine {
              position: absolute;
              text-align: center;
              border-bottom-style: solid;
              border-bottom-width: 1px;
              border-bottom-color: #009900;
              width: 80%;
    /* JCloze styles */
    .ClozeWordList{
              text-align: center;
              font-weight: bold;
    div.ClozeBody{
              text-align: left;
              margin-top: 2em;
              margin-bottom: 2em;
              line-height: 2.0
    span.GapSpan{
              font-weight: bold;
    /* JCross styles */
    table.CrosswordGrid{
              margin: auto auto 1em auto;
              border-collapse: collapse;
              padding: 0px;
              background-color: #000000;
    table.CrosswordGrid tbody tr td{
              width: 1.5em;
              height: 1.5em;
              text-align: center;
              vertical-align: middle;
              font-size: 140%;
              padding: 1px;
              margin: 0px;
              border-style: solid;
              border-width: 1px;
              border-color: #000000;
              color: #000000;
    table.CrosswordGrid span{
              color: #000000;
    table.CrosswordGrid td.BlankCell{
              background-color: #000000;
              color: #000000;
    table.CrosswordGrid td.LetterOnlyCell{
              text-align: center;
              vertical-align: middle;
              background-color: #ffffff;
              color: #000000;
              font-weight: bold;
    table.CrosswordGrid td.NumLetterCell{
              text-align: left;
              vertical-align: top;
              background-color: #ffffff;
              color: #000000;
              padding: 1px;
              font-weight: bold;
    .NumLetterCellText{
              cursor: pointer;
              color: #000000;
    .GridNum{
              vertical-align: super;
              font-size: 66%;
              font-weight: bold;
              text-decoration: none;
              color: #000000;
    .GridNum:hover, .GridNum:visited{
              color: #000000;
    table#Clues{
              margin: auto;
              vertical-align: top;
    table#Clues td{
              vertical-align: top;
    table.ClueList{
      margin: auto;
    td.ClueNum{
              text-align: right;
              font-weight: bold;
              vertical-align: top;
    td.Clue{
              text-align: left;
    div#ClueEntry{
              text-align: left;
              margin-bottom: 1em;
    /* Keypad styles */
    div.Keypad{
              text-align: center;
              display: none; /* initially hidden, shown if needed */
              margin-bottom: 0.5em;
    div.Keypad button{
              font-family: gill sans, heletevica;
              font-size: 120%;
              background-color: #ffffff;
              color: #000000;
              width: 2em;
    /* JQuiz styles */
    div.QuestionNavigation{
              text-align: center;
    .QNum{
              margin: 0em 1em 0.5em 1em;
              font-weight: bold;
              vertical-align: middle;
    textarea{
              font-family: gill sans, heletevica;
    .QuestionText{
              text-align: left;
              margin: 0px;
              font-size: 100%;
    .Answer{
              font-size: 120%;
              letter-spacing: 0.1em;
    .PartialAnswer{
              font-size: 120%;
              letter-spacing: 0.1em;
              color: #009900;
    .Highlight{
              color: #000000;
              background-color: #ffff00;
              font-weight: bold;
              font-size: 120%;
    ol.QuizQuestions{
              text-align: left;
              list-style-type: none;
    li.QuizQuestion{
              padding: 1em;
              border-style: solid;
              border-width: 0px 0px 1px 0px;
    ol.MCAnswers{
              text-align: left;
              list-style-type: upper-alpha;
              padding: 1em;
    ol.MCAnswers li{
              margin-bottom: 1em;
    ol.MSelAnswers{
              text-align: left;
              list-style-type: lower-alpha;
              padding: 1em;
    div.ShortAnswer{
              padding: 1em;
    .FuncButton {
              text-align: center;
              border-style: solid;
              border-left-color: #ffffff;
              border-top-color: #ffffff;
              border-right-color: #7f7f7f;
              border-bottom-color: #7f7f7f;
              color: #000000;
              background-color: #ffffff;
              border-width: 2px;
              padding: 3px 6px 3px 6px;
              cursor: pointer;
    .FuncButtonUp {
              color: #ffffff;
              text-align: center;
              border-style: solid;
              border-left-color: #ffffff;
              border-top-color: #ffffff;
              border-right-color: #7f7f7f;
              border-bottom-color: #7f7f7f;
              background-color: #000000;
              color: #ffffff;
              border-width: 2px;
              padding: 3px 6px 3px 6px;
              cursor: pointer;
    .FuncButtonDown {
              color: #ffffff;
              text-align: center;
              border-style: solid;
              border-left-color: #7f7f7f;
              border-top-color: #7f7f7f;
              border-right-color: #ffffff;
              border-bottom-color: #ffffff;
              background-color: #000000;
              color: #ffffff;
              border-width: 2px;
              padding: 3px 6px 3px 6px;
              cursor: pointer;
    /*BeginNavBarStyle*/
    div.NavButtonBar{
              background-color: #ffffff;
              text-align: center;
              margin: 2px 0px 2px 0px;
              clear: both;
              font-size: 100%;
    .NavButton {
              border-style: solid;
              border-left-color: #ffffff;
              border-top-color: #ffffff;
              border-right-color: #7f7f7f;
              border-bottom-color: #7f7f7f;
              background-color: #ffffff;
              color: #000000;
              border-width: 2px;
              cursor: pointer;
    .NavButtonUp {
              border-style: solid;
              border-left-color: #ffffff;
              border-top-color: #ffffff;
              border-right-color: #7f7f7f;
              border-bottom-color: #7f7f7f;
              color: #ffffff;
              background-color: #000000;
              border-width: 2px;
              cursor: pointer;
    .NavButtonDown {
              border-style: solid;
              border-left-color: #7f7f7f;
              border-top-color: #7f7f7f;
              border-right-color: #ffffff;
              border-bottom-color: #ffffff;
              color: #ffffff;
              background-color: #000000;
              border-width: 2px;
              cursor: pointer;
    /*EndNavBarStyle*/
    a{
              color: #009900;
    a:visited{
              color: #009900;
    a:hover{
              color: #009900;
    div.CardStyle {
              position: absolute;
              font-family: gill sans, heletevica;
              font-size: 100%;
              padding: 5px;
              border-style: solid;
              border-width: 1px;
              color: #000000;
              background-color: #ffffff;
              left: -50px;
              top: -50px;
              overflow: visible;
    .rtl{
              text-align: right;
              font-size: 140%;
    </style>
    <script type="text/javascript">
    //<![CDATA[
    <!--
    function Client(){
    //if not a DOM browser, hopeless
              this.min = false; if (document.getElementById){this.min = true;};
              this.ua = navigator.userAgent;
              this.name = navigator.appName;
              this.ver = navigator.appVersion; 
    //Get data about the browser
              this.mac = (this.ver.indexOf('Mac') != -1);
              this.win = (this.ver.indexOf('Windows') != -1);
    //Look for Gecko
              this.gecko = (this.ua.indexOf('Gecko') > 1);
              if (this.gecko){
                        this.geckoVer = parseInt(this.ua.substring(this.ua.indexOf('Gecko')+6, this.ua.length));
                        if (this.geckoVer < 20020000){this.min = false;}
    //Look for Firebird
              this.firebird = (this.ua.indexOf('Firebird') > 1);
    //Look for Safari
              this.safari = (this.ua.indexOf('Safari') > 1);
              if (this.safari){
                        this.gecko = false;
    //Look for IE
              this.ie = (this.ua.indexOf('MSIE') > 0);
              if (this.ie){
                        this.ieVer = parseFloat(this.ua.substring(this.ua.indexOf('MSIE')+5, this.ua.length));
                        if (this.ieVer < 5.5){this.min = false;}
    //Look for Opera
              this.opera = (this.ua.indexOf('Opera') > 0);
              if (this.opera){
                        this.operaVer = parseFloat(this.ua.substring(this.ua.indexOf('Opera')+6, this.ua.length));
                        if (this.operaVer < 7.04){this.min = false;}
              if (this.min == false){
                        alert('Your browser may not be able to handle this page.');
    //Special case for the horrible ie5mac
              this.ie5mac = (this.ie&&this.mac&&(this.ieVer<6));
    var C = new Client();
    //for (prop in C){
    //          alert(prop + ': ' + C[prop]);
    //CODE FOR HANDLING NAV BUTTONS AND FUNCTION BUTTONS
    //[strNavBarJS]
    function NavBtnOver(Btn){
              if (Btn.className != 'NavButtonDown'){Btn.className = 'NavButtonUp';}
    function NavBtnOut(Btn){
              Btn.className = 'NavButton';
    function NavBtnDown(Btn){
              Btn.className = 'NavButtonDown';
    //[/strNavBarJS]
    function FuncBtnOver(Btn){
              if (Btn.className != 'FuncButtonDown'){Btn.className = 'FuncButtonUp';}
    function FuncBtnOut(Btn){
              Btn.className = 'FuncButton';
    function FuncBtnDown(Btn){
              Btn.className = 'FuncButtonDown';
    function FocusAButton(){
              if (document.getElementById('CheckButton1') != null){
                        document.getElementById('CheckButton1').focus();
              else{
                        if (document.getElementById('CheckButton2') != null){
                                  document.getElementById('CheckButton2').focus();
                        else{
                                  document.getElementsByTagName('button')[0].focus();
    //CODE FOR HANDLING DISPLAY OF POPUP FEEDBACK BOX
    var topZ = 1000;
    function ShowMessage(Feedback){
              var Output = Feedback + '<br /><br />';
              document.getElementById('FeedbackContent').innerHTML = Output;
              var FDiv = document.getElementById('FeedbackDiv');
              topZ++;
              FDiv.style.zIndex = topZ;
              FDiv.style.top = TopSettingWithScrollOffset(30) + 'px';
              FDiv.style.display = 'block';
              ShowElements(false, 'input');
              ShowElements(false, 'select');
              ShowElements(false, 'object');
              ShowElements(true, 'object', 'FeedbackContent');
    //Focus the OK button
              setTimeout("document.getElementById('FeedbackOKButton').focus()", 50);
    function ShowElements(Show, TagName, ContainerToReverse){
    // added third argument to allow objects in the feedback box to appear
    //IE bug -- hide all the form elements that will show through the popup
    //FF on Mac bug : doesn't redisplay objects whose visibility is set to visible
    //unless the object's display property is changed
              //get container object (by Id passed in, or use document otherwise)
              TopNode = document.getElementById(ContainerToReverse);
              var Els;
              if (TopNode != null) {
                        Els = TopNode.getElementsByTagName(TagName);
              } else {
                        Els = document.getElementsByTagName(TagName);
              for (var i=0; i<Els.length; i++){
                        if (TagName == "object") {
                                  //manipulate object elements in all browsers
                                  if (Show == true){
                                            Els[i].style.visibility = 'visible';
                                            //get Mac FireFox to manipulate display, to force screen redraw
                                            if (C.mac && C.gecko) {Els[i].style.display = '';}
                                  else{
                                            Els[i].style.visibility = 'hidden';
                                            if (C.mac && C.gecko) {Els[i].style.display = 'none';}
                        else {
                                  // tagName is either input or select (that is, Form Elements)
                                  // ie6 has a problem with Form elements, so manipulate those
                                  if (C.ie) {
                                            if (C.ieVer < 7) {
                                                      if (Show == true){
                                                                Els[i].style.visibility = 'visible';
                                                      else{
                                                                Els[i].style.visibility = 'hidden';
    function HideFeedback(){
              document.getElementById('FeedbackDiv').style.display = 'none';
              ShowElements(true, 'input');
              ShowElements(true, 'select');
              ShowElements(true, 'object');
              if (Finished == true){
                        Finish();
    //GENERAL UTILITY FUNCTIONS AND VARIABLES
    //PAGE DIMENSION FUNCTIONS
    function PageDim(){
    //Get the page width and height
              this.W = 600;
              this.H = 400;
              this.W = document.getElementsByTagName('body')[0].clientWidth;
              this.H = document.getElementsByTagName('body')[0].clientHeight;
    var pg = null;
    function GetPageXY(El) {
              var XY = {x: 0, y: 0};
              while(El){
                        XY.x += El.offsetLeft;
                        XY.y += El.offsetTop;
                        El = El.offsetParent;
              return XY;
    function GetScrollTop(){
              if (typeof(window.pageYOffset) == 'number'){
                        return window.pageYOffset;
              else{
                        if ((document.body)&&(document.body.scrollTop)){
                                  return document.body.scrollTop;
                        else{
                                  if ((document.documentElement)&&(document.documentElement.scrollTop)){
                                            return document.documentElement.scrollTop;
                                  else{
                                            return 0;
    function GetViewportHeight(){
              if (typeof window.innerHeight != 'undefined'){
                        return window.innerHeight;
              else{
                        if (((typeof document.documentElement != 'undefined')&&(typeof document.documentElement.clientHeight !=
         'undefined'))&&(document.documentElement.clientHeight != 0)){
                                  return document.documentElement.clientHeight;
                        else{
                                  return document.getElementsByTagName('body')[0].clientHeight;
    function TopSettingWithScrollOffset(TopPercent){
              var T = Math.floor(GetViewportHeight() * (TopPercent/100));
              return GetScrollTop() + T;
    //CODE FOR AVOIDING LOSS OF DATA WHEN BACKSPACE KEY INVOKES history.back()
    var InTextBox = false;
    function SuppressBackspace(e){
              if (InTextBox == true){return;}
              if (C.ie) {
                        thisKey = window.event.keyCode;
              else {
                        thisKey = e.keyCode;
              var Suppress = false;
              if (thisKey == 8) {
                        Suppress = true;
              if (Suppress == true){
                        if (C.ie){
                                  window.event.returnValue = false;
                                  window.event.cancelBubble = true;
                        else{
                                  e.preventDefault();
    if (C.ie){
              document.attachEvent('onkeydown',SuppressBackspace);
              window.attachEvent('onkeydown',SuppressBackspace);
    else{
              if (window.addEventListener){
                        window.addEventListener('keypress',SuppressBackspace,false);
    function ReduceItems(InArray, ReduceToSize){
              var ItemToDump=0;
              var j=0;
              while (InArray.length > ReduceToSize){
                        ItemToDump = Math.floor(InArray.length*Math.random());
                        InArray.splice(ItemToDump, 1);
    function Shuffle(InArray){
              var Num;
              var Temp = new Array();
              var Len = InArray.length;
              var j = Len;
              for (var i=0; i<Len; i++){
                        Temp[i] = InArray[i];
              for (i=0; i<Len; i++){
                        Num = Math.floor(j  *  Math.random());
                        InArray[i] = Temp[Num];
                        for (var k=Num; k < (j-1); k++) {
                                  Temp[k] = Temp[k+1];
                        j--;
              return InArray;
    function WriteToInstructions(Feedback) {
              document.getElementById('InstructionsDiv').innerHTML = Feedback;
    function EscapeDoubleQuotes(InString){
              return InString.replace(/"/g, '&quot;')
    function TrimString(InString){
            var x = 0;
            if (InString.length != 0) {
                    while ((InString.charAt(InString.length - 1) == '\u0020') || (InString.charAt(InString.length - 1) == '\u000A') || (InString.charAt(InString.length - 1) == '\u000D')){
                            InString = InString.substring(0, InString.length - 1)
                    while ((InString.charAt(0) == '\u0020') || (InString.charAt(0) == '\u000A') || (InString.charAt(0) == '\u000D')){
                            InString = InString.substring(1, InString.length)
                    while (InString.indexOf('  ') != -1) {
                            x = InString.indexOf('  ')
                            InString = InString.substring(0, x) + InString.substring(x+1, InString.length)
                    return InString;
            else {
                    return '';
    function FindLongest(InArray){
              if (InArray.length < 1){return -1;}
              var Longest = 0;
              for (var i=1; i<InArray.length; i++){
                        if (InArray[i].length > InArray[Longest].length){
                                  Longest = i;
              return Longest;
    //UNICODE CHARACTER FUNCTIONS
    function IsCombiningDiacritic(CharNum){
              var Result = (((CharNum >= 0x0300)&&(CharNum <= 0x370))||((CharNum >= 0x20d0)&&(CharNum <= 0x20ff)));
              Result = Result || (((CharNum >= 0x3099)&&(CharNum <= 0x309a))||((CharNum >= 0xfe20)&&(CharNum <= 0xfe23)));
              return Result;
    function IsCJK(CharNum){
              return ((CharNum >= 0x3000)&&(CharNum < 0xd800));
    //SETUP FUNCTIONS
    //BROWSER WILL REFILL TEXT BOXES FROM CACHE IF NOT PREVENTED
    function ClearTextBoxes(){
              var NList = document.getElementsByTagName('input');
              for (var i=0; i<NList.length; i++){
                        if ((NList[i].id.indexOf('Guess') > -1)||(NList[i].id.indexOf('Gap') > -1)){
                                  NList[i].value = '';
                        if (NList[i].id.indexOf('Chk') > -1){
                                  NList[i].checked = '';
    //EXTENSION TO ARRAY OBJECT
    function Array_IndexOf(Input){
              var Result = -1;
              for (var i=0; i<this.length; i++){
                        if (this[i] == Input){
                                  Result = i;
              return Result;
    Array.prototype.indexOf = Array_IndexOf;
    //IE HAS RENDERING BUG WITH BOTTOM NAVBAR
    function RemoveBottomNavBarForIE(){
              if ((C.ie)&&(document.getElementById('Reading') != null)){
                        if (document.getElementById('BottomNavBar') != null){
                                  document.getElementById('TheBody').removeChild(document.getElementById('Bo ttomNavBar'));
    //HOTPOTNET-RELATED CODE
    var HPNStartTime = (new Date()).getTime();
    var SubmissionTimeout = 30000;
    var Detail = ''; //Global that is used to submit tracking data
    function Finish(){
    //If there's a form, fill it out and submit it
              if (document.store != null){
                        Frm = document.store;
                        Frm.starttime.value = HPNStartTime;
                        Frm.endtime.value = (new Date()).getTime();
                        Frm.mark.value = Score;
                        Frm.detail.value = Detail;
                        Frm.submit();
    //JQUIZ CORE JAVASCRIPT CODE
    var CurrQNum = 0;
    var CorrectIndicator = ':-)';
    var IncorrectIndicator = 'X';
    var YourScoreIs = 'Your score is ';
    //New for 6.2.2.0
    var CompletedSoFar = 'Completed so far:';
    var ExerciseCompleted = 'You have completed the exercise.';
    var ShowCompletedSoFar = true;
    var ContinuousScoring = true;
    var CorrectFirstTime = 'Questions answered correctly first time: ';
    var ShowCorrectFirstTime = false;
    var ShuffleQs = false;
    var ShuffleAs = true;
    var DefaultRight = 'Correct!';
    var DefaultWrong = 'Not perfect yet. Please try again.';
    var QsToShow = 9;
    var Score = 0;
    var Finished = false;
    var Qs = null;
    var QArray = new Array();
    var ShowingAllQuestions = false;
    var ShowAllQuestionsCaption = 'Show all questions';
    var ShowOneByOneCaption = 'Show questions one by one';
    var State = new Array();
    var Feedback = '';
    var TimeOver = false;
    var strInstructions = '';
    var Locked = false;
    //The following variable can be used to add a message explaining that
    //the question is finished, so no further marking will take place.
    var strQuestionFinished = '';
    function CompleteEmptyFeedback(){
              var QNum, ANum;
              for (QNum=0; QNum<I.length; QNum++){
    //Only do this if not multi-select
                        if (I[QNum][2] != '3'){
                          for (ANum = 0; ANum<I[QNum][3].length; ANum++){
                                    if (I[QNum][3][ANum][1].length < 1){
                                              if (I[QNum][3][ANum][2] > 0){
                                                        I[QNum][3][ANum][1] = DefaultRight;
                                              else{
                                                        I[QNum][3][ANum][1] = DefaultWrong;
    function SetUpQuestions(){
              var AList = new Array();
              var QList = new Array();
              var i, j;
              Qs = document.getElementById('Questions');
              while (Qs.getElementsByTagName('li').length > 0){
                        QList.push(Qs.removeChild(Qs.getElementsByTagName('li')[0]));
              var DumpItem = 0;
              if (QsToShow > QList.length){
                        QsToShow = QList.length;
              while (QsToShow < QList.length){
                        DumpItem = Math.floor(QList.length*Math.random());
                        for (j=DumpItem; j<(QList.length-1); j++){
                                  QList[j] = QList[j+1];
                        QList.length = QList.length-1;
              if (ShuffleQs == true){
                        QList = Shuffle(QList);
              if (ShuffleAs == true){
                        var As;
                        for (var i=0; i<QList.length; i++){
                                  As = QList[i].getElementsByTagName('ol')[0];
                       

    .oO(dd.l)
    > I want to insert a HTML file( so-called A) in a small
    area in another HTML
    >file( so-called B) .
    > Now the B has been done, and A is from another server
    and its URL is known.
    >How to do that?
    > I'm new to Dreameaver, so anyone can explain or give me
    useful hints?
    Use an iframe. Do a search on Google or use the F1 help for
    details.
    Be aware of possible drawbacks and usability problems,
    dependent on
    what you're actually trying to accomplish.
    Micha

  • Inserted HTML and Images

    Is it possible when inserting html in Muse, to have images within the html text? If we will be using Adobe Catalyst, what will I need to do to properly code the images into the text?

    Hello,
    You can use the <img> tag between the text. More info on : http://www.w3schools.com/tags/tag_img.asp
    In place of Image Path, use "/Assets/Filename.extension" (replace filename.extension with the filename of the image).
    After that use File>Add files for upload and select the image so that it gets added to Assets folder when you Publish the site.
    You might not be able to preview it but you can use File>Export as HTML and view the whole site exported in a local folder.
    Regards,
    Sachin

  • Inserting HTML on a Slide

    Is there a way to insert html code into a slide? I need to place a video on a slide that uses an iframe and a link to a JavaScript file. The video is being delivered from a content management system (Qumu) so I don't have many options. I don't see any way to accomplish this.
    Thanks

    You can put your images in public_html directory.

  • Inserting HTML into JTextPane

    Hi,
    I am trying to insert HTML into JTextPane.
    I am using the following code for the same.
    JTextPane jedit = new JTextPane();       
    jedit.setContentType("text/html");
            HTMLDocument doc = (HTMLDocument)jedit.getDocument();
            String text = "<a href=\"???\">hyperlink</a>asd<a href=\"???\">hyperlink123</a>";
            HTMLEditorKit editorKit = (HTMLEditorKit)jedit.getEditorKit();
            editorKit.insertHTML(doc, doc.getLength(), text, 0, 0, null);
            doc.insertString(doc.getLength(),"Hi testing",null);
            text = "<a href=\"???\">hyperlink123</a>";The problem is that the HTML gets inserted into new line. I do not want the new line.
    I know there is an API like insertBeforeEnd(...) but do not know how to use that.
    Any help for the above problem will be of great use.
    Thanks.

    look I have got the answer ... I guess this would be the root cause of the problem of new line.
    when ever you want the text to be inserted
    -at new line provide the last argument  of HTMLDocument.insertHTML as null
    - at same line provide the last argument as the HTML tag you are inserting into the JtextPane's document.thats it !!!
    ENJOY :-)

  • Inserted HTML does NOT push content when resized

    Hi,
    we are building a website for a hotel and are bound to include their channel manager module into the site. In order to do that, you have to follow these steps:
    1. Paste JavaScript code into the head section to load the module.
    2. Place a short line of code with "insert HTML" into the site where the module should appear and that's it.
    The module is generated by a server-side script from the channel manager's server and pasted into an iFrame that is also generated by this very script. The thing is: It resizes the height of the iFrame depending on the displayed content in the iFrame. So we start with 301 px height when we call the page and start the search for free rooms. The results are displayed on a 1400 px iFrame, which resizes properly when showing the results.
    THE PROBLEM: The footers stays put and the iFrame runs behind it and off the display port. There is also no scrollbar showing up allowing me to scroll to the bottom of the iFrame.
    We got three layers:
    3. Top Layer (Containing top navigation and footer, both defined in a master page that is applied to the content page)
    2. Content Layer (Containing the inserted HTML with the generated iFrame)
    1. Background Layer (Well, it contains background elements)
    WE NEED: The footer to be pushed by the ever resizing iFrame and get a scrollbar when neccessary due to iFrame height.
    What are we doing wrong?

    Thank you for your suggestions, although I don't think they will fix the problem.
    We cannot alter the server script in any way, since it is located on the channel manager's server and is just called with a customer id to show our client's hotel related data. They resize the iFrame using an inline height style tag. This causes the page to not recognize the size change and not even showing a scrollbar at all, when the iFrame exceeds the view port.
    We already put a div around the JS-call which expands with the iFrame as expected.
    <div id="u1218"><!-- custom html -->
    <div>
    <script language="javascript" type="text/javascript">
    function();
    </script>
    </div>
    </div>
    This results in an iFrame inserted after the script tag, the div around the script expands correctly. We already removed any master page objects, created a blank new master page to define header and footer areas and pasted our menu and footer directly into the page of question on the same layer as the inserted html box went. So for our understanding the expanding div around the script should push the footer on this page to whereever it ends. It just doesn't. Also we do not get any scrollbar, although the iFrame clearly gets larger than the viewport area and the page just doesn't recognize it.

  • How does one remove inserted HTML?

    I inserted HTML on a page and it must now be removed. I know it is there in the HTML code, but it does not show when I "Insert HTML" from the Object dropdown.How can I remove the code?

    I finally noticed the embedded HTML object on the page and cntrl-clicked; voila, embedded code was there. I deleted/emptied the contects and exported HTML again. Sadly, more embedded HTML code persists and the HTML object panel is now empty. How do I clean the .muse file?  Here is the embedded code:
      <div class="grpelem" id="u953"><!-- custom html -->
        <embed src=“moosic.mp3" autostart="true" loop="false" hidden="true"></embed>
    </div>
       <div class="grpelem" id="u955"><!-- custom html -->
        <embed src=“moosic.mp3" autostart="true" loop="false" hidden="true"></embed>
    </div>
       <div class="grpelem" id="u957"><!-- custom html --></div>

  • Insert Html 5 content into web page

    With Flash being phased out, how can you insert HTML 5 content into existing web pages?
    I'm trying to figure it out but it's not working properly.

    You can easily load it into another page using an iFrame.

  • Outlook 2013 - Insert HTML code into email

    Hi there,
    A simple question, or so I thought. How can I insert HTML code into an Outlook email?
    Thanks
    Dave

    You can inject HTML code into the message body via the Insert as Text option;
    Insert-> (Attach) File-> select the created htm-file-> press the down arrow on the Insert button-> Insert as Text
    Cheers,
    Tony Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please contact
    [email protected]

  • Embed an Exported Muse Page Using "Insert HTML"?

    Hello All,
    I'd like to export a Muse page to HTML, then embed that entire page into another Muse page using Insert HTML. I've done some experimenting and haven't yet gotten it to work.
    I'm familiar with embedding html in Muse, including the linking of external css stylesheets and js libraries, and I'm also reasonably skilled in post-editing my Muse pages in Dreamweaver. But this has me stumped.
    Anyone have any experience to share? Thanks!
    bart

    Hi Bart,
    I am not sure why you want to first export the page and then embed it as HTML in another Muse page. However, you can copy all the content from a page and use the "paste in place" option from Edit menu and all the content will be placed as it is on the source page.
    Regards,
    Aish

  • Inserted html not showing in Internet Explorer

    Inserted html code does not show in internet Explorer 8. Is OK with Firefox, Safari and Chrome. Site is munroestudios.com. Also made a a test page with just the html on munroestudios.com/test.html. This is a iframe code received from another company to link to another site.

    I'm not sure what they did but the company supplying the html code fixed something on their end. Works now.

Maybe you are looking for

  • Update the cost in sale order

    dear sir i check with abaper ,he says the value is updated from sale order they get the consumption of sales using customized transaction actual cost is zero user create the material master withot pricing we ask to update the material master and they

  • Firewire Unresponsive

    I think my firewire is fried. My iPod is not recognized by the mac anymore when plugged (although it does receive power from the computer) It just freezes while connected. I have also tried connecting another firewire device (a DV camera) with no suc

  • Is it feasible to set the rows displayed per page dynamically?

    Hi, Is it feasible to set the rows displayed per page dynamically in the table view result as per the user wants eg : the user wishes to see only 25 records or all the records? Also what is the maximum limit of rows that can be fetched as per the ent

  • Add file to library. Track names added to iTunes (10.5), but Album information missing

    I moved my music folders on my PC, then deleted all the songs from iTunes. Before I did that my library was in perfect shape.  When I "File>Add Folder to Library" all the tracks came in, however, for any tracks whose titles begin with track numbers,

  • Keeps asking for my email password

    Apple Mail has started to ask for my password. I've typed in my password many times. I have checked the box to remember the password in my keychain. It still asks for my password over and over again. I have two accounts with Apple Mail, one works per