Changeset 1110 for ZMS/trunk/dtml/ZMSLinkElement/f_browse_objs.dtml
- Timestamp:
- 14.07.2010 20:59:04 (23 months ago)
- File:
-
- 1 edited
-
ZMS/trunk/dtml/ZMSLinkElement/f_browse_objs.dtml (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ZMS/trunk/dtml/ZMSLinkElement/f_browse_objs.dtml
r970 r1110 20 20 function directEditExpandIt( div_id, poser_id, autoClose) 21 21 { 22 AutoClose = autoClose;22 directEditAutoClose = autoClose; 23 23 var coords = {x: 0, y: 0}; 24 24 var el = document.images[ poser_id]; … … 30 30 el = el.offsetParent; 31 31 } 32 var div = $(div_id); 33 div.css( { left: coords['x'] + "px", top: coords['y'] + "px", position: "absolute"}); 34 div.show( "fast"); 32 var el = document.getElementById( div_id); 33 el.style.left = coords['x'] + "px"; 34 el.style.top = coords['y'] + "px"; 35 el.style.position = "absolute"; 36 el.style.display = "block"; 37 el.style.visibility = "visible"; 35 38 } 36 39 … … 200 203 } 201 204 <dtml-else> 202 var el_type = document.getElementById('type'); 203 var v_type = el_type.options[ el_type.selectedIndex].value; 204 if (v_type.indexOf('dtml')==0) { 205 if ($('#type').val().indexOf('dtml')==0) { 205 206 url = "<" + "dtml-var \"getLinkUrl('" + getInternalUrl(url) + "',REQUEST)\">"; 206 207 } … … 585 586 ></span 586 587 ><img id="img_<dtml-var id>" src="<dtml-var "display_icon(REQUEST)">" border="0" title="Preview" 587 onmouseover=" ExpandIt( 'div_img_<dtml-var id>', 'img_<dtml-var id>', false);"588 onmouseover="directEditExpandIt( 'div_img_<dtml-var id>', 'img_<dtml-var id>', false);" 588 589 onmouseout="document.getElementById( 'div_img_<dtml-var id>').style.display='none';document.getElementById( 'div_img_<dtml-var id>').style.visibility='hidden';" 589 590 align="absmiddle"
Note: See TracChangeset
for help on using the changeset viewer.
