I'm trying to add a jQuery post to some JavaScript on a web page. The entire page is built up of several Velocity templates. Everything has been fine until I've tried to add the jQuery post, now I get:  org.apache.velocity.exception.ParseErro...
I'm trying to animate an element's width using velocity and the calc() function.  $("#menuContainer").velocity({width: "calc(100% + -260px)"}, 500);   this animates the element's width to 0.  Does .velocity not support the...
I am trying to check in the form if there is an existing item already exists in the db but it seems that javascript code itself is not getting called. Here is my code.  <div class="field-group">     <label class="label">Pr...
I am trying to use a variable from velocity in my external js file. I had a look also at Access Velocity Variable in JavaScript File but that helped me only use it in js only if it is written in the .vm file.   My velocity:    #set ($testvar= "#i...
I have a VM file with the following codes:  UPDATED:                   Input Form                      #FW{                 display: none;             }                        function showSelect()     {         var post = document.getElementById(...
here are my banners:    pls help me with this. i want that when the page loads, every banners exchange places in any order.   i am using apache velocity for this but i just want to know the logic on how to code it. thanks...
I would like to access a Public Method of my Plugin inside the Progress Function of Velocity. But i can't get it working  This Method creates Elements with Public Functions  var animateFeed = function (ms) {     var i = 0;     var animationInterv...
Good eve,  I'm having some issues with an onScroll event here:  http://codepen.io/JTBennett/pen/bEwmmJ  window.onscroll = function() {myFunction()};  function myFunction() {     if (document.body.scrollTop > 30 || document.documentElement.scro...
Please forgive me as I've never used Apache Velocity before but I have to figure this out!  I'm using an adobe recommendation template for products and I'm now adding a star rating system into it as noted in the image below:    However, a...
This is the code I have in my Velocity file:  #foreach ($key in $googleCharts.keySet())      data.addRow(String($key), parseInt( $googleCharts.get($key)));  #end   Once I run this, I get the error:  Uncaught SyntaxError: missing ) after argument list...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.