Jump to content

Cre8asiteforums Internet Marketing
and Conversion Web Design


Photo

Is It Possible To Put Flash On A Page And Not Load It?


  • Please log in to reply
1 reply to this topic

#1 mrgoodfox

mrgoodfox

    One Who Engineers

  • Moderators
  • 1003 posts

Posted 19 May 2011 - 11:35 PM

I want to put few flash files (unfortunately) on a page - maps of three different countries

Since they are flash files and would take too long for the page to load all of them together, I thought maybe there is a way to have the maps load only if a button (associated with that map) is clicked

Any ideas?

#2 Wit

Wit

    Sonic Boom Member

  • 1000 Post Club
  • 1599 posts

Posted 20 May 2011 - 04:47 AM

<div id="map1" style="width:400px;height:300px;border:solid 2px black" onclick="this.innerHTML='<embed style=width:400px src=http://svt.se/hogafflahage/hogafflaHage_site/Kor/hestekor.swf />'">Placeholder</div>
<a href="#" onclick="map1.innerHTML='<embed style=width:400px src=http://svt.se/hogafflahage/hogafflaHage_site/Kor/hestekor.swf />'">[CLICK]</a>

I think so :)

Sloppy coding, I know....

Attached File  test.html   355bytes   52 downloads

Edited by Wit, 20 May 2011 - 04:49 AM.




RSS Feed

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users