1 Reply Latest reply on Jan 13, 2020 2:18 PM by Daniel Merchán

    js not working in webcenter 12c .. when we upload or share path in pages


      js and jquery not working in webcenter 12c ... how to share path in html in new pages ..


      i have an script it is working on webcenter 11g but not in 12c...


      <!DOCTYPE html>

      <html lang="en">


          <meta charset="utf-8">

          <meta http-equiv="X-UA-Compatible" content="IE=edge">

          <meta name="viewport" content="width=device-width, initial-scale=1">

          <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->


          <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->

          <script src="/webcenter/content/conn/UCMConnection/path/Enterprise%20Libraries/JStest/jquery-2.1.4.min.js"></script>

          <script src="/webcenter/content/conn/UCMConnection/path/Enterprise%20Libraries/JStest/snowfall.jquery.min.js"></script>


          <!-- Bootstrap -->


          <style media="screen">


              font-size: 18px;




              background: #2C1A33;

      color: #965B5B;


          .santa {

              position: fixed;

              bottom: 10px;

              right: -500px;


          .xmas-tree {

              position: fixed;

              bottom: -20px;

              right: 5px;




      <body class="well">

      <script type="text/javascript">

          $(document).ready(function() {


              var windowWidth = $(document).width();

              var santa = $('.santa');

              santa_right_pos = windowWidth + santa.width();

              santa.right = santa_right_pos;


              $(document).snowfall({flakeCount : 100, maxSpeed : 5, maxSize : 5});


              function movesanta(){

                  santa.animate({right : windowWidth +  santa.width()},15000, function(){











          <!-- Include all compiled plugins (below), or include individual files as needed -->