Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7414753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:09:47+00:00 2026-05-29T07:09:47+00:00

Am using cssdropdown plugin in ftl file and it just didn’t work with it.

  • 0

Am using cssdropdown plugin in ftl file and it just didn’t work with it.

I had the same code working fine in a jsp page.

My code is as follows,

   <div id="subMenu">
     <div class="drpdown posRel">
       <div class="tab" id="chromemenu">
      <span style="padding-right:1px;">
             <@s.a href="createMessage.action">&nbsp;Demo&nbsp;&nbsp;|</@s.a><a href="javascript:void(0);" rel="dropmenu1" onclick="document.getElementById('dropmenu1').style.width =document.getElementById('dropmenu1').offsetWidth+'px';"> <img src="images/image.gif" /></a></span></div>
    <div id="dropmenu1" class="dropmenudiv">                           <@s.a href="${stack.findValue('href')}" class="sample_attach"><span>&nbsp;${stack.findValue('label')}</span></@s.a>                              <@s.a href="${stack.findValue('href')}" class="sample_attach"><span>&nbsp;${stack.findValue('label')}</span></@s.a>
</div>
<script type="text/javascript">cssdropdown.startchrome("chromemenu")</script>
</div>
</div>

Is there any dependency i had to add for ftl.

P.S. I had an iterator that iterates the in this code. I could see the HTML output same as of my jsp page but it is not working in ftl.

Any help is appreciated. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T07:09:48+00:00Added an answer on May 29, 2026 at 7:09 am

    Check the HTML output… If it’s identical to what the JSP outputs, then look closer, because the browser doesn’t care if the HTML was generated by JSP, FTL or whatever, since both JSP and FTL runs on the server, not on the client.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using TortoiseSVN against VisualSVN I delete a source file that I should not have
Using preview 4 of ASP.NET MVC Code like: <%= Html.CheckBox( myCheckBox, Click Here, True,
I'm using the Pure CSS menu from here: http://csswizardry.com/2011/02/creating-a-pure-css-dropdown-menu/ It works fine, but I
Using Rails 3.2.0.rc2 and ruby 1.9.3p0 In app/views/requests/_form.html.erb I have the following code for
Using the C# Facebook SDK 5.0.3 everything works fine whit the client.Get(/me). But when
Using the classic code snippet: if (x & (x-1)) == 0 If the answer
Using of mobile dialog authentication is working well for other mobile devices except on
Using Bootstrap's typeahead javascript plugin, I'm attempting to change the data-source attribute via jQuery's
Using jQuery rotate http://code.google.com/p/jqueryrotate/wiki/Examples to animate an object from 0 degrees to 40 degrees
Using online interfaces to a version control system is a nice way to have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.