User Profile

Collapse

Profile Sidebar

Collapse
user7777
user7777
Last Activity: Jun 30 '15, 11:04 AM
Joined: Sep 24 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • how to use variable in page attribute of jsp include tag?

    how to use variable in page attribute of jsp include tag?
    Code:
    <jsp:include  page="/WEB-INF/fd_jsp/layouts/basketcontent.jsp" />
    I want to insert a variable passed as parameter in page attribute .Something like

    Code:
    <jsp:include  page="/WEB-INF/${templateName}/layouts/basketcontent.jsp" />
    See more | Go to post

  • How to close the keypad in safari browser when the user clicks on input field

    I'm working on responsive design. I was struck with the issue, where the input field which has read only attribute, I want to disable the keypad in safari browser. The code I used was,
    Code:
    var currentscroll = 0;
    $('input, textarea').bind('focus',function() {
       currentscroll = $(window).scrollTop();
    });
    $('input, textarea').bind('blur',function({
       if(currentscroll != $(window).scrollTop()) {
            $(window).scrollTop(currentscroll);
    ...
    See more | Go to post

  • user7777
    started a topic Can we use function in find..??

    Can we use function in find..??

    Code:
    $('div').find('.productInCart',function(){
    var menuId = $(this).attr("id").split("_")[1];
    if(windowWidth < 769) {
    $('#single_addon_'+menuId).hide();						}else {							$('#single_addon_'+menuId).show();
    }
    });
    Can we use find in this way.
    See more | Go to post

  • Hi Exequiel I used both the methods suggested by you but unfortunately both are returning the same output as before.

    This is my code.....

    Code:
    if(windowWidth < 769) {
    						self.page.on("click",".addonUncheck",function(){
    							$('.singleAddon').attr('style','display: none !important');
    						});
    						self.page.on("click",".deleteAddon",function(){
    ...
    See more | Go to post

    Leave a comment:


  • How to display display none as important using jquery

    I have a div which is display block (getting the style through jquery) and now I want to make it display none when the user click on it only for the tablet and mobile view. So I used attr('style','d isplay: none !important'). But it is taking display block as default. Is there any solution to overcome this.....
    See more | Go to post

  • user7777
    started a topic Can we use percentages for borders

    Can we use percentages for borders

    I used breadcrumbs in my site and trying to make it responsive. The borders for it are as border-top: 50px solid #000 and same for left and bottom. As I want it to be responsive, I want to replace 50px to percentages. Is there any solution to it....

    Code:
    border-bottom: 50px solid #FFF;
    border-left: 50px solid #EE2C71;
    border-top: 50px solid #FFF;
    See more | Go to post
No activity results to display
Show More
Working...