-1
類別中的一個,好吧,所以我一直在修改我的網站以允許每個「事件」能夠達到更多的數據記錄。一切都很好,直到我決定實際添加一個輔助記錄到數據庫。現在,當我打開我的內容框並單擊「事件」時,我只能選擇其中的一項。點擊只選擇
$(document).ready(function() {
$('#body').load('body.php', function(){
$('.stars, .ship').click(function(){
var name = $(this).attr('name');
var type = $(this).attr('type');
var linkvar = 'content.php?eid=';
var link_full = linkvar + name;
$('#box').show('slow');
$('#box_content').addClass(type);
$('#box_content').load(link_full,
function()
{
$(function(){ $('#close_this_box').click(
function(){
$('#box').hide('slow');
})
});
$('.event').click(function()
{
var name = $(this).attr('name');
var linkvar = 'content.php?cid=';
var link_full = linkvar + name;
$('#loading').show();
$('#box_content').load(link_full,
function()
{
});
});
});
});});
(http://gmz1023.com/index.php實時取景;場地太動態實際添加的jsfiddle,我appoligize了點。)
這與PHP無關。 –
我甚至不記得發佈到PHP。 – Gmz1023