Answer the question
In order to leave comments, you need to log in
How to start downloading .swf on click?
Tell me, please .. if you place a .swf file on the site, it automatically starts when the page loads. How can I make it run only when the button is clicked?
<embed class='swfgame' src='/uploads/files/2016-02/1454280171_flashplayerru_32385.swf' width='100%' height='500px' allowScriptAccess='sameDomain' allownetworking='internal' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>
Answer the question
In order to leave comments, you need to log in
We click on the Go button and your file is added to the div with id embed .
<div id="embed"></div>
<button id="go">Го</button>
document.getElementById('go').onclick = function() {
document.getElementById('embed').innerHTML = "<embed class='swfgame' src='/uploads/files/2016-02/1454280171_flashplayerru_32385.swf' width='100%' height='500px' allowScriptAccess='sameDomain' allownetworking='internal' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>";
}
If you want a shadow for a word, then use text-shadow
codepen.io/iiil/pen/zlmbd
Here you can play around sandbox.juan-i.com/longshadows
or look for other generators by the word long shadow generator
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question