/* * Function that places a layer with a flv swf player * * Param 1: path to the flv file (relative to the path of the flv player.swf) * Param 2: Style of the div to display (basicaly composed of a top, left, width and height attribute) * */ function insertVideo(flvPath,divStyle) { someDiv = document.getElementById('mapping'); someDiv.innerHTML += '
'; } /* * Function that places a layer with a click on it to jump to whatever page * * Param 1: page number to go to * Param 2: Style of the div to display (basicaly composed of a top, left, width and height attribute) * */ function gotoPage(pageNumber,divStyle) { /* * * Deactivate this for the time being * This fucks under FF (can't remotely click on something) * Solution: try to click via var $j = jQuery.noConflict(); & $j(document).ready(function(){ * */ /* gotoTab = document.getElementById("tab_page_"+pageNumber); someDiv = document.getElementById('mapping'); someDiv.innerHTML += ''; */ } /* * Function that places a layer with a click on it to jump to an external url * * Param 1: url to go to * Param 2: Style of the div to display (basicaly composed of a top, left, width and height attribute) * */ function gotoUrl(url,divStyle) { someDiv = document.getElementById('mapping'); someDiv.innerHTML += ''; /* someDiv.innerHTML += ''; */ } /* * Function that places a layer with a click on it to open a mootols inline popup * * Param 1: if of the link to click on * Param 2: Style of the div to display (basicaly composed of a top, left, width and height attribute) * */ function loadHtml(id,divStyle) { someDiv = document.getElementById('mapping'); /* someDiv.innerHTML += ''; */ someDiv.innerHTML += ''; } /* * Function that places a layer with a swf applet * This function is called with a window.setTimeout of 1 second (because of the transition) * * Param 1: path of the swf file to insert * Param 2: width of the swf file * Param 3: height of the swf file * Param 4: Style of the div to display (basicaly composed of a top, left, width and height attribute) * */ function insertSwf(swfFile,width,height,divStyle) { someDiv = document.getElementById('mapping'); someDiv.innerHTML += ''; } /* * Function that removes every mapping zones * * Param: void() * */ function unloadMapping() { div_mapping = document.getElementById("mapping"); for(i=0;i<2;i++) div_mapping.innerHTML = ''; }