// jQuery document $(function(){ // Focus on Flash interface: (IE hack) // Items opbouwen: /* i=0; $('#items img').each(function(){ var t = $(this); var idx = t.css('zIndex'); t.css('top', i*8); i++; t.mouseover(function(){ t.css('zIndex', 1000); }); t.mouseout(function(){ t.css('zIndex', idx); }); }); */ // Items opbouwen: /* $.ajax({ type: "GET", url: "/beheer/modules/beeldbode/files.php", dataType: "xml", complete: function(xmlObject, msg) { $('#items').text(''); $('/root/item', xmlObject).each(function(e){ alert(e); }); }}); */ /* $.get("/beheer/modules/beeldbode/files.php", function(xmlObject, msg) { $('#items').text(''); i=0; var tempZ = 1; $('/root/item', xmlObject).each(function(e){ id = $(this).attr('id'); name = $(this).attr('name'); filename = $(this).attr('filename'); width = $(this).attr('width'); height = $(this).attr('height'); html = ''+name+''; $('#items').append(html); var item = $('a#item_'+id); item.css('top', i*8); i++; item.mouseover(function(){ tempZ = item.css('zIndex'); item.css('zIndex', 1000); }); item.mouseout(function(){ item.css('zIndex', tempZ); }); }); }); */ $('span.bestel').click(function(){ var id = $('var#id').text(); $('#bestel').show(); }); // Bestelformulier: $('#bestel div.close').click(function(){ $('#bestel').hide(); }); $('#bestel.show').show(); $('#header a').click(function(){ $(this).blur(); }); });