Bonjour,

je suis d�butant en Jquery.

J'ai un script qui ouvre une fen�tre modale quand je clique sur un lien <a href="#" id="show" class="button left">Show it</a>, cela fonctionne sans souci

Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$(function() {
		$('#show').avgrund({
			height: 200,
			holderClass: 'custom',
			showClose: true,
			showCloseText: 'Close',
			enableStackAnimation: true,
			onBlurContainer: '.container',
			template: '<p>So implement your design and place content here! If you want to close modal, please hit "Esc", click somewhere on the screen or use special button.</p>' +
			'<div>' +
			'<a href="http://github.com/voronianski/jquery.avgrund.js" target="_blank" class="github">Avgrund on Github</a>' +
			'<a href="http://twitter.com/voronianski" target="_blank" class="twitter">Twitter</a>' +
			'<a href="http://dribbble.com/voronianski" target="_blank" class="dribble">Dribbble</a>' +
			'</div>'
		});
	});
Mon souci est que je voudrai appeler la m�me fonction mais depuis un script javascript, sans devoir cliquer sur un �l�ment.

De quelle fa�on appeler cette fonctioN ?

Merci de votre aide