but this one still cause the section id "thisone" execute when the page is
loaded. i want this one to hold off until the user right click and select
an option in the menu because the section id "thisone" needs the
information of the row on which the user right click. if this section id
"thisone execute before the user right click, some of the variables will be
empty

On Wed, Jul 10, 2019 at 3:38 AM Dave S <[email protected]> wrote:

>
>
> On Tuesday, July 9, 2019 at 7:08:48 PM UTC-7, Quang Lam wrote:
>>
>> i have multiple <div> in my html page and i dont want all of them to be
>> executed when the page is loaded. is there any way that we can delay it
>> until the user right click on the context menu. i dont want to use
>> selector.show or selector.hide. because i want those <div> to be executed
>> after the user right click
>>
>
> The way I do it is to use [style].visiblity = "hidden", and toggle it
> document.getElementById("thisone").style.visibility = visible;
>
> and do that by using an onclick handler.
>
> /dps
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/edd2271a-97ec-424d-a0a6-1edd4114e417%40googlegroups.com
> <https://groups.google.com/d/msgid/web2py/edd2271a-97ec-424d-a0a6-1edd4114e417%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAKDykLhkOw3g9R_r%3DnVVed2KSVRHo1SC2V3Jdz2TvcFYgeRKPA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to