强制悬停为Alt文本

时间:2017-10-25 19:56:44

标签: jquery html hover

我在图片上有几十个热点(<area>内的<map>元素),每当用户将鼠标悬停在这些热点上时,就会显示alt文字。

<div class="post-entry post-entry-type-page post-entry-933">
		
			<span class="entry-border-overflow extralight-border"></span>
			
						
			
			<div class="twelve alpha alpha units entry-content">	
				
				<p><img id="Image-Maps_8201308101846544" alt="" src="http://rediscoveringschoolandcommunity.com/wp-content/uploads/2017/10/ReggioEmilia2-889x1500.png" usemap="#Image-Maps_8201308101846544" width="930" height="1353" border="0"></p>
<map id="_Image-Maps_8201308101846544" name="Image-Maps_8201308101846544">
<area title="Click here for the Documentation page" alt="Click here for the Documentation page" coords="349,1192,571,1225" shape="rect" href="https://web.archive.org/web/20150926030537/http://www.rediscoveringschoolandcommunity.com/the-project/final-analysis/documentation/">
<area title="Click here for the Standardized Test Scores page" alt="Click here for the Standardized Test Scores page" coords="288,1221,638,1252" shape="rect" href="https://web.archive.org/web/20150926030537/http://www.rediscoveringschoolandcommunity.com/the-project/final-analysis/standardized-test-scores/">
<area title="Click here for the Local Assessments page" alt="Click here for the Local Assessments page" coords="330,1248,589,1282" shape="rect" href="https://web.archive.org/web/20150926030537/http://www.rediscoveringschoolandcommunity.com/the-project/final-analysis/local-assessments/">
<area title="Click here for the Student Portfolios page" alt="Click here for the Student Portfolios page" coords="326,1277,598,1308" shape="rect" href="https://web.archive.org/web/20150926030537/http://www.rediscoveringschoolandcommunity.com/the-project/final-analysis/portfolio-day/">
<area title="Click here for the Former Student Data page" alt="Click here for the Former Student Data page" coords="315,1305,604,1332" shape="rect" href="https://web.archive.org/web/20150926030537/http://www.rediscoveringschoolandcommunity.com/the-project/final-analysis/former-student-data/">
<area title="Click here for the Organizational History page" alt="Click here for the Organizational History page" coords="648,156,885,229" shape="rect" href="https://web.archive.org/web/20150926030537/http://www.rediscoveringschoolandcommunity.com/the-school/organizational-history/">
<area title="Click here for the Current Educational Environment page" alt="Click here for the Current Educational Environment page" coords="72,142,285,254" shape="rect" href="https://web.archive.org/web/20150926030537/http://www.rediscoveringschoolandcommunity.com/the-school/current-educational-environment/" style="
    /* display: block; */
