I figured it out
I just changed the following in the dhtmlwindow.load function
Code:
window.frames["_iframe-"+t.id].location.replace(contentsource)
TO
Code:
window.frames["_iframe-"+t.id].location.replace(contentsource+'?title='+title)
then accessed it in php on the iframe page
but I have one more question how would i go about minimizing and restoring the window using a button
basically I have added some code to add a button to my menu and i want it to hide/show the window onclick how would i do this
This is the code i tried but it doesn't seem to work:
Code:
var fishEyeElement = document.getElementById('fishEye');
fishEyeElement.innerHTML = fishEyeElement.innerHTML + '<li id="fisheye_'+t+'"><a class="dockItem" onclick="if(document.getElementById(\''+t+'\').style.display == \'none\') { dhtmlwindow.restore(\'Minimize\', \''+t+'\'); }else{ dhtmlwindow.minimize(\'Restore\', \''+t+'\') }"><img src="images/dock/'+t+'.png" alt="Home" title="Example 1" /></a></li>'
Bookmarks