0
のhref = "#" クラス= "ポップアップ">車両詳細
ポップアップ (のためののjsファイルhttp://preview.hertzci.com/js/core .js)
VARポップアップ=関数(){
$$('a.popup').each(function(el){
el.addEvent('click', function(e){
var href = el.href.toString();
href += href.contains("?") ? '&ajax' : '?ajax';
if ($('popup')){
$('popup').destroy();
}
var popup = new Element('div', {'id': 'popup'});
var popupInner = new Element('div', {'id': 'popupInner'}).inject(popup);
var closeBtn = new Element('a', {'id': 'closeBtn', 'style': 'cursor: pointer'}).inject(popup, 'top');
var myFx = new Fx.Morph(popup, {'duration': 600});
if (el.rel){
rel = el.rel.toString();
xPos = rel.split(",")[0];
yPos = rel.split(",")[1];
myFx.set({'left': xPos, 'top': yPos});
}
myFx.set({'opacity': 0});
closeBtn.addEvent('click', function(e){
myFx.start({'opacity': 0});
var e = new Event(e).stop();
});
popup.inject(el.getParent());
// Fetch popup content
var req = new Request.HTML({
method: 'get',
url: href,
data: {},
update: $('popupInner'),
onComplete: function(response) {
myFx.start({'opacity': 1});
}
}).send();
var e = new Event(e).stop();
});
});
}
iは番目を表示しなければなりませんポップアップの "popupVehicle.php"の内容 どうすればいいですか?