Có 19+ tài liệu thuộc chủ đề "3d"
repository.vnu.edu.vn Xem trực tuyến Tải xuống
Mô hình hóa và mô phỏng hệ cơ học 3D trong môi trường Simulink. Nghiên cứu một số mô hình 3D đẫ được mô phỏng trên Simmechanics như: mô hình hệ 4 thanh lấy dữ liệu Body có sẵn, mô hình một băng tải cơ học, robot 6 bậc tự do. Tìm hiểu mô hình hóa và mô phỏng một...
tailieu.vn Xem trực tuyến Tải xuống
Công nghệ máy chiếu 3D. Trong những năm gần đây, công nghệ 3D được mọi người nhắc đến ngày càng nhiều và đang trở thành chủ đề "nóng". Ngày nay, họ có thể được chiêm nghiệm hình ảnh 3D thông qua màn hình máy tính, lớn hơn nữa là Tivi, nhưng mãn nhãn nhất phải kể đến máy chiếu.. Dữ...
tailieu.vn Xem trực tuyến Tải xuống
Communicating With The Server. No part of this book may be reproduced, stored in a retrieval system or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embodied in critical articles or reviews.. The author and publisher have made every effort to ensure the accuracy of...
tailieu.vn Xem trực tuyến Tải xuống
‘Begin at the beginning,’ the King said gravely, ‘and go on till you come to the end:. In this introductory chapter, I’ll provide a brief overview of some of the things you’ll need to know about: the building blocks that make up DHTML Websites.. You’ll find it useful reading if you need to refresh your memory. It’s all in the...
tailieu.vn Xem trực tuyến Tải xuống
You can obtain a reference to a node’s parent from its parentNode property. a node’s children are found in the node’s childNodes property, which is an array. Suppose the variable node points to the ul element of the DOM tree. We can get the node’s parent (the div element) like this:. parent = node.parentNode;. We can check if the unordered...
tailieu.vn Xem trực tuyến Tải xuống
We know this because we checked that this was the case when we set up the event handler in setupRollovers. Images have a src attribute, which you can access through the DOM with the element’s src property. 13 Although the full details of regular expressions are beyond the scope of this book, we’ll look at the basics in Chapter 6....
tailieu.vn Xem trực tuyến Tải xuống
if (window.event &&. window.event.srcElement) el = window.event.srcElement;. while (el.nodeName.toLowerCase. el.nodeName.toLowerCase. if (el.nodeName.toLowerCase. if (document.getElementById('newwin') &&. document.getElementById('newwin').checked. window.open(el.href);. if (window.event). window.event.cancelBubble = true;. window.event.returnValue = false;. if (!document.getElementById) return;. var all_links = document.getElementsByTagName('a');. It also attaches the cancelClick function as the old-style click event listener for each link—this will permit us to cancel the default action of each link in Safari.....
tailieu.vn Xem trực tuyến Tải xuống
if (obj.methodName. if (obj.prop. if (typeof obj.prop. When the user mouses over the thumbnail, that thumbnail could become a “viewing area” in which a snippet of the full-sized image is shown. It’s especially handy if your thumbnails display something like a document, rather than a photo. We’ll review the code first, then see a demonstration before we get to the...
tailieu.vn Xem trực tuyến Tải xuống
id="mylink">Home</a>. <p id="explain"> </p>. Here’s the matching script:. We’ve got the now-familiar addEvent code, a listener initialization function, and some listeners. It’s all stuff we’ve discussed before. We’ve chosen 2000 (2 seconds) to exaggerate the effect—normally you’d use a number like 500 (half a second). First, we attach mouseover and mouseout listeners to the link in the standard way. Here’s the...
tailieu.vn Xem trực tuyến Tải xuống
Here’s the style sheet:. Finally, here’s the script:. rH.links = navList.getElementsByTagName('a');. rH.links.length. rH.addEvent(rH.links[i], 'mouseover', rH.mOver, false);. rH.addEvent(rH.links[i], 'mouseout', rH.mOut, false);. move the corresponding span into the extra div var theLi = rH.links[i].parentNode;. remember where the span is, and what's happening rH.links[i].tipSpan = theSpan;. rH.links[i].tipState = 'none';. setInterval(rH.moveLinks, 50. link = e.target;. if (window.event &&. if (link.tipState. link.tipState = 'rising';. e.target)...
tailieu.vn Xem trực tuyến Tải xuống
File: genericValidation.js (excerpt). We’re going to step through all the form elements and check only the ones our validation set has regular expressions for:. if (frm.elements[i].name &&. validationSet[frm.elements[i].name]). it’s the same as the code we used in checkValid. validationSet[failedE.name]['error'];. If you look at this code closely, you’ll see that we’re not only grabbing the message associated with the field: we’re...
tailieu.vn Xem trực tuyến Tải xuống
src="typeahead.js"></script>. 13 Sometimes, developers place just one country at the top—the United States—leaving UK residents such as myself, and other non-Americans, to scroll through the ridiculously long list. <p>. <option value="AFG">Afghanistan</option>. <option value="ALB">Albania</option>. <option value="DZA">Algeria</option>. <option value="ZAR">Zaire</option>. <option value="ZMB">Zambia</option>. <option value="ZWE">Zimbabwe</option>. </p>. We’ll therefore use keydown for this script.. In summary, we’ll create a library object as follows:. As only...
tailieu.vn Xem trực tuyến Tải xuống
And although IE uses window.event.srcElement as equivalent to the standard target property, IE has no equivalent to the currentTarget property.. In order to get the element to which the event listener was assigned in IE, we’ll have to be slightly more creative. Instead of using the mover and mout functions directly as the mouse event listeners for all of the...
tailieu.vn Xem trực tuyến Tải xuống
<p>Below is an iframe, styled in size with CSS and displaying a different document.</p>. The HTML document displayed by the iframe is trivial and unstyled:. the iframe.</p>. There’s no sign that the iframe document is separate from that which surrounds it.. You can change the document that displays inside the iframe using a script loc- ated in the surrounding document....
tailieu.vn Xem trực tuyến Tải xuống
This approach is otherwise very similar to the image swap technique.. To create this functionality, we pass a small amount of data (a nickname) to the server via the RSLite library. the server then does all the work, resolving the nickname to an email address. RSLite then passes the results of that work (the email address) back to the client...
tailieu.vn Xem trực tuyến Tải xuống
These styles align the two div s left-to-right by floating them against the left side of the page. To prevent whitespace from appearing underneath each li in Internet Explorer, we use the trick we saw in Chapter 7: set the li contents to occupy the full width of the li . We’ll add a new section to the page itself...
tailieu.vn Xem trực tuyến Tải xuống
setTimeout(fM.setUpDraggables, 100);. path="www.example.com/html/file1.html">file1<wbr>.html</li>. It also adds a custom path attribute with the full path of the file (to make life easier on the drag script). However, there is no cross-browser way to say, “break up this word wherever you need to in order to get it to fit into a box properly.” The other possibilities are ­. The method clears...
tailieu.vn Xem trực tuyến Tải xuống
In either case, we must specify the location of the XML-RPC API (this is some- times called the endpoint, and is the URL of the script to which you pass the XML-RPC commands). The remote method becomes accessible as a method of the API object. Armed with this knowledge of the Blogger API, and a trusty XML-RPC client library, we...
tailieu.vn Xem trực tuyến Tải xuống
walk through the DOM of the page to find particular elements. manipulate the DOM of the page to add new content;. if (!document.getElementById. !document.createElement. !document.getElementsByTagName. var blogs = document.getElementById('blogs');. var ul = document.createElement('ul');. existing elements li = document.createElement('li');. a = document.createElement('a');. p = document.createElement('p');. tn = document.createTextNode(title);. dn = document.createTextNode(desc);. li.appendChild(a);. li.appendChild(p);. var el = window.event ? window.event.srcElement : e...