como puedo enviar valor mediante onnclick(esto quiero que aparesca);
Código PHP:
<style type="text/css">
#mask { position:absolute; left:0; top:0; z-index:9000; background-color:#000; border-radius:5px; display:none;}
#boxes .window { position:fixed; left:0; top:0; width:440px; height:200px; display:none; z-index:9999; padding:20px; border-radius:5px; font-family:verdana;}
#boxes #dialog { width:375px; height:203px; padding:10px; background-color:#ffffff;}
.tit-modal{ width:90%; font-size:0.90em; font-weight:bold; float:left; color:#559317; text-align:center;}
.close{ float:right; width:25px; height:24px; }
.close a{ text-decoration:none;}
.baner-modal{ width:100%; height:60px; margin:30px 0 10px 0; text-align:center;}
.enlacesmodal{ width:100%; height:30px; text-align:center; line-height:30px; color:#FF8305;}
.enlacesmodal a{ text-decoration:none; color:#FF8305; text-align:center; font-size:0.80em;}
.enlacesmodal a:hover{ text-decoration:underline; color:#FF8305; text-align:center;}
.modal_rigoton{ width:100%; height:30px; line-height:30px; color:#FF0000; text-align:center; margin:10px 0 10px 0px;}
.modal_rigoton a{ max-width:80%; height:30px; float:left; text-decoration:underline; color:#FF0000; font-size:0.80em; line-height:30px; overflow:hidden;}
.modal_rigoton bdo{ width:10%; height:23px; float:left; margin-top:8px; }
.modal_rigoton span{ width:10%; height:23px; float:left; margin-top:8px;}
@media only screen and (max-width:600px) {
#boxes .window { padding:0; position:fixed; left:0; top:0; width:90%; height:200px; display:none; z-index:9999; border-radius:5px;}
#boxes #dialog { padding:0; width:90%; height:203px; background-color:#ffffff;}
</style>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.pack.js"></script>
<script>
$(document).ready(function() {
//select all the a tag with name equal to modal
$('a[name=modal]').click(function(e) {
//Cancel the link behavior
e.preventDefault();
//Get the A tag
var id = $(this).attr('href');
//Get the screen height and width
var maskHeight = $(document).height();
var maskWidth = $(window).width();
//Set heigth and width to mask to fill up the whole screen
$('#mask').css({'width':maskWidth,'height':maskHeight});
//transition effect
$('#mask').fadeIn(1000);
$('#mask').fadeTo("slow",0.8);
//Get the window height and width
var winH = $(window).height();
var winW = $(window).width();
//Set the popup window to center
$(id).css('top', winH/2-$(id).height()/2);
$(id).css('left', winW/2-$(id).width()/2);
//transition effect
$(id).fadeIn(2000);
});
//if close button is clicked
$('.window .close').click(function (e) {
//Cancel the link behavior
e.preventDefault();
$('#mask').hide();
$('.window').hide();
});
//if mask is clicked
$('#mask').click(function () {
$(this).hide();
$('.window').hide();
});
$(window).resize(function () {
var box = $('#boxes .window');
//Get the screen height and width
var maskHeight = $(document).height();
var maskWidth = $(window).width();
//Set height and width to mask to fill up the whole screen
$('#mask').css({'width':maskWidth,'height':maskHeight});
//Get the window height and width
var winH = $(window).height();
var winW = $(window).width();
//Set the popup window to center
box.css('top', winH/2 - box.height()/2);
box.css('left', winW/2 - box.width()/2);
});
});
</script>
<!-- modal inicio -->
<div id="boxes">
<div id="dialog" class="window">
<div class="tit-modal">Esta saliendo de: oirmusicas.me</div>
<a href="#" title="Cerrar Ventana" class="close"></a>
<div class="baner-modal"><img src="http://static.foxmusica.online/img/btnDown.png" /></div>
<div class="enlacesmodal"><a href="#"><<<CLIC PARA CONTINUAR>>></a></div>
<div class="modal_rigoton">
<bdo><img src="http://3.bp.blogspot.com/-MaCutSvUuIU/UBtUu9QW3yI/AAAAAAAAAJU/NSu-yTzGSj8/s1600/left.gi" /></bdo>
<a rel="nofollow" target="_blank" href="http://www.ringtonematcher.com/go/?sid=FIOMros&search=MANA+LO+MEJOR">Descargar tono de pastorita huara atu movil</a>
<span><img src="http://4.bp.blogspot.com/-GW_GYsg_olM/UBtUUwmD1aI/AAAAAAAAAJI/Hximtk5V1No/s1600/right.gif" /></span>
</div>
</div>
<!-- Mask to cover the whole screen -->
<div id="mask"></div>
</div>
<!-- fin modal -->
<a href="javascript:down(10489);" class="sprt down" title="Descargar"> esto quier enviar </a>
por favor ayudeme quiero mostra eso 10489 enviando en e modal por favor ayudeme