Yes, show()/hide() does change the display properties. There's no function in jQuery to change the visibility, but you can use the basic css() function to change it: $(element).css('visibility', 'hidden');
or for multiple: $(element).css({visibility:'hidden', backgroundColor:'black'}); On Feb 17, 1:20 pm, GrootBaas <fj.lu...@gmail.com> wrote: > Hi jQuery, > > Could somebody please shed some light on this issue for me? > > .hide() and .show(), will change the layout of my page because when > I .show() the elements, an element is created in a place where there > was none.. > > I am no expert, but I think .show() change the CSS style from > "display:none" to "display:true". > > Is there a jQuery function to change the CSS style from > "visibility:hidden" to "visibility:true". > > I believe by just changing the visibility style of the element, the > place holder of the item will be kept, even if the user can not see > the element. > > Maybe I should just use standard JavaScript .... > > Thanks again in advance ...