• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "ms security updates and dhtml drag-n-drop"

Collapse

  • Guest's Avatar
    Guest replied
    Re: updates

    While removing all my crap about butterflies dragged on to dandelions I deleted a bit there. For xtd, ydt subst. posLeft/posTop of dragged object which has onClick=down(this)

    function down(o)
    {
    doDrag=true;
    e = window.event;
    xoff = e.clientX-o.style.posLeft;
    yoff = e.clientY-o.style.posTop;
    etc

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Re: updates

    So the MS suggested workarounds don't work? If so, only thing I can think of is not to use the provided drag methods and do it the old fashioned way:

    var xoff,yoff;
    var dodrag;

    function down()
    {
    doDrag=true;
    e = window.event;
    xoff = e.clientX-xtd;
    yoff = e.clientY-ytd;
    }

    document.onmouseup = MouseUp
    function MouseUp()
    {
    if (doDrag)
    {
    doDrag=false;

    //Drop code here, eg copy contents of dragged item to item dragged over

    }
    }

    document.onmousemove = MouseMove
    function MouseMove()
    {
    //If dragging
    if (doDrag)
    {

    //Get mouse position
    e = window.event;
    x=e.clientX; y=e.clientY;

    //Position dragged elements as mouse with appropriate offset eg:
    with (document.getElementById("word").style) {posLeft = x-xoff; posTop = y-yoff;}
    }

    Leave a comment:


  • Guest's Avatar
    Guest replied
    updates

    the updates are on the client.

    there are security issues with drag & drop ... support.microsoft.com/kb/888534 support.microsoft.com/?kbid=834707 & support.microsoft.com/kb/887614

    other dhtml is working (layers, fancy shmancy menus etc)

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Updates on the host or the client they are using to view site?Noticed myself that any disabling of scripting in settings only seems to apply to Internet usage, it all still works in hard disc files.

    Security mods would disable risk areas, file handling etc, but drag and drop is surely harmless. Maybe worth checking to see if any DHTML is working, if not, I believe one can get a small patch to repair simply the scripting facility alone from the MS website. Otherwise must be some specific feature you are using. Perhaps post code or supply ref?

    Leave a comment:


  • Guest's Avatar
    Guest started a topic ms security updates and dhtml drag-n-drop

    ms security updates and dhtml drag-n-drop

    hi all,

    can anyone help?

    a client has been using dhtml drag-n-drop functionality on their website. recent ms security updates seem to have disabled this. the internet settings seem to be fine still (all set to enabled), all registry entries are correct, and when i run the pages locally (i.e. off the c: drive), dragging works fine. It's just not working when connected to via the internet.

    anyone come across this, and have a solution (that doesnt involve uninstalling the ms security patches) ?

    cheers

Working...
X