Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alert integration does not work. #36

Open
Mickael63 opened this issue May 17, 2016 · 0 comments
Open

Alert integration does not work. #36

Mickael63 opened this issue May 17, 2016 · 0 comments

Comments

@Mickael63
Copy link

Hello,

Sorry I'm a new user of this component.
I dont know why i use the simple modal code, i don't have the right result (please see my attachment).
my buttons doesnt appear, and the windows is left-aligned.
Please could you help me ?
I don't understand why i have this bad result.
Please see my following code :

<html>
<head>
<title>Applications SFL</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252" />
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Tangerine&amp;v1" />
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz" />
<link rel="stylesheet" href="../../Scripts/plasm-simplemodal/Source/assets/css/simplemodal.css" type="text/css" media="screen" title="no title" charset="utf-8">
<script src="../../Scripts/plasm-simplemodal/Demos/assets/javascript/mootools-core-1.3.1.js" type="text/javascript" charset="utf-8"></script>
<script src="../../Scripts/plasm-simplemodal/Demos/assets/javascript/mootools-more-1.3.1.1.js" type="text/javascript" charset="utf-8"></script>
<script src="../../Scripts/plasm-simplemodal/Source/simple-modal.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="../../Scripts/tab/general.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="../../style/style.css" />
<script src="../../Scripts/jquery/2.1.3/jquery.min.js"></script>
<script src="../../Scripts/tab/tabs.js" type="text/javascript" charset="utf-8"></script>
<link rel="shortcut icon" href="http://sfl1-sv00069/Info/Style/favicon.ico" type="image/x-icon" />
<script>
window.addEvent("domready", function(e){
document.id("BoutonSupprimer").addEvent("click", function(){
var Ref = document.getElementById("Reference").innerHTML;
var Four = document.getElementById("Fournisseur").innerHTML;
var SM = new SimpleModal({"btn_ok":"Alert button"});
SM.show({
"title":"Title",
"contents":"Your message..."
});
});
})
</script>
</head>

screenhunter_7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant