Title: animation queue not working · Issue #84 · Keyframes/jQuery.Keyframes · GitHub
Open Graph Title: animation queue not working · Issue #84 · Keyframes/jQuery.Keyframes
X Title: animation queue not working · Issue #84 · Keyframes/jQuery.Keyframes
Description: Hi i am trying to achieve an animnation queue but it always only plays the second animation "VorhangAuf". Can anyone please tell me what i am doing wrong? here is my code: jQuery(document).ready(function($) { var headerHeight = $('#vorha...
Open Graph Description: Hi i am trying to achieve an animnation queue but it always only plays the second animation "VorhangAuf". Can anyone please tell me what i am doing wrong? here is my code: jQuery(document).ready(fu...
X Description: Hi i am trying to achieve an animnation queue but it always only plays the second animation "VorhangAuf". Can anyone please tell me what i am doing wrong? here is my code: jQuery(document...
Opengraph URL: https://github.com/Keyframes/jQuery.Keyframes/issues/84
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"animation queue not working","articleBody":"Hi i am trying to achieve an animnation queue but it always only plays the second animation \"VorhangAuf\".\r\nCan anyone please tell me what i am doing wrong?\r\n\r\nhere is my code:\r\n\r\n```javascript\r\njQuery(document).ready(function($) {\r\n\r\n\tvar headerHeight = $('#vorhangHeader .elementor-row').height();\r\n\tvar supportedFlag = $.keyframe.isSupported();\r\n\r\n\t$.keyframe.define([{\r\n\t\tname: 'VorhangZu',\r\n\t\t'0%': {\r\n\t\t\t'min-height': headerHeight\r\n\t\t},\r\n\t\t'100%': {\r\n\t\t\t'min-height': '100vh'\r\n\t\t}\r\n\t}, {\r\n\t\tname: 'VorhangAuf',\r\n\t\t'0%': {\r\n\t\t\t'min-height': '100vh'\r\n\t\t},\r\n\t\t'100%': {\r\n\t\t\t'min-height': headerHeight\r\n\t\t}\r\n\t}]);\r\n \r\n\tconst vorhang = new Keyframes(document.getElementById('vorhangHeader').getElementsByClassName('elementor-container')[0]);\r\n \r\n\tvorhang.queue('VorhangZu 300ms cubic-bezier(.83,.03,.24,.65) 0s forwards', {\r\n\t\tonBeforeStart: () =\u003e {\r\n\t\t\tconsole.log('onBeforeStart 1');\r\n\t\t},\r\n\t\tonStart: () =\u003e {\r\n console.log('onStart 1');\r\n\t\t},\r\n\t\tonEnd: () =\u003e {\r\n\t\t\tconsole.log('onEnd 1');\r\n\t\t}\r\n\t})\r\n\t.queue('VorhangAuf 2s cubic-bezier(.33,.01,0,.99) 2s forwards', {\r\n\t\tonBeforeStart: () =\u003e {\r\n\t\t\tconsole.log('onBeforeStart 2');\r\n\t\t},\r\n\t\tonStart: () =\u003e {\r\n console.log('onStart 2');\r\n\t\t},\r\n\t\tonEnd: () =\u003e {\r\n\t\t\tconsole.log('onEnd 2');\r\n\t\t}\r\n\t});\r\n\r\n});\r\n```\r\n\r\n\r\nin console i get this error and the following logs:\r\n```\r\nkeyframes.js:143 Uncaught ReferenceError: exports is not defined\r\nonBeforeStart 1\r\nonBeforeStart 2\r\nonStart 1\r\nonStart 2\r\nonEnd 2\r\n```","author":{"url":"https://github.com/anybany","@type":"Person","name":"anybany"},"datePublished":"2020-10-09T12:15:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/84/jQuery.Keyframes/issues/84"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7322c733-1189-5eb2-bf40-b0ad87751432 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E38:1E4F42:7CF805:AC9B81:69773619 |
| html-safe-nonce | ad3fac66f80fc857344c9b867c60b1e516c23e7244c918c6c5e031d3fad563a8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTM4OjFFNEY0Mjo3Q0Y4MDU6QUM5QjgxOjY5NzczNjE5IiwidmlzaXRvcl9pZCI6Ijc0MTY2MTg2NDc0MTA5MTQ4NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2e6b3c8512f5ae77fe140d95ae11e523754d9bb9f3cbdf27cda97522a4ce00bc |
| hovercard-subject-tag | issue:718098122 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Keyframes/jQuery.Keyframes/84/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9e8a43c23fb7057da2ef80ab9a31605e90c1bc9aca828d0051864484eb0dbd1c/Keyframes/jQuery.Keyframes/issues/84 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9e8a43c23fb7057da2ef80ab9a31605e90c1bc9aca828d0051864484eb0dbd1c/Keyframes/jQuery.Keyframes/issues/84 |
| og:image:alt | Hi i am trying to achieve an animnation queue but it always only plays the second animation "VorhangAuf". Can anyone please tell me what i am doing wrong? here is my code: jQuery(document).ready(fu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anybany |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| turbo-cache-control | no-preview |
| go-import | github.com/Keyframes/jQuery.Keyframes git https://github.com/Keyframes/jQuery.Keyframes.git |
| octolytics-dimension-user_id | 6932821 |
| octolytics-dimension-user_login | Keyframes |
| octolytics-dimension-repository_id | 4077276 |
| octolytics-dimension-repository_nwo | Keyframes/jQuery.Keyframes |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 4077276 |
| octolytics-dimension-repository_network_root_nwo | Keyframes/jQuery.Keyframes |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f752335dbbea672610081196a1998e39aec5e14b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width