PageSourceSearch

https://www.ccwakefieldplantation.com/A_Master/library/css/mcconnellgolf2016_css/publicScriptAdditions.js

js ccwakefieldplantation.com collected 2026-10-05 06:53:59 UTC 1,809 bytes, 53 lines download raw bytes

1$j('.gridHoverText p').each(function(){
2        $j(this).contents().eq(0).filter(function(){
3    return this.nodeType === 3
4}).wrap('<span></span>');
5});
6
7/************************************************
8CLIENT EDITABLE HOMEPAGE CALLOUTS
9
10INSTRUCTIONS: Inside callout image minipage(right click to edit), 
11add designed middle aligned calloutinside Heading 4, 
12with a link inside the h4.
13
14EXAMPLE:
15<img src="http://www.musgrovemill.com/images/dynamic/getImage.gif?ID=4610548">
16<h4><a href="http://www.musgrovemill.com/default.aspx?p=DynamicModule&pageId=1530001&ssid=1630001&vnf=1">Abandon That Board Room</a></h4>
17
18************************************************/
19
20
21$j( '#amenities-listing div[class^="col-"] > div[id$="_dpPlaceholder"]' ).each( function(){
22    
23	/*static h4 inside new dynamic section*/
24    var oldH4 = $j('.featured-thumb > a > h4',this);
25    
26    /*h4 inside callout image minipage*/
27    var newH4 = $j('.featured__img .mpContent h4',this);
28     /*link inside callout image minipage h4 */
29    var calloutLink = $j('.featured__img .mpContent a',this).attr('href');
30     /*old dynamic section h4 location */
31    var newH4Location = $j('.featured-thumb > a',this);
32    
33 
34    /*only proceed if the new h4 with a link has been inserted into the image minipage*/ 
35    
36 	if ( $j(newH4).length > 0 ) {
37   
38      
39      /*give the outer wrapping anchor the href of the minipage-defined link*/
40      $j(newH4Location).attr('href',calloutLink);
41      
42      /*remove the old static h4 from the dynamic section*/
43      $j(oldH4).remove();
44        
45      /*relocate the minipage h4 to the location the old static dynamic h4*/
46      $j(newH4).prependTo(newH4Location);
47      
48  	  /*attempt to prevent editor muckups with spaces*/
49  	  $j('.featured__img .mpContent br').remove();
50	
51	}
52    
53});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.