prevent an component "capturing" rodent controlling jquery?


i'm perplexing resize an embedded object. emanate rodent hovers over object, takes "control" mouse, swallowing adult mutation events. outcome being enhance div containing object, nonetheless try tremble it, rodent enters area vigilant resize halts.



currently, i bury vigilant while moving. i'm wondering there's proceed only hinder vigilant capturing mouse. maybe overlaying another component tip prevents rodent events reaching embedded object?






using ghosting resize doesn't work embedded objects, btw.






adding bounty, i can't ever seem working. collect, simply following:



provide webpage pdf embedded it, centered page. pdf can't take adult whole page; the width/height 50% extent browser window something.



use jquery 1.2.6 supplement resize each side dilemma pdf.



the pdf contingency constraint rodent stop tedious timorous pdf. means i click dilemma pdf drag, rodent enters arrangement box pdf, resize operation continues.



this contingency work ie 7. saving css (if gte ie7 whatever) hacks fine.






hmmm... i'm pondering competence an emanate iframe...



    <div style="text-align:center; padding-top:50px;">
<div id="doc" style="width:384px;height:512px;">
<iframe id="docframe" style="width: 100%; height: 100%;"
src='http://www.ready.gov/america/_downloads/sampleplan.pdf'>
</iframe></div></div>
<div id="data"></div>
<script type="text/javascript">
$(document).ready(function() {
var obj = $('#docframe');
$('#doc').resizable({handles:'all', resize: function(e, ui) {
$('#data').html(ui.size.width + 'x' + ui.size.height);
obj.attr({width: ui.size.width, height: ui.size.height});
}});
});
</script>


this doesn't work. your rodent strays iframe resize operation stops.






there good answers; payments runs out before i around vetting i'll return payments (same 150 points).



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members