[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] WebGL 2.0 Reference Guide now available online



The behavior on mouseup on the select is awkward.

$(function() {
   $('body').delegate('.ref-card-download', 'mouseup', function() {
        if (this.value == 'Free PDFs') return;
        window.open('https://www.khronos.org' + this.value);
        return false;
    });
});

If you select a version, and then try to select another, you bring the mouse down to drop the dropdown, release the mouse to select another version and it immediately opens a window with the already selected version.

It'd be better if you'd listened to a value change like so:

$(function() {
   $('body').delegate('.ref-card-download', 'change', function() {
        if (this.value == 'Free PDFs') return;
        window.open('https://www.khronos.org' + this.value);
        return false;
    });
});

 

On Thu, Feb 9, 2017 at 11:47 PM, James Riordon <webmaster@khronos.org> wrote:

The WebGL 2.0 reference guide is now available online. You can download the PDF, view the slide share version or purchases a printed copy from LuLu. Links on the reference guide page on khronos.org:

https://www.khronos.org/developers/reference-cards/

Cheers

James Riordon
Khronos Group Webmaster

This email message is for the sole use of the intended recipient(s).  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the message.


-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------