{"id":14482728,"url":"https://github.com/scribd/flash_heed","last_synced_at":"2025-08-30T03:32:05.782Z","repository":{"id":66239609,"uuid":"1077802","full_name":"scribd/flash_heed","owner":"scribd","description":"Fixes all Flash elements on a page so that they heed DOM stacking order.","archived":true,"fork":false,"pushed_at":"2010-11-16T20:21:43.000Z","size":96,"stargazers_count":45,"open_issues_count":4,"forks_count":10,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-09-04T00:03:55.653Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scribd.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-11-13T17:48:56.000Z","updated_at":"2023-01-28T16:51:13.000Z","dependencies_parsed_at":"2023-02-20T00:35:16.047Z","dependency_job_id":null,"html_url":"https://github.com/scribd/flash_heed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scribd%2Fflash_heed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scribd%2Fflash_heed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scribd%2Fflash_heed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scribd%2Fflash_heed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scribd","download_url":"https://codeload.github.com/scribd/flash_heed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231438919,"owners_count":18376823,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-03T00:01:15.403Z","updated_at":"2024-12-27T04:30:26.783Z","avatar_url":"https://github.com/scribd.png","language":"JavaScript","readme":"FlashHeed: Fix Flash Ads That Go Above Your Content\n===================================================\n\nTired of flash ads (or other flash content) that ignore z-index and go over your DOM content on the page? Use FlashHeed to fix them.\n\nThe issue is that flash elements that don't specify a `wmode`, or set `wmode` to `window` will not preserve stacking order on your webpage. In fact, they will go above any content, no matter what kind of z-index voodoo you try.\n\nThis problem is easy to solve if you deliver and own the flash content: just stick `\u003cparam name=\"wmode\" value=\"transparent\"\u003e` in your object tag and set `wmode=\"transparent\"` in your embed tags and you're good to go. But, what if you cannot alter the flash server-side? This is a common problem with flash ads, like Google AdSense.\n\nFor these situation, FlashHeed will dynamically add these paramters, taking into account various browser quirks.\n\nCompatibility\n-------------\n\nFlashHeed has been tested in Firefox 3, Safari 5, Chrome 7, IE6, IE7, and IE8. In other words, it should work in most major browsers.\n\nUsage\n-----\n\nFlashHeed has no dependencies. Just include the script in your webpage (preferably in the `\u003chead\u003e`):\n\n`\u003cscript type=\"text/javascript\" src=\"flash_heed.js\"\u003e\u003c/script\u003e`\n\nA `FlashHeed` object will now be available.\n\nIt currently has one method: `heed`. Call it without any arguments like so:\n\n`FlashHeed.heed();`\n\nAnd it will fix up all the flash elements on a page. Or, you can pass in a scope, and it will only fix ads that are children of that DOM node:\n\n`FlashHeed.heed(document.getElementById('container'));`\n\nOf course, you should probably call this method onDomLoad.\n\nThat's it! Never again will your drop down menus and lightboxes be terrorized by flash ads!","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscribd%2Fflash_heed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscribd%2Fflash_heed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscribd%2Fflash_heed/lists"}