Today, start documenting some of the javascript techniques you've used in the development process.
1. How to obtain the value of an element in another frame under a frame:
For example, there are 3 pages,
Main.htm sub1.html sub2.html a) main.html contents are as follows:
b) The contents of sub1.html are as follows:
c) The sub2.html content is as follows:
Now I want to click the test button and pop up the dia
There are generally 2 ways to design a sliding screen frame
Control Parent Container Method
Control sub-container method
This is the control of the parent container methodSwipe the page up or down by controlling the value of the parent container's transform: Translatey or Margin-top or top, each time the offset is the current page height ~ With the slip frame, the library size is 5.75K, v
Multiple iframe may be embedded in a page that interoperate with child pages in the IFRAME as follows:1. Parent page Access Sub-pageThe 1.1 Window object contains the property frames, which is a collection of the child frame window objects of the current page, so that the sub-frame window object can be accessed through this property. There are two ways to access property frames:A, indexB, NameFor example, t
"Frame-by-frame animation" and "playing GIF" seem to be irrelevant to the two gender, but they are not actually!
Because the image control in Silverlight does not support the direct use of GIF animation as the source, it is like the commonly used "Walking villain" and "loading Animation "... this type of typical GIF material cannot be directly used. It can only be converted to
Waiting for a long time can be a large frame, such as a series of effects motion frame, is now a preliminary version, to meet the needs. Let's see how it's achieved.We know in JavaScript that '. ' Equivalent to ' [] ' For example: odiv.style.height=odiv.style[' height ']So, let's move the property as a parameter and pass it to the previous function.Transparency, need to be dealt with alone, can be judged.di
Article Source: http://blog.sina.com.cn/s/blog_6f6d07f80100oqlt.html (this article from this blog)When we browse the Web, we often see a navigation bar, and when you click on the item on the navigation bar, the page changes to display in the display area. First prepare a main interface file main.htm, divide it into two areas index and content.HTML>Framesetcols= "120,*">Framename= "Index"src= "Index.htm" />Framename= "Content"src= "Frame_a.htm" />Frameset>HTML>where the index area link index.htm
Sometimes, after zooming, you need to know which coordinates the zoom is to begin with. As the point of the last known zoom, then zoom to it at that point. This article is actually inverse(x, y) is the point at which the zoomSimple after simplification, the code is as follows: Func Getzoompoint (fromrect:cgrect,torect:cgrect),cgpoint{ = torect.width/ fromrect.width = (Torect.origin.x-scale * fromrect.origin.x)/(1.0 -scale ) = (torect.origin.y-scale * fromrect.origin.y)/(
Recently, when working on a web project, the customer had to emphasize the dynamic notification bubble in some way.Basically, each change in the notification value requires visual effects to gain the user's attention.So I did it and used css3 key frame animation.CodeGenerally, it is relatively simple. You are welcome to repost it in any form, but you must describe the source.
Online demonstration click the following two buttons to notify the b
Second, the frame annotation is 1mm away from the inner frame.
Border Note: Generally, the Administrative Region demarcation line is manually noted, respectively. Because different people have different standards, the final acceptance of the second adjustment is required, the current land use status map, and the cultivated land slope grading map, the basic farmland distribution chart must be printed out. A
Prepare to crack the frame data format and open it with UE. It is obvious that the words serializer_v1.10 are written using the serializer class.
It should also be skeletonserializer. To verify the code, ue should look at the binary code. First, let's look at several file block enumerations of this class.
Enum skeletonchunkid {Skeleton_header = 0x1000,Skeleton_bone = 0x2000,
Skeleton_bone_parent = 0x3000,
Skeleton_animation = 0X4000,
Skeleton_animatio
Frame implements menu navigation and frame menu navigation
The effect is as follows:
Main.html
Menu.html
Pref.html
The remaining code is omitted. The key is the use of the target and name labels.
Later, I will use this method in the project to implement menu navigation.
Mikit CSS Frameworkmikit IntroductionMikit is a favorite web framework for front-end developers and front-end designers. The creation and design of Mikit is designed to provide the most flexible and powerful CSS framework for the front-end community. Unlike many other network frameworks, Mikit is a very good guide and rigorous front-line for super-fast, future-oriented web development.Basic templatesWith Mikit, you can set up your web framework and finish within a minute. Simply add this code to
the servlet,web.xml configuration in the Web test Project as follows1 servlet>2 Servlet-name>DispacherservletServlet-name>3 Servlet-class>Ioc.webmvc.DispacherServletServlet-class>4 servlet>5 servlet-mapping>6 Servlet-name>DispacherservletServlet-name>7 Url-pattern>*.doUrl-pattern>8 servlet-mapping>-- Write a test page index.jsp. @ Page Language="Java"ContentType="text/html; charset=iso-8859-1"pageencoding="iso-8859-1"%>DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 t
Bootstrap frame, navigation bar, Pull-down menu, Carousel Advertising Carousel, grid system Layout, tab tabs, modal box, menu positioning of the personal summary, details as follows:
Bootstrap framework
Navigation
. Navbar-inverse: Change the background color of the navigation bar. Container: Center Display
Fixed navigation bar will cover the content of the page, the solution to set the body of the *padding-top*
Drop down M
Use css3-animation to make frame-by-frame animation, css3-animation Animation
Reference: https://www.qianduan.net/css3-animation/Use css3-animation to make frame-by-frame animation
Common usage:
animation:mymove 4s ease-out 1s backwards; @-webkit-keyframes mymove /*Safari and Chrome*/{from {left:0px;}to {left:200px;}}
[Original] mobile web sliding screen frame sharing and web sliding frame sharing
In 26th day of this month, I attended the webrebuild Shenzhen site. At the meeting, I listened to SHU Shu's explanation of his initial intentions. The word "craftsman spirit" was once again put forward, and I thought about it again. Focus on a project and do it well, good, better... in real work, we are busy, and there may be a
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.