$(document).ready(function() { // Init fancybox $('.fancybox').fancybox(); var exampleName = [ 'core_basic_window', 'core_input_keys', 'core_input_mouse', 'core_input_mouse_wheel', 'core_input_gamepad', 'core_input_multitouch', 'core_input_gestures', 'core_2d_camera', 'core_2d_camera_platformer', 'core_3d_camera_mode', 'core_3d_camera_free', 'core_3d_camera_first_person', 'core_3d_picking', 'core_world_screen', 'core_custom_logging', 'core_window_letterbox', 'core_drop_files', 'core_random_values', 'core_scissor_test', 'core_storage_values', 'core_vr_simulator', 'core_loading_thread', 'shapes_basic_shapes', 'shapes_bouncing_ball', 'shapes_colors_palette', 'shapes_logo_raylib', 'shapes_logo_raylib_anim', 'shapes_rectangle_scaling', 'shapes_lines_bezier', 'shapes_collision_area', 'shapes_following_eyes', 'shapes_easings_ball_anim', 'shapes_easings_box_anim', 'shapes_easings_rectangle_array', 'shapes_draw_ring', 'shapes_draw_circle_sector', 'shapes_draw_rectangle_rounded', 'text_raylib_fonts', 'text_font_spritefont', 'text_font_loading', 'text_font_filters', 'text_font_sdf', 'text_format_text', 'text_input_box', 'text_writing_anim', 'text_rectangle_bounds', 'text_unicode', 'textures_logo_raylib', 'textures_mouse_painting', 'textures_rectangle', 'textures_srcrec_dstrec', 'textures_image_drawing', 'textures_image_generation', 'textures_image_loading', 'textures_image_processing', 'textures_image_text', 'textures_to_image', 'textures_raw_data', 'textures_particles_blending', 'textures_npatch_drawing', 'textures_background_scrolling', 'textures_sprite_button', 'textures_sprite_explosion', 'textures_bunnymark', 'models_animation', 'models_billboard', 'models_box_collisions', 'models_cubicmap', 'models_first_person_maze', 'models_geometric_shapes', 'models_material_pbr', 'models_mesh_generation', 'models_mesh_picking', 'models_loading', 'models_orthographic_projection', 'models_rlgl_solar_system', 'models_skybox', 'models_yaw_pitch_roll', 'models_heightmap', 'models_waving_cubes', 'shaders_model_shader', 'shaders_shapes_textures', 'shaders_custom_uniform', 'shaders_postprocessing', 'shaders_palette_switch', 'shaders_raymarching', 'shaders_texture_drawing', 'shaders_texture_waves', 'shaders_julia_set', 'shaders_eratosthenes', 'shaders_spotlight', 'shaders_basic_lighting', 'shaders_fog', 'shaders_simple_mask', 'audio_module_playing', 'audio_music_stream', 'audio_raw_stream', 'audio_sound_loading', 'audio_multichannel_sound', 'physics_demo', 'physics_friction', 'physics_movement', 'physics_restitution', 'physics_shatter']; for (var i = 0; i < exampleName.length; i++) { var filterType = exampleName[i].substring(0, exampleName[i].indexOf("_")); var exampleBase = exampleName[i].slice(exampleName[i].indexOf('_') + 1); var exampleDesc = exampleBase.replace('_', ' '); $('#container').append( '
' + '' + '

' + exampleDesc + '

' + '
'); $('#container a .extext').hide(); } // Instantiate MixItUp: $('#container').mixItUp(); $("#container a").hover( function(){ $(this).find(".extext").show(); }, function(){ $(this).find(".extext").hide(); }); /* $("#container a img").hover( function() { $(this).stop().animate({ opacity:0.6 }, 200, "easeOutQuad" ); }, function() { $(this).stop().animate({ opacity:0 }, 200, "easeOutQuad" ); } ) */ });