UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
 
   Reply to this topicStart new topic
> Display:none, any    
 
   
access2009eg
post May 14 2019, 04:53 PM
Post#1



Posts: 1,070
Joined: 19-February 08



friends
I'm using CSS
Display : none
to hide many items (button for examples)
and when show the items again
using jquery

Sometimes items display on bottom page or middle of the page

I want when show item display top left the page

Thank you so much

--------------------
I would like to Thank you for your help
Go to the top of the page
 
theDBguy
post May 14 2019, 04:55 PM
Post#2


Access Wiki and Forums Moderator
Posts: 75,713
Joined: 19-June 07
From: SunnySandyEggo


Hi. It would be hard to tell you why without seeing the code. Can you post some sample files, so we can see the problem in action? Thanks.

--------------------
Just my 2 cents... "And if I claim to be a wise man, it surely means that I don't know" - Kansas
Access Website | Access Blog | Email
Go to the top of the page
 
DanielPineault
post May 14 2019, 06:00 PM
Post#3


UtterAccess VIP
Posts: 6,715
Joined: 30-June 11



Why would their position change just because you hide them? Please show us you markup and code.

Have you thought of using .hide()/.show()/.toggle?


Also, if you want the element to keep its space then you need to use:
CODE
$('#YourDivId').CSS('visibility','hidden')


If you don't want the element to retain its space, then you can use:
CODE
$('#YourDivId').CSS('display','none')


or simply even simpler:
CODE
$('#YourDivId').hide();



--------------------
Daniel Pineault (2010-2019 Microsoft MVP)
Professional Help: http://www.cardaconsultants.com
Free MS Access Code, Tips, Tricks and Samples: http://www.devhut.net

* Design should never say "Look at me". It should always say "Look at this". -- David Craib
* A user interface is like a joke, if you have to explain it, it's not that good! -- Martin LeBlanc


All code samples, demonstration databases, links,... are provided 'AS IS' and are to be used at your own risk! Take the necessary steps to check, validate ...(you are responsible for your choices and actions)
Go to the top of the page
 
access2009eg
post May 14 2019, 07:09 PM
Post#4



Posts: 1,070
Joined: 19-February 08



I tried all these techniques
pls see appendix
Attached File(s)
Attached File  standard2.zip ( 420.71K )Number of downloads: 6
 

--------------------
I would like to Thank you for your help
Go to the top of the page
 
DanielPineault
post May 14 2019, 07:42 PM
Post#5


UtterAccess VIP
Posts: 6,715
Joined: 30-June 11



Can you give us specific step to reproduce the issue, because from what I can see everything is working beautifully.

Also, what browser (and version) are you using?

--------------------
Daniel Pineault (2010-2019 Microsoft MVP)
Professional Help: http://www.cardaconsultants.com
Free MS Access Code, Tips, Tricks and Samples: http://www.devhut.net

* Design should never say "Look at me". It should always say "Look at this". -- David Craib
* A user interface is like a joke, if you have to explain it, it's not that good! -- Martin LeBlanc


All code samples, demonstration databases, links,... are provided 'AS IS' and are to be used at your own risk! Take the necessary steps to check, validate ...(you are responsible for your choices and actions)
Go to the top of the page
 
access2009eg
post May 14 2019, 07:57 PM
Post#6



Posts: 1,070
Joined: 19-February 08




DanielPineault

Thank you very very very much for nice words hat_tip.gif


when items are showed

some space appears between the nav and panel
maybe the space increase when navigating between items

some item appears in the middle of the page

I want all item appears under the nav directly


--------------------
I would like to Thank you for your help
Go to the top of the page
 


Custom Search


RSSSearch   Top   Lo-Fi    18th July 2019 - 12:25 PM