">
<area title="This term, often referred to as C.P., is the name of weekly meetings where the entire staff gathers to discuss study topics, problem solving and reflection on our teaching approach.  It is planned by the principal with input from the Pedagogista.  All staff members are encouraged to bring up topics to be placed on the agenda.  It is facilitated by the principal.  These meetings currently take place on Thursdays from 3:30-5:00 p.m." alt="This term, often referred to as C.P., is the name of weekly meetings where the entire staff gathers to discuss study topics, problem solving and reflection on our teaching approach.  It is planned by the principal with input from the Pedagogista.  All staff members are encouraged to bring up topics to be placed on the agenda.  It is facilitated by the principal.  These meetings currently take place on Thursdays from 3:30-5:00 p.m." coords="166,355,289,417" shape="rect" href="#">
<area title="The Reflective Meeting is a time to examine children’s work and learning experiences as well as teachers’ documentation.  The reflective meeting team analyzes observations and artifacts in order to plan next steps, make connections to state standards and guide a study or project.  This process is based on the Cycle of Inquiry and is the foundation for the creation of the emergent curriculum." alt="The Reflective Meeting is a time to examine children’s work and learning experiences as well as teachers’ documentation.  The reflective meeting team analyzes observations and artifacts in order to plan next steps, make connections to state standards and guide a study or project.  This process is based on the Cycle of Inquiry and is the foundation for the creation of the emergent curriculum." coords="85,512,177,577" shape="rect" href="#">
<area title="The Pedagogista elevates the Reggio Emilia philosophy within school culture. The role uses professional development, collaboration and coaching as means to support leadership, teachers and families. In collaboration with the Principal, the Pedagogista discusses observations, professional development, staff meetings and providing feedback for staff evaluations. The Pedagogista guides teachers to understand the Reggio Emilia principles by attending weekly reflective meetings, observing in classrooms and individualized pedagogy support. The Pedagogista also functions as a liaison for connecting support staff, the Board and Family Team in the Reggio Emilia philosophy." alt="The Pedagogista elevates the Reggio Emilia philosophy within school culture. The role uses professional development, collaboration and coaching as means to support leadership, teachers and families. In collaboration with the Principal, the Pedagogista discusses observations, professional development, staff meetings and providing feedback for staff evaluations. The Pedagogista guides teachers to understand the Reggio Emilia principles by attending weekly reflective meetings, observing in classrooms and individualized pedagogy support. The Pedagogista also functions as a liaison for connecting support staff, the Board and Family Team in the Reggio Emilia philosophy." coords="113,776,226,827" shape="rect" href="#">
<area title="Specialized Support Services include responses for intervention such as: special education, occupational therapy, speech and language pathology, and social work." alt="Specialized Support Services include responses for intervention such as: special education, occupational therapy, speech and language pathology, and social work." coords="392,924,526,990" shape="rect" href="#">
<area title="The Studio coordinator (or Atelierista) is a teacher who works closely with other teachers and the children through the Studio, an intentional space containing materials and tools to pursue thinking and concepts. The Studio Coordinator in collaboration with teachers plans experiences for children to explore classroom concepts with materials.  Other schools would consider this art class, but our school sees it not as a separate part of the curriculum.  The studio’s use of materials is an integral part of symbolic expression and the learning process." alt="The Studio coordinator (or Atelierista) is a teacher who works closely with other teachers and the children through the Studio, an intentional space containing materials and tools to pursue thinking and concepts. The Studio Coordinator in collaboration with teachers plans experiences for children to explore classroom concepts with materials.  Other schools would consider this art class, but our school sees it not as a separate part of the curriculum.  The studio’s use of materials is an integral part of symbolic expression and the learning process." coords="697,771,801,840" shape="rect" href="#">
<area title="Parents are an essential component of the school. They are an active part of their children’s learning experiences and help to ensure the welfare of all the children in the school. All families are members of the Family Team." alt="Parents are an essential component of the school. They are an active part of their children’s learning experiences and help to ensure the welfare of all the children in the school. All families are members of the Family Team." coords="754,533,842,600" shape="rect" href="#">
<area title="The Cycle of Inquiry is the foundation in which teachers and children work together at the school. It is a process which combines wonder, listening, documenting and new understanding about learning among children and teachers. This process occurs frequently and informs pedagogy. The cycle begins with a framing question or a provocation (child or adult instigated), followed by observing, recording and collecting of artifacts by the teacher. Next, teachers collaboratively reflect on children’s work and analyze to arrive at new theories, inform planning and new framing questions. The cycle continues to spiral as projects emerge and learning occurs." alt="The Cycle of Inquiry is the foundation in which teachers and children work together at the school. It is a process which combines wonder, listening, documenting and new understanding about learning among children and teachers. This process occurs frequently and informs pedagogy. The cycle begins with a framing question or a provocation (child or adult instigated), followed by observing, recording and collecting of artifacts by the teacher. Next, teachers collaboratively reflect on children’s work and analyze to arrive at new theories, inform planning and new framing questions. The cycle continues to spiral as projects emerge and learning occurs." coords="641,337,719,401" shape="rect" href="#">
<area title="Community Engagement" alt="Community Engagement" coords="190,470,304,540" shape="rect" href="#">
<area title="Holding Boards" alt="Holding Boards" coords="179,557,254,617" shape="rect" href="#">
<area title="Changes with Needs of Children" alt="Changes with Needs of Children" coords="202,717,320,794" shape="rect" href="#">
<area title="Learning Not Limited to Classroom" alt="Learning Not Limited to Classroom" coords="294,812,470,887" shape="rect" href="#">
<area title="Space is Filled with Children's Work" alt="Space is Filled with Children's Work" coords="503,805,633,882" shape="rect" href="#">
<area title="Acts as a Third Teacher" alt="Acts as a Third Teacher" coords="627,718,713,796" shape="rect" href="#">
<area title="Purposeful Elements Included" alt="Purposeful Elements Included" coords="663,574,757,657" shape="rect" href="#">
<area title="The Cycle of Inquiry is the foundation in which teachers and children work together at the school. It is a process which combines wonder, listening, documenting and new understanding about learning among children and teachers. This process occurs frequently and informs pedagogy. The cycle begins with a framing question or a provocation (child or adult instigated), followed by observing, recording and collecting of artifacts by the teacher. Next, teachers collaboratively reflect on children’s work and analyze to arrive at new theories, inform planning and new framing questions. The cycle continues to spiral as projects emerge and learning occurs." alt="The Cycle of Inquiry is the foundation in which teachers and children work together at the school. It is a process which combines wonder, listening, documenting and new understanding about learning among children and teachers. This process occurs frequently and informs pedagogy. The cycle begins with a framing question or a provocation (child or adult instigated), followed by observing, recording and collecting of artifacts by the teacher. Next, teachers collaboratively reflect on children’s work and analyze to arrive at new theories, inform planning and new framing questions. The cycle continues to spiral as projects emerge and learning occurs." coords="642,477,718,538" shape="rect" href="#">
<area title="Space is Owned by Children" alt="Space is Owned by Children" coords="568,395,662,467" shape="rect" href="#">
<area title="Natural Light" alt="Natural Light" coords="406,474,523,516" shape="rect" href="#">
<area title="Plants" alt="Plants" coords="304,504,368,540" shape="rect" href="#">
<area title="Organized Materials" alt="Organized Materials" coords="270,541,358,599" shape="rect" href="#">
<area title="No Clutter" alt="No Clutter" coords="256,595,353,637" shape="rect" href="#">
<area title="No Desks or Textbooks" alt="No Desks or Textbooks" coords="276,669,380,721" shape="rect" href="#">
<area title="Teachers and Children are Partners in Learning" alt="Teachers and Children are Partners in Learning" coords="334,713,443,804" shape="rect" href="#">
<area title="Children's Identities are Present" alt="Children's Identities are Present" coords="489,718,585,798" shape="rect" href="#">
<area title="The ball toss is a visual representation of a classroom study.  It is designed to map the course of a study throughout the year.  It looks like a t-chart with headings labeled “Provocation: Teachers’ Perspective” and “Outcome: Children’s perspective.”  Teachers record what they plan for children and how the children respond. This back and forth nature is the basis for new planning and resembles a ball being thrown back and forth.  The ball toss events can also be found on teacher’s emergent forms and in portions on holding boards." alt="The ball toss is a visual representation of a classroom study.  It is designed to map the course of a study throughout the year.  It looks like a t-chart with headings labeled “Provocation: Teachers’ Perspective” and “Outcome: Children’s perspective.”  Teachers record what they plan for children and how the children respond. This back and forth nature is the basis for new planning and resembles a ball being thrown back and forth.  The ball toss events can also be found on teacher’s emergent forms and in portions on holding boards." coords="546,687,630,733" shape="rect" href="#">
<area title="Emergent Curriculum is a way of teaching and learning that requires teachers to observe and listen to the children. Teachers ask questions and listen for the children’s ideas, hypotheses and theories. After observing children in action, the teachers compare, discuss, and interpret their observations. Teachers plan activities, studies and long term projects in the classroom based on their observations. Teachers partner with children and the exchange of theories are referred to as the Cycle of Inquiry. Teachers use their interpretations, intentions and goals (social, emotional and academic) to make choices that they share with children. Learning is seen not as a linear process but as a spiraling progression." alt="Emergent Curriculum is a way of teaching and learning that requires teachers to observe and listen to the children. Teachers ask questions and listen for the children’s ideas, hypotheses and theories. After observing children in action, the teachers compare, discuss, and interpret their observations. Teachers plan activities, studies and long term projects in the classroom based on their observations. Teachers partner with children and the exchange of theories are referred to as the Cycle of Inquiry. Teachers use their interpretations, intentions and goals (social, emotional and academic) to make choices that they share with children. Learning is seen not as a linear process but as a spiraling progression." coords="567,590,665,649" shape="rect" href="#">
<area title="The image of the child shapes the role of the teacher and involves four major components. Teachers are co-constructors, researchers, documenters, and advocates for children." alt="The image of the child shapes the role of the teacher and involves four major components. Teachers are co-constructors, researchers, documenters, and advocates for children." coords="571,527,646,587" shape="rect" href="https://web.archive.org/web/20150926030537/http://www.rediscoveringschoolandcommunity.com/the-school/glossary-of-terms/">
<area title="Children have rights, are listened to and taken seriously.  They are viewed as competent, curious, full of knowledge and potential." alt="Children have rights, are listened to and taken seriously.  They are viewed as competent, curious, full of knowledge and potential." coords="362,538,560,709" shape="rect" href="#">
<area title="CurlyHost" alt="CurlyHost" coords="928,1351,930,1353" shape="rect" href="https://web.archive.org/web/20150926030537/http://www.curlyhost.com/"> </map>
<p>After months of observing, reading, listening, interviewing, and participating in the life at Grand Rapids Child Discovery Center, it became clear what makes this place different. Simply put, it is in the way children are viewed. At traditional schools, children are viewed as having a “tabula rasa.” &nbsp;Contrary to that, GRCDC embraces in the Reggio inspired Image of the Child view where children are viewed as competent, curious, full of knowledge, and potential. They have rights, a voice and are taken seriously. They are not taught what to think; &nbsp;rather, they are encouraged and nurtured to learn how to think. &nbsp; Creation, innovation, and construction are all activities that are central to the guiding principles of the Reggio Emilia approach to education. &nbsp;One teacher remarked “We teach kids how to think. &nbsp;By using&nbsp;documentation, the Cycle of Inquiry, and other tools that follow the inquiry process with kids, they become big thinkers and curious wonderers. &nbsp;Essentially, we have thinkers here, not robots. &nbsp;They feel confident and strong.”</p>
<p>It is this view of children, the Image of the Child, that is at the heart of this school. This view acts a lens and things that one would normally assume about a school are refracted differently once children are viewed through it. The real power of the lens is that it is used so regularly and it is so widely endorsed by teachers, students and parents at GRCDC. Due to those factors, the lens acts as central force from the inside out, which then affects the classrooms, the overall school environment and the greater support system. As depicted in the diagram above, the Image of the Child serves as a central force that guides everything from big to little things in the ecosystem such as the role of teachers, the conversations, the curriculum, and even the types of materials present in the classroom. In addition to the interior force at work, the exterior forces at work are the <a title="Current Educational Environment" href="https://web.archive.org/web/20150926030537/http://www.rediscoveringschoolandcommunity.com/the-school/current-educational-environment/">Current Educational Environment</a> and the <a title="Organizational History" href="https://web.archive.org/web/20150926030537/http://www.rediscoveringschoolandcommunity.com/the-school/organizational-history/">Organizational History</a>.</p>
<p>*It should be noted that one can easily make the comparison to Bronfenbrenner’s Theory of Ecological Systems Theory, which is a natural connection because his theory does inform Reggio practice (refer to <a title="Reggio Resources" href="https://web.archive.org/web/20150926030537/http://www.rediscoveringschoolandcommunity.com/the-basics/reggio-resources/">The Basics: Reggio Resources</a> for more information). But this graphic was produced for this specifically for this project and it belongs to the Grand Rapids Child Discovery Center.</p>
	
								
			</div>							
		
		
		</div>

