Sorry to keep bugging you on this subject but I've messed with the <span style
attributes and I can't get the whitespace removed above the paragraph text. I've tried
them all.
What am I doing wrong?
-- begin script
var ie = document.all? true : false;
var ns4 = document.layers? true : false;
var dom = document.getElementById && !document.all ? true : false;
function getObject(nameStr) {
if (dom) {
return document.getElementById( nameStr );
}
else if (ie) {
return document.all[nameStr];
}
else if (ns4) {
return document.layers[nameStr];
}
}
function popUp(boxName,on) {
objLayer = getObject(boxName);
if (on)
objLayer.style.visibility = ns4 ? "show" : "visible";
else
objLayer.style.visibility = ns4 ? "hide" : "hidden";
}
-- end script
<span id="control" style="position:absolute;visibility:visible;">
<a href="javascript:popUp('code',true);">Maximize</a>
</span>
<span id="code" style="position:relative;visibility:hidden;background:white;">
<a href="javascript:popUp('code',false);">Minimize</a><br>
<a href="fileactions/folder-new.cfm" target="display">[New]</a>
<a href="fileactions/folder-rename.cfm" target="display">[Rename]</a>
</span>
<p>It comes in the night, a flying sphere emitting red and blue lights that
attacks villagers in this poor region, extensively burning those victims
it does not kill. At least that's what panic-stricken villagers say. At least
seven people have died of unexplained injuries in the past week in Uttar
Pradesh state.</p>
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists