Friday, October 4, 2013

Re: why the GWT button inside a Div with position-fixed doesn't work?

Yes, but I am on a phone at a car dealership waiting for my car. :-)

Using Eclipse for three development tool does not matter. I use eclipse and command line depending on what I am working on.

The CSS you displayed is correct. With the assumption you connected the button click event correctly, The likely issue is there is another layer in the browser display with a higher z-order value and a transparent background preventing you from clicking the button. Chrome developr tools will help you find the problem layer.

Lastly, your reply seems to emphasize that you do not truly understand the environment you are working in and the available tools.

Tim

On Oct 4, 2013 10:48 AM, "Tom" <HenryHa5@gmail.com> wrote:
Can u talk clearly?

I don't use development tool, but i am using eclipse to & GWTP.

What is the correct way to code css in this case? 

On Saturday, October 5, 2013 12:37:21 AM UTC+10, Timothy Spear wrote:

Use chrome developer tools and find what is residing in z-order in front of your div. I have the same requirement and it works just fine.

Tim

On Oct 4, 2013 10:15 AM, "Tom" <Henr...@gmail.com> wrote:
I want to use a div to create a box that is near to the bottom right corner of the browser. The box Div will lie right on top of the footer & to the bottom right corner of the browser.

The requirement is that that Div must be in that desired position relatively to the browser size. It means that when users shrink to extend the browser the div will be moved as well, but no matter how the div was moved, it should be always in that desired position.

Here is my code:
<g:HTMLPanel>
            <div class="{style.bottomRightCornerPosition}">
<g:HTMLPanel>
<g:Button text="test" />
</g:HTMLPanel>
       </div>
       </g:HTMLPanel>

Here is Css
.bottomRightCornerPosition{
position: fixed;
    bottom: 50px;
    right: 0;
}

After running, the HTMLPanel showed as expected, but I couldn't click on the button?

Why is that? How to fix it?

Can we have other solution sing Gwt coding rather css?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate