How to include javascript and HTML in analysis output?

Is there any document for that? Currently I set Treat Text As HTML under Data Format tab and include some simple HTML in Column formula, but I doubt it is correct way to include javascript and HTML in ayalysis output. Can anybody provide any idea or sample?
Thanks

Hi,
i am not sure about javascript but yes treat text as Html is used to utilize HTML power in OBIEE.There are many examples of this.Common uses are a href,GoNav and PortalPagenav fuction.These function are mix of HTML and OBIEE.We gebrally use this option when we want to carry out some HTML operation on data rendered by OBIEE.Common example is to make data values a hyperlink for which we use a href
See the below links for GoNav and a href
http://108obiee.blogspot.com/2009/09/go-url-request-navigation-between.html
Creating Hierarchies on Direct Database Requests
You can also write java scripts here.
Regards,
Sandeep

Similar Messages

  • How to include text as HTML elements (see DOMElement)

    I am working with Flash PRO CC v. 14.0.  to convert my Flash website to HTML5 / javascript
    I have converted a file to the HTML5 Canvas
    I am very happy that the new Flash Pro has the feature to convert to HTML5 canvas
    HOWEVER:
    In my original .FLA file project I use only one font: Copperplate Bold.  I use several sizes of that font within the project / scene
    In the original file for all text I use static text, Letter spacing, AntiAlias, AutoKern and single line (Linetype)
    - none of which the HTML5 canvas seem to allow / support?
    How do I maintain the FONT look that I have chosen in my original FLASH project, after I convert to HTML5 canvas?
    Is there a way in the HTML canvas to maintain the FONT look that I want?
    HTML5 canvas will not allow Font embedding
    The device font destroys the LOOK of my Copperplate Bold font.
    How do I include text as HTML elements (see DOMElements)?
    WARNINGS generated when I convert the original file into an HTML Canvas:
    Warnings generated while copying/importing in 140827a HTML test.fla:
    * AntiAlias is not supported in HTML5 Canvas document, and has been converted to DeviceFonts in an instance of Text.
    * AutoKern is not supported in HTML5 Canvas document, and has been removed in an instance of Text.
    * Frame Scripts have been commented
    * LetterSpacing is not supported in HTML5 Canvas document, and has been converted to 0.0 in an instance of Text.
    * LineType is not supported in HTML5 Canvas document, and has been converted to MultiLineNoWrap in an instance of Text.
    * Some artwork contains Hairline stroke, which is not supported in HTML5 Canvas document, and has been converted to Solid.
    * StaticText is not supported in HTML5 Canvas document, and has been converted to DynamicText in an instance of Text.
    New HTML Canvas Document created.
    NOTE:  So far the only way I have been able to maintain the font look is to convert the fonts to .png files
    This is painstaking work that I would like to avoid.
    Even then I still get a WARNING when I test my scene - (no doubt because I left the original FONT text  in guide layers)
    After conversion ON TEST SCENE:
    WARNINGS:
    Frame numbers in EaselJS start at 0 instead of 1. For example, this affects gotoAndStop and gotoAndPlay calls. (18)
    Only circular (not oval) radial gradients are supported. (85)
    Text support is limited. It is generally recommended to include text as HTML elements (see DOMElement). (6)
    Color effects are published as a filter and subject to the same limitations. (4)
    Filters are very expensive and are not updated once applied. Cache as bitmap is automatically enabled when a filter is applied. This can prevent animations from updating. (2)
    Content with both Bitmaps and Buttons may generate local security errors in some browsers if run from the local file system.
    HOW CAN I MAINTAIN the FONT LOOK that I have chosen for my project?
    How do I include text as HTML elements (see DOMElements)?
    ANY HELP will be appreciated
    A good, in depth, tutorial on the subject (FONTS) would be a BIG help to many using the convert to HTML5 canvas features.

    GOOGLE HAS
    https://www.google.com/fonts
    choose a font from above site
    then:
    google generates instructions on how to embed that font
    Montserrat
    3. Add this code to your website:
    <link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
    4. Integrate the fonts into your CSS:
    The Google Fonts API will generate the necessary browser-specific CSS to use the fonts. All you need to do is add the font name to your CSS styles. For example:
    font-family: 'Source Sans Pro', sans-serif;
    font-family: 'Ubuntu', sans-serif;
    font-family: 'Montserrat Alternates', sans-serif;
    font-family: 'Montserrat', sans-serif;
    font-family: 'Open Sans', sans-serif;

  • How to include JavaScript in a list instance's form in Visual Studio

    So I know you can use JSLink to include JavaScript files in list definitions in Schema.<g class="gr_ gr_8 gr-alert gr_spell ContextualSpelling ins-del multiReplace" data-gr-id="8" id="8">xml</g> like so:
    <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" JSLink="~site/SiteAssets/Scripts/jquery-1.11.1.min.js" />
    But how can I do this with a list instance that I'm provisioning that's based on the tasks list definition? Is there somewhere I can include JSLink in the instance's Elements.xml?

    If you would have your own custom list definition, you could deploy a custom form for your list instance, and set the JSLink element of the Form. You cannot set it "globally" for the list, only per form.
    If your list instance is based on a built-in list instance (like Tasks in your case) you should set the JSLink property from code. If you would like to deploy the list instance and set the JSLink property from a .wsp package, you should lookup the list form
    and set this property from a feature receiver. If you already created / deployed the list instance, the simplest method is to set the property via PowerShell. See the code samples for PowerShell and C# in this thread.

  • How to include javascript in Edge?

    I am new to jQuery and Edge.
    I want to add some "Drag" functions to my project and I browsed the forum and found a javascript plugin. So I downloaded the js files and placed them in my project folder (the folder containing .an and .html)
    I searched the forum and found a way to include javascript which is adding the following code in compositonReady event
    $("<script type='text/javascript' charset='utf-8' src='myjs.js'>").appendTo("#Stage");
    and I replaced "myjs.js" with the plugin file name but it seems not working. When I view the html code there is only "MyProject_edgePreload.js" in it. Thanks for guiding me what's wrong here.

    Better tools are available: yepnope() and $.getScript().
    1) About yepnope(): you can download samples file here.
    2) $.getScript() is a jQuery function :  $.getScript("js fileName", function(){ your code });

  • How to use javascript and scriptlet simultaneously

    Hi all!!
    I have a jsp page on which there are two selection lists. One is for publisher names list and second is for journal names list corresponding to publisher selected in first selection list.
    When publisher name is selected in first selection list then all journal names should be listed in second selection list. it requires fetching rows in database.
    ie; action is onChange of first selection list ie; javascript and database is of scriptlet part.
    how to do that??
    I know that scriptlet can't be used in javascript. and it is possible by submitting this form. but i don't want to submit this form.
    Please help me out.
    Thanks

    Hi _abhi,
    Use the onchage action in the drop down tag which will redirect using URL encode to the same page and get the parameter data and pass the value to the second Drop down
    Cheers

  • How to include javascript file (.js) to pages in portal

    Hi,
    I have been trying to include a javascript file (something.js) to a portal. actually, I want to include it on a html portlet that will be my navigation page.
    I have used the code below to add the js file, but it seems not working
    <script language="JavaScript1.2" src="/javascript/cp_navigation.js">
    </script>
    I have uploaded the js file to the /ora9ias/enterprise/portal/javascript folder (created) in portal server. is there any configuration that I have left out?
    another thing, if I want to include some of the js file to the <head> section, am I possible to do it? and how?
    thanks

    Jerry,
    Where to find this? give the date or the name, please?
    *We're often desperate users that are under pressure to make these Oracle applications WORK for our employers!
    Your help in making us efficient is definitely appreciated!

  • Trouble with templates that include JavaScript and jquery information.

    I built a page that includes a JavaScript gallery and tried to save that as my main template since the majority of my pages will have variations of that gallery. Everything seems fine until I try to add an editable region. Regardless of where I add one (like for my content div tag - so I can edit everything in my content region), I lose my gallery. I was able to keep it working on one try but I couldn't edit the javascript in subsequent pages. For example, one of my pages that didn't have the gallery still had the scripts for it in the uneditable template code, so a blaring "fatal error" comes up whenever I try to view that page in a browser.  Once I tried to deal with that by making the header editable (so I could add or delete scripts) I once again lost my gallery.
    So my question is, how do I make those areas of my template code editable without losing my gallery? Sorry if I'm not explaining this well, or using incorrect terms. All I know about CSS I've learned in the last two weeks through Lynda.com tutorials and scouring the web for other help. My brain's pretty fried from all this and at this point I'd love some assistance. Thanks in advance for any help.
    Oh, I'm on a Mac Pro using Dreamweaver CS5. Files are HTML5 and CSS3.
    Here's the code for the page minus any editable regions (this is from the page I made to use as my template). This works perfectly for me in all the browsers I've tried. Until I try to make it a template with editable regions. I've shortened it where I can:
    <!DOCTYPE HTML>
    <html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>PENICKart.com - illustration, comics, storyboards, and design specialist</title>
        <script type="text/javascript">
        function MM_preloadImages() { //v3.0
          var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
            var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
            if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
        </script>
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js">
        </script>
        <script src="galleria/galleria-1.2.8.min.js">
        </script>
        <script type="text/javascript" language="javascript" src="js/hoverIntent.js">
        </script>
              <script type="text/javascript" language="javascript" src="js/jquery.dropdown.js">
        </script>
      <link href="CSSstyles/penickart2012.css" rel="stylesheet" type="text/css" media="screen, projection">
      <link href="CSSstyles/ie.css" rel="stylesheet" type="text/css" media="screen, projection">
    </head>
    <body bgcolor="#000000" background="assets/MainGraphics/2012bgimage.jpg">
      <div class="container">
        <div class="header"><a href="#"><img src="assets/MainGraphics/2012logo.png" alt="PENICKart logo" name="PENICKart logo" width="105" height="107" align="left" id="Insert_logo" style="display:block; padding-top: 1px; padding-right: 20px;" title="PENICKart logo"></a> <h1><em>PENICKart.com</em></h1>
        </div>
        <div class="sidebar1">
          <hr class="h10">
          <ul class="flyout">
            <li><a href="index.html">HOME</a></li>
          </ul>
          <hr class="h10">
          <ul class="flyout">
            <li><a href="illustration.html">Illustration <img src="assets/MainGraphics/submenu_spacer.png" width="4" height="10"></a>
              <ul class="flyout ul">
                        <li><a href="#">spot: b/w</a></li>
                <li><a href="#">spot: color</a></li>
                <li><a href="#">posters/covers</a></li>
              </ul>
            </li>
            <li><a href="comics.html">Comics <img src="assets/MainGraphics/submenu_spacer.png" width="4" height="10"></a>
              <ul class="flyout ul">
                <li><a href="#">corporate/educational</a></li>
                <li><a href="#">popular fiction</a></li>
                <li><a href="#">creator-owned</a></li>
                <li><a href="#">covers/pin-ups</a></li>
              </ul>
            </li>
            <li><a href="film.html">Film</a></li>
            <li><a href="advertising.html">Advertising <img src="assets/MainGraphics/submenu_spacer.png" width="4" height="10"></a>
              <ul class="flyout ul">
                        <li><a href="#">storyboards: b/w</a></li>
                <li><a href="#">storyboards: color</a></li>
                <li><a href="#">print</a></li>
                <li><a href="#">animatic</a></li>
              </ul>
            </li>
            <li><a href="graphicd.html">Design <img src="assets/MainGraphics/submenu_spacer.png" width="4" height="10"></a>
              <ul class="flyout ul">
                        <li><a href="#">interactive displays</a></li>
                <li><a href="#">icons/logos</a></li>
              </ul>
            </li>
          </ul>
      <hr class="h10">
           <ul class="flyout">
            <li><a href="about.html">About</a></li>
          </ul>
          <hr class="h10">
          <ul class="flyout"> 
            <li><a href="store.html">Storefront</a></li>
          </ul>
          <hr class="h10">
          <ul class="flyout">
            <li><script type="text/javascript" language="javascript">
      <!--
      ML=".C/epc@mgnt>:ifhrTNAa =k\"<olO";
      MI="IDE?@3>FH7D=K:J<439=5GD@:687D=K05J7H;1LBAC1AI2D;";
      OT="";
      for(j=0;j<MI.length;j++){
      OT+=ML.charAt(MI.charCodeAt(j)-48);
      }document.write(OT);
      // --></script>
      <noscript>You need JavaScript to see my email address</noscript></li>
          </ul>
          <hr class="h10">
          <ul class="flyout">
            <li><a href="#">Blogger</a></li>
            <li><a href="#">Facebook</a></li>
            <li><a href="#">Twitter</a></li>
            <li><a href="#">DeviantArt</a></li>
          </ul> 
        </div>
        <div class="content">
          <h3>Spot Illustration: black/white</h3>
          <div id="galleria">
                  <a href="assets/ContentImages/IllImages/illBWspotGimages/illBWspotG40.png">
                      <img title="black and white spot illustration 40"
                           alt="Helen of Troy; digital; Planet Pulp submission; WIP"
                           src="assets/ContentImages/IllImages/illBWspotGthumbs/illBWspotGth40.jpg">
                  </a>
                  <a href="assets/ContentImages/IllImages/illBWspotGimages/illBWspotG39.jpg">
                      <img title="black and white spot illustration 39"
                           alt="Carrie Fisher; digital; study"
                           src="assets/ContentImages/IllImages/illBWspotGthumbs/illBWspotGth39.jpg">
                  </a>
                  <a href="assets/ContentImages/IllImages/illBWspotGimages/illBWspotG38.png">
                      <img title="black and white spot illustration 38"
                           alt="Black Widow v2; traditional and digital; private commission"
                           src="assets/ContentImages/IllImages/illBWspotGthumbs/illBWspotGth38.jpg">
                  </a>
                  <a href="assets/ContentImages/IllImages/illBWspotGimages/illBWspotG37.png">
                      <img title="black and white spot illustration 37"
                           alt="Swinging Batman; traditional pen and ink; private commission"
                           src="assets/ContentImages/IllImages/illBWspotGthumbs/illBWspotGth37.jpg">
                  </a>
                  <a href="assets/ContentImages/IllImages/illBWspotGimages/illBWspotG36.png">
                      <img title="black and white spot illustration 36"
                           alt="statue of angel; digital; study"
                           src="assets/ContentImages/IllImages/illBWspotGthumbs/illBWspotGth36.jpg">
                  </a>
                  <a href="assets/ContentImages/IllImages/illBWspotGimages/illBWspotG35a.jpg">
                      <img title="black and white spot illustration 35a"
                           alt="Jodi Foster; digital; study close up"
                           src="assets/ContentImages/IllImages/illBWspotGthumbs/illBWspotGth35.jpg">
                  </a>
          </div>
          <p>
          </p>
        </div>
        <div class="sidebar2">
        </div>
        <div class="footer">
          <p>All work is created as a part of PENICKart, Ltd. ©2012 Michael Penick and/or the respective copyright owners.</p>
        </div>
      </div>
      <script>
        // Load the Twelve theme
        Galleria.loadTheme('galleria/themes/twelve/galleria.twelve.min.js');
        // Initialize Galleria
        Galleria.run('#galleria');
      </script>
      </body>
    </html>

    I just read through the link you gave me - thanks for that. 
    After composing a first draft of a reply I went into my pages to make a couple of tweaks and throw them up so you can see them live. While I was doing that I noticed that there was no link referencing the galleria.twelve.css file, so I added that line:
    <link href="galleria/themes/twelve/galleria.twelve.css" rel="stylesheet" type="text/css" media="screen, projection">
    and WHAMO, it suddenly started showing up when using the template. The scripts are/were loading after the css, so that wasn't it, but it's your response and my having another look at the css and javascript code in the header that helped me find the problem.
    I guess sometimes you just need to step away for awhile and clear your head. So now everything is showing up properly and all the areas I wanted to be editable are editable. I will sleep very well tonight, hahaha.
    Here's the page anyways. Kindly ignore the pages that it links to - most of them are ancient as is the work on them. Thanks so much for your help!
    http://www.penickart.com/indexwtemplate.html

  • Javascript and html menu to be used with ADF/JSF using JDeveloper

    I have a menu for a webpage that was originally built using html and javascript. I need to convert it to be used with JSF and ADF. In the html, the menu items used an unordered list inside of a div tag.
    It looks something like this:
    <!--<div id="shademenu" class="shadetabs">
    <ul>
    <li>Item1</li>
    <li>Item2</li>
    <li>Item3</li>
    <li>Item4</li>
    <li>Item5</li>
    <li>Item 6</li>
    </ul>
    </div> -->
    AND
    the submenu(s) have links that look something like:
    <!--<div id="dropmenu0" class="dropmenudiv">
    Data
    Data
    Data
    </div>-->
    It is unclear to me how to work with my javascript menu to get the same look and feel with JSF or ADF as I did with html. Any insights would be great. Thanks.
    Daniel
    Message was edited by:
    dannyc

    Hello,
    If you do not find any existing JSF component (in ADF Faces/Trinidad, or any other JSF library) you can for sure extend/create your own component with specific renderer that will be the HTML/Javscript that you want.
    So here some interesting pointers about the subject:
    - Buildin Custom JSF component (Chris Schalk)
    - Build Custom JSF Components) (Jonas Jacobi
    - Extending Default Render (and lot of other JavaEE blueprints)
    These links will give you a starting point.
    Regards
    Tugdual Grall

  • How to include image or html dynamically in a JSP?

    I need to show the uploaded content in a jsp. It could be either a image or html file. How can i include these images or html files dynamically without affecting screen design.

    What the heck is 'screen design'? You mean the page layout?
    You could show in a popup div; JQuery will be your best bet for a prebuilt function to do that. But you'd need to put the uploaded file in a place where the browser can fetch it through an URL, or you need to create a servlet that can load and return the data to the browser.

  • How to include javascript resources in  Facelet tag library

    I've been trying out Duncans watermark behavior tag (https://blogs.oracle.com/groundside/entry/placeholder_watermarks_with_adf_11). Indeed a great article and the example work perfectly when the tag library is included within the project and when the javascript resource (common.js) file is added to the document using af:resource tag.
    I would like to create a deployable tag library, including a setWatermarkBehavior tag, for reuse in various apps. I'm able to create and deploy the tag library as a ADF library and include it for use in an application. But on runtime, the pages are not able to find the "addWatermarkBehavior" method, which I hoped automatically got loaded from the javascript file defined in the tag library jar. In the tag library file, I've added a "adf-js-features.xml" in META-INF. This file and the .js file is included in the ADF library jar. "adf-js-features.xml" looks like this:
    <adf-js-features xmlns="http://xmlns.oracle.com/adf/faces/feature">
    <features xmlns="http://xmlns.oracle.com/adf/faces/feature">
    <feature>
    <feature-name>adfExtTaglib</feature-name>
    <feature-class>com/cgi/adf/ext/taglib/js/adfExtTaglib.js</feature-class>
    </feature>
    </features>
    </adf-js-features>
    I'm not sure, what value should be used for "feature-name" - I've tried many different "meaningful" names. I presume, that the ADF framework, should automatically discover all "adf-js-features" files and automatically load js-file on pages, which are using tags from the particular tag library. But apparently I'm missing something. In the facelets page used for testing, I have these few components.
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:adfext="http://xmlns.cgi.com/adf/ext">
    <af:document title="testAdfExtTaglib" id="d1">
    <!-- af:resource type="javascript" source="/resources/js/common.js" / -->
    <af:form id="f1">
    <af:inputText label="Label 1" id="it1">
    <adfext:setWatermarkBehavior value="CHR-Nr"/>
    </af:inputText>
    </af:form>
    </af:document>
    </f:view>
    Doing some debugging, I can confirm that the "getScript" method of the setWatermarkBehavior class is called. I can also find the javascript produced by the "getScript" method in the DOM. But I cannot find anywhere in the DOM, where the javascript file from the tag library is loaded.
    Please, help me out?
    Edited by: wmjaboj on 2012-09-23 23:58

    The Javascript source URI has the value "RES_NOT_FOUND".
    If I try to access it using ".../faces/javax.faces.resource/javascript.js?ln=js" I get a blank page (contains a Html and Body only).
    If I try to access it using ".../faces/resources/js/javascript.js" I can download the javascript file from the taglib.
    If I manually copy the javascript.js file from the taglib into the enclosing project and save it in "resource/js", then the javascript source URI is resolved correctly to ".../faces/javax.faces.resource/javascript.js?ln=js" and I can downloaded it, but then it is the local copy and not the one from the taglib jar.
    Do I need some specific configuration in web.xml or other deployment descriptors, to be able to use "javax.faces.resource"?
    The only configurations whoch smells like "javax.faces.resource" is this context param: javax.faces.FACELETS_RESOURCE_RESOLVER=oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver
    In web.xml various "resource" servlets is defined (I'm not sure whether I need them, JDeveloper has created them automatically):
    a) resources = org.apache.myfaces.trinidad.webapp.ResourceServlet, maps to: /adf/*, /afr/*, /bi/*
    b) adflibResources = oracle.adf.library.webapp.ResourceServlet, maps to: /adflib/*
    I appreciate your help.

  • Issue with firePartialAction or how to include JavaScript Functions

    We are using the Client Action Type: firePartialAction on an element in a region of type: TABLE. When a user enters data in here and tabs away, the action fires and recalculates 2 other fields in the same region. On a object with a small number of rows, it seems to work fine. However, when you have a large number of rows (anything over 25), the page seems to hang for nearly a minute and then when it does come back, the values are sometimes not calculated properly.
    The only reason we are using firePartialAction is because the dev guide says that JavaScript is not supported by OAF. We would much rather use a client-side JavaScript function to do these simple arithemtic operations rather than do them on the server.
    My question is two-fold:
    1 - Has anyone experienced this issue and are there any other settings or coding tricks that we should be aware of.
    2 - Has anyone ever rendered a page with a custom JavaScript tag (or library)? Also, where would you add the code in JDeveloper to get a particular element to execute a particulate javascript function (ie: onchange=MCalc())?

    The firePartialAction event is not working for us, so we need to be able to at least try out javascript. We're rendering the page from an XML file, so it's not clear to us how we would even get a custom HTML tag to render into the page at all. Normally, I'd use some kind of HttpServletResponse.getWriter()...println method call to write html (as in a controller servlet), but how would you do that using the OAWebBean? I checked the OAFromattedTextBean, would that allow me to embed onchange into the field?

  • How to use javascript and sql

    Hi,
    I am new to HTML DB. I am trying to populate some textfields once a a drop down menu is selected .
    But my information to populate need to be obtained by querying my dabase how do i do that? using javascript
    or is there another way of doing that without using javascript?

    I understand you don't want to actually "submit" the page. Undsertand that with the web, you either:
    1. bring all of the values from the server to the page with you
    2. go back to the server to get values based on the value of the lov, or
    3. do partial-page refresh and get the new values from the server in the background with some VERY challenging javascript.
    2 is the solution I am suggesting. Do not insert the values yet, just let HTML DB save them in your session state. As soon as you change the LOV the page will be submitted and return with the correct values in the related items. If you want to get fancy, you can choose not to show the related items until the user has selected a value from the LOV.
    To see an example of this (kind of), go to the SQL Workshop and click on the "Tables" Icon. Now you should see a list of the tables in your schema. Change the "Type" LOV from table to index. Notice the page refreshed and the report changed? I'm suggesting the same concept, but just changing the value of some items, not a report.
    Tyler

  • Suggestion on how to include image and text in epub export

    I have 12 images like the one below that are included in a book designed for print in ID but also exporting to an epub. I built the image in Photoshop because it needed a stroke and the stroke doesn't export from ID (?). Originally I build the entire image in PS with text. That exports fine.It is anchored inline.  But the text is a bit blurry. So I tried just using the image+stroke from PS and then creating a text box in ID inside the image. Then the text and image separated when exported to epub. Any suggestions on how to do this effectively?
    Mark

    I would suggest just keeping the text when you export to epub and then building a div border to create the box around the text.

  • Embedding Javascript and HTML nto Adobe Muse

    I am trying to embed javascript for dynamic text into my Adobe Muse site but I can't seem to get it to work.
    Here is my code:
    HTML:
    <span id="spanDate"></span>
    Javascript:
       <script type="text/javascript">
       var months = ['January','February','March','April','May','June','July',
    'August','September','October','November','December'];  
    var tomorrow = new Date();
    tomorrow.setTime(tomorrow.getTime() + (1000*3600*24));  
    document.getElementById("spanDate").innerHTML = months[tomorrow.getMonth()] + " " + tomorrow.getDate()+ ", " + tomorrow.getFullYear();
       </script>
    I am placing the Javascript under metadata in the page properties. I tried on the individual page and on the master page. And I am placing the HTML with the Insert HTML option.
    I can't seem to get the code to populate properly though. I tried the same code on a test site and it worked just fine.
    Any and all advice is greatly appreciated!

    It seems you have some blank spaces at the end of each line in your javascript code. Try checking for that.
    In an unrelated issue I found another error in your CSS file. In your moduleStyleSheets.css file on line 1253 you have an extra ; on the end.
    border-bottom: 1px solid #eee;;
    Should be:
    border-bottom: 1px solid #eee;

  • How to include images in HTML email

    Hi,
    from Oracle DB, using UTL_SMTP I am sending emails to customers, it works OK but my problem is that include images do not show when email is open (show typical box with a 'X' in it) , Is there any option to do it??? in HTML? in UTL_SMTP.
    Others options?
    Thanksin advance.

    Hello,
    I would invite you to post this question on the PL/SQL.
    I know that it is not directly answering your question but could be interested for the community, here an article of how to do such think in Javamail
    Regards
    Tugdual Grall

Maybe you are looking for

  • Use of the function u0093SXPG_COMMAND_EXECUTE"

    Hello Friends, Can anybody explain me what is the use of the function “SXPG_COMMAND_EXECUTE" in the ABAP programs. I know this is related to external commands. Regards, Shreekant

  • Update credit card details fails due to missing town but no town field and no blank fields.

    I I need to update my credit card details but when I try to do so I get an error message saying the town field is missing. However there are no missing fields in the form and no missing town field.

  • I think my iPod is coming back to life! Interesting behaviour

    Hi All, We have established by now that there is a major issue with Shuffles. Minehasn't worked since the last updater, tried restoring, loading original software cd etc etc. Tonight I had a thought that my battery was so empty that a good solid char

  • How do I de-activate a workflow?

    Hello friends, A second question about workflows. How do I de-activate a workflow? That is to say, stop it from running all together. This workflow has many steps and many associated events. Many thanks for your input.

  • Mavericks installation caused damaged disk..

    This morning i tried to install mavericks update and during the installation it states that my disk is damaged, and everytime i repaired the disk.  I cannot click repaired disk it was grey out.  I tried to go on recovery mode and the same thing happe