If you include the events.js, it captures all the events of the page and 
doesn't allow you to use location.href redirect.  The page just does 
nothing.  How could I get the link following script to work using 
onClick="location.href='url'".  There's a good reason why I need to get it 
to work this way indstead of using the href="url" for this particular link.

Example:

<html>
<head><title>DynAPI2 tutor - dragging</title>
<Script language="Javascript" src="../src/dynapi.js"></script>
<Script language="Javascript">

DynAPI.setLibraryPath('../src/lib/')

DynAPI.include('dynapi.api.*')

DynAPI.onLoad=function() {
        myLayer=new DynLayer(null,100,100,100,100,'#c0c0c0')

        DragEvent.setDragBoundary(myLayer)
        DragEvent.enableDragEvents(myLayer)

        DynAPI.document.addChild(myLayer)
}

</script>
</head>
<body>
        <DIV ID="temp"><A href="JavaScript:void(0)" 
onClick="location.href='http://dynapi.sourceforge.net/dynapi/content.php?page_id=6'">Part
 
3: Dragging</A></DIV>
</body>
</html>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to