有没有办法用jQuery强制所有元素上的悬停状态,以便一次显示所有alt文本?

我尝试使用$('area').trigger('mouseover');无效。

1 个答案:

答案 0 :(得分:0)

我只是从每个* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 3.1 * frame #0: 0x0000000105bf6187 Demo App`-[UIImageView(self=0x00007fa291f85660, _cmd="setTintColor:", color=0x000060000004d020) setTintColor:] at UIImageView+Utils.m:21 frame #1: 0x000000010677d0bc UIKit`+[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 560 frame #2: 0x000000010677d599 UIKit`+[UIView(UIViewAnimationWithBlocks) animateWithDuration:delay:options:animations:completion:] + 99 frame #3: 0x0000000106b24792 UIKit`-[UIButton _updateImageView] + 1005 frame #4: 0x0000000106b24fc4 UIKit`-[UIButton layoutSubviews] + 211 frame #5: 0x000000010678a4f1 UIKit`-[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1439 frame #6: 0x000000010d29149a QuartzCore`-[CALayer layoutSublayers] + 153 frame #7: 0x000000010d295589 QuartzCore`CA::Layer::layout_if_needed(CA::Transaction*) + 401 frame #8: 0x0000000106774531 UIKit`-[UIView(Hierarchy) layoutBelowIfNeeded] + 662 frame #9: 0x0000000107301063 UIKit`-[UIInputSetHostView layoutIfNeeded] + 104 frame #10: 0x0000000106f7a08e UIKit`-[_UIRemoteKeyboards ignoreLayoutNotifications:] + 27 frame #11: 0x0000000107311838 UIKit`__43-[UIInputWindowController setInputViewSet:]_block_invoke + 125 frame #12: 0x000000010677b6ec UIKit`+[UIView(Animation) performWithoutAnimation:] + 90 frame #13: 0x000000010731152f UIKit`-[UIInputWindowController setInputViewSet:] + 702 frame #14: 0x00000001073089d1 UIKit`-[UIInputWindowController performOperations:withAnimationStyle:] + 50 frame #15: 0x0000000106ea9f9e UIKit`-[UIPeripheralHost(UIKitInternal) setInputViews:animationStyle:] + 1081 frame #16: 0x00000001068ecacd UIKit`-[UIResponder(UIResponderInputViewAdditions) reloadInputViews] + 81 frame #17: 0x00000001073d1cc7 UIKit`-[UITextField becomeFirstResponder] + 690 获取值,而不是进入插件,并创建了一个绝对定位的area元素,该元素根据a中的值定位。

coords

});

这是一个链接:http://jsfiddle.net/cupq06kw/1/