load Overlay js aus flash? AS2 [Flash CS3]
| 15.10.2009, 19:47 | Re16 | Beiträge: 1152 Wohnort: Boston MA Registriert: Feb 2006
Themenautor/in
| yo habs n bischen anders geloest
das flash wird versteckt wenn der overlay kommt
wens interessiert hier der code aus der html
ActionScript:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | <!-- each overlay is initialized with this single JavaScript call -->
<script>
function triggerMe(){
api.load();
$("#flash").hide();
}
//$(function makeIthappen() {
// make overlay API global call within flash api.load();
//window.api = $("#custom").overlay({api: true, expose: 'black', effect: 'apple'});
//});
//added function name
$(function(){
window.api = $("#custom").overlay({
api: true,
expose: 'black',
effect: 'apple',
// when the mask closes, alter its background color
onClose: function() {
$("#flash").fadeIn("fast");
},
// when the mask loads again, use the original background color
onLoad: function() {
$("#flash").hide();
}
});
$("button[rel]").overlay({expose: '#000', effect: 'apple'});
$("a[rel]").overlay({expose: '#000', effect: 'apple'});
});
$(function(){
$("#OpenEnrollment").submit(function(){
dataString = $("#OpenEnrollment").serialize();
$.ajax({
type: "POST",
url: "Reminder/reminder.php",
data: dataString,
dataType: "json",
success: function(data) {
if(data.email_check == "Yahoo"){
//alert("Thank you the reminders have been sent.");
$("#container").html('<div><h1 style="font-weight: normal; font-size: 16px;">Thank you.</h1><p>You will receive a calendar event in your email shortly. <a href="javascript:location.reload(true);" style="color:white">Back to Open </a></p></div>')
}
}
});
return false;
});
});
|
danke nochmal an alle
Tno one died when clinton lied | |
| | | nicht sichtbar bei eingeloggten Mitgliedern | 
|
| | Themen Ähnliche Beiträge zum Thema | 16.12.2010 - synni 13.06.2009 - He-Man 01.09.2009 - errox 25.11.2009 - Clodia |
|
Flashhilfe.de Flash Platform Tipps & Tutorials Flash Platform Andere Programmiersprachen Jobangebote Diskussionen
Flashhilfe News 
Regeln & Bedingungen
|