Connect with us

Northeast

Trump assassination attempt victims with life-altering injuries seek accountability: 'It will come to light'

Published

on

Trump assassination attempt victims with life-altering injuries seek accountability: 'It will come to light'

Join Fox News for access to this content

Plus special access to select articles and other premium content with your account – free of charge.

By entering your email and pushing continue, you are agreeing to Fox News’ Terms of Use and Privacy Policy, which includes our Notice of Financial Incentive.

Please enter a valid email address.

Having trouble? Click here.

EXCLUSIVE: PITTSBURGH — A Pittsburgh attorney representing the two men wounded in the July 13 assassination attempt on former President Trump is seeking accountability after they were left with life-altering injuries.

James Copenhaver, 74, and David Dutch, 57, sustained critical wounds after they were both shot twice at the rally.

Advertisement

“I think we’re going to get to the bottom of that here at some point, whether that’s through the [congressional] task force, through these investigations or if we do have to file a lawsuit. We’ll definitely get answers through that process,” Joseph Feldman, attorney at the Law Offices of Max C. Feldman, told Fox News Digital Monday. His office is exploring “different avenues” to get accountability after the shooting that forever altered his clients’ lives.

“We’re limited in our ability to … conduct a full investigation, but it will come to light.”

— Joseph Feldman

Copenhaver and Dutch are both recovering from their injuries at home with their families and are “on the path to recovery” despite having “some setbacks,” Feldman said.

TRUMP SHOOTING: TIMELINE OF ASSASSINATION ATTEMPT

Attorney Joseph Feldman is seeking accountability for James Copenhaver and David Dutch, the two men critically wounded during the July 13 assassination attempt on former President Trump. (Adam Gray for Fox News Digital)

Advertisement

Both victims have lingering questions about how gunman Thomas Crooks was able to get onto the roof of the nearby one-story, American Glass Research (AGR) building and shoot at Trump about 150 yards from the candidate’s podium. The building was located near the rally but technically not within the official perimeter.

“[W]e’re the United States of America,” Feldman said. “We pump tons of money into security resources in this country, especially dealing with the federal government. And you go to a rally to provide political support for a politician … the security is provided by the federal government, and it fails.”

“I think that’s their biggest question — how could this happen?”

— Joseph Feldman

Copenhaver and Dutch are also wondering how Crooks was able to park his vehicle and fly a drone about 200 yards from where the former president would be speaking between about 3:50 p.m. and 4 p.m. that day. FBI Director Christopher Wray testified during a July 17 congressional hearing that Crooks had been at the rally site for about 70 minutes on the morning of the assassination attempt.

TRUMP ASSASSINATION ATTEMPT VICTIM JAMES COPENHAVER ‘SAD’ WITH STATE OF ‘POLITICAL DIVISION’ IN US

Advertisement

David Dutch walks from the Trump rally with critical gunshot wounds. (Facebook/Republican Committee of Beaver County)

James Copenhaver sustained “life-altering injuries” at the Trump rally in Butler when he was shot during an assassination attempt against the former president. (Family handout)

“How is the airspace not shut down? Or why did the federal government not have their own drones up there to monitor the scene, make sure they know exactly who’s coming in and out days in advance?” Feldman, who served in the U.S. Army for seven years and spent about one year in Afghanistan, wondered.

They also have lingering questions about who Crooks is “or the contents of his phone, or how he had access to these firearms or a firearm, or how he had access to explosive devices.”

“[A]ll these security measures in place in this country, and this individual shooter seems to just kind of slip through the cracks.”

— Joseph Feldman

Advertisement

Feldman reflected on his own experience in the U.S. military.

MARINE DAVID DUTCH WALKED FROM ASSASSINATION ATTEMPT WITH GUNSHOT WOUNDS, FRIENDS SAY

Feldman reflected on his own experience in the U.S. military while discussing the July 13 assassination attempt on President Trump and how gunman Thomas Crooks was able to get access to a nearby rooftop. (Adam Gray for Fox News Digital)

“Not everything you say to your leadership goes directly to the top. And even if you know something’s going on, sometimes you know you’re not allowed to do anything about it, or you don’t have those orders. So, I’m curious,” Feldman said. “I served in Afghanistan for just right around a year, and we … ran hundreds of thousands of miles of missions. And nobody ever got that close to you.”

The House task force wants to hear from tipsters and whistleblowers to determine how 20-year-old Crooks was able to climb HVAC equipment and piping to get to the roof of the AGR building and hide there until he began shooting around 6:11 p.m.

Advertisement

ATTEMPTED TRUMP ASSASSIN SEEN WALKING AROUND PENNSYLVANIA RALLY HOURS BEFORE OPENING FIRE

A map detailing the locations of interest related to the investigation of Thomas Crooks’ attempted assassination of former President Trump in Butler, Pa., July 13, 2024.  (Provided by Sen. Chuck Grassley )

The FBI said during a July press call that Crooks had a DPMS AR-15-style gun with a collapsible stock when he entered the area of the Butler Farm Show fairgrounds, where Trump’s campaign rally took place.

The Trump campaign announced the Butler rally July 3. Three days later, on July 6, Crooks signed up for the event. That same day, he researched how far Lee Harvey Oswald was from President Kennedy when Oswald assassinated him in 1963. On July 7, Crooks traveled to the rally site and spent approximately 20 minutes in the area, according to the FBI.

TRUMP ASSASSINATION ATTEMPT TASK FORCE CHAIR QUESTIONS ‘FROZEN’ RESPONSE TO SHOOTER AFTER TOURING SITE

Advertisement

Crooks began taking shooting lessons in 2023, and he made 25 online gun purchases using an alias in the spring of 2023.

Thomas Crooks at the Trump rally July 13 in Butler, Pa. (Sen. Ron Johnson)

Crooks’ father legally purchased the AR-15-style rifle Crooks used at the rally, and he legally transferred it to his son. Crooks also legally purchased 50 rounds of ammunition from a local gun store the morning of the rally.

VIDEO FROM TRUMP ASSASSINATION ATTEMPT VICTIM’S POV SHOWS FIGURE MOVING ON ROOF MOMENTS BEFORE GUNFIRE

Rally attendees previously told Fox News Digital people were pointing to a person on the AGR roof before gunfire began. A video shared exclusively with Fox News Digital from Copenhaver’s perspective at the rally shows a figure that appears to be Crooks clearly walking across the roof of the AGR building just three minutes before he began shooting.

Advertisement

WATCH JAMES COPENHAVER’S POV:

“How do you get on a roof in an open field with people yelling that somebody’s getting on a roof, with snipers … adjacent to them. … And you don’t see him until he pops off his first round? That’s their job. That’s why they’re there. Secret Service isn’t there to listen to Donald Trump’s speech or his stats on immigration,” Feldman said. 

“We saw it in the video. We all watched Thomas Crooks walk right across that rooftop from below, where the shooters were positioned from a lower vantage point.”

— Joseph Feldman

Authorities first reported seeing a suspicious person near the rally site at least an hour before Crooks began shooting, according to Congress and the FBI. Local law enforcement notified command about the suspicious person and received confirmation that the Secret Service was aware of his presence.

TRUMP ASSASSINATION ATTEMPT VICTIM COREY COMPERATORE’S FAMILY VOWS TO GET JUSTICE: ‘BLOOD IS ON THEIR HANDS’

Advertisement

Former President Trump was injured at a Pennsylvania rally July 13. (AP Photo/Evan Vucci)

It is still unclear how Crooks evaded security even after being noticed by law enforcement more than an hour before shots rang out, but the FBI said more than 300 agents and staff are working “round the clock” to gather facts and put together a clearer timeline of Crooks’ actions.

Investigators located eight rounds on the roof where Crooks fired from, the agency said.

Trump took the podium around 6 p.m., an hour after he was scheduled to speak. Eleven minutes later, Crooks fired multiple rounds, killing 50-year-old Corey Comperatore, a husband and father of two girls who served as a fire chief for the Buffalo Township Volunteer Fire Department.

Advertisement

FBI officials are trying to determine Crooks’ motive behind the assassination attempt and whether he had any co-conspirators, though the agency has said there are no signs to indicate there were others involved.

Read the full article from Here

Continue Reading
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Northeast

Democratic socialist Mamdani ally mounts bid for US House of Representatives

Published

on

Democratic socialist Mamdani ally mounts bid for US House of Representatives

NEWYou can now listen to Fox News articles!

New York state Assemblymember Claire Valdez, an ally of New York City Mayor Zohran Mamdani, has mounted a bid for the U.S. House of Representatives.

“I’m a union organizer, Assemblymember, and democratic socialist running for Congress in NY-07. I came to politics through low-wage jobs and the labor movement. That’s the perspective I’ll bring to Washington to take on oligarchy, fascism, and war — and win for working people,” she wrote in a post on X.

Valdez has called for the abolition of U.S. Immigration and Customs Enforcement (ICE).

‘THE PEOPLE’S QUR’AN’: MAMDANI ANNOUNCES NYC QURAN EXHIBIT WITH BOOK BELONGING TO REVOLUTIONARY ACTIVIST

Advertisement

New York Assemblymember Claire Valdez.  (Erik McGregor/LightRocket via Getty Images)

“When we called this administration fascist last year, we were called hyperbolic. We were called hysterical,” she said in recent public remarks. 

“We must abolish ICE at the federal level,” she asserted, calling it a “militarized terrorist organization that is destroying our country.”

Her campaign website makes clear that she is an advocate for “Medicare for All.”

NYC MAYOR ZOHRAN MAMDANI SET TO EARN NEARLY $260K, ABOUT 80% MORE THAN HIS PRIOR SALARY

Advertisement

New York City Mayor Zohran Mamdani attends a news conference at the headquarters of the NYPD on Jan. 6, 2026, in New York City. (Spencer Platt/Getty Images)

“Claire will fight to pass Medicare for All, paid for by taxing billionaires and corporations that have rigged the system, and deliver universal health care for every New Yorker,” the site notes.

“Housing is a human right — but Congress has chosen to side with landlords and speculators instead of working people. Claire will fight to guarantee safe, affordable housing for all, because housing is not a commodity. It’s a necessity,” the site also states.

NOEM REPORTS MAMDANI-DHS TALKS HAVE ‘NOT BEEN PRODUCTIVE,’ SAYS NYC MAYOR ‘CHOSE TO STAND WITH ILLEGALS’

Rep. Nydia Velázquez, D-N.Y., holds a “Musk Steals” protest sign with fellow Democrats as President Donald Trump speaks during an address to a joint session of Congress at the U.S. Capitol in Washington, D.C., on March 4, 2025. (WIN MCNAMEE/POOL/AFP via Getty Images)

Advertisement

Valdez will compete in a Democratic primary in June for the seat being vacated by Rep. Nydia Velazquez, D-N.Y.

Velazquez, who currently represents the Empire State’s 7th Congressional District, is not seeking re-election in 2026. Brooklyn Borough President Antonio Reynoso already announced his 2026 primary bid for the House seat last year.

Read the full article from Here

Continue Reading

Boston, MA

Boston Catholics offer mixed views on pope’s remarks following US operation in Venezuela – The Boston Globe

Published

on

Boston Catholics offer mixed views on pope’s remarks following US operation in Venezuela – The Boston Globe


Digennaro’s wife, Judy, shook her head in disagreement.

“I feel quite the other way,” said Judy Digennaro, 72. “It might start rifts, but what’s most important is people talking, and that’s what the pope is trying to do.”

During a news conference with Vatican reporters in December, the pope called for dialogue between the United States and Venezuela. On Friday, he said violence had replaced dialogue as a means of resolving conflict and reiterated an earlier call to “respect the will of the Venezuelan people, and to safeguard the human and civil rights of all, ensuring a future of stability and concord.”

Some local Catholics said the remarks felt like an overstep. David Digennaro said he supports the Trump administration’s move to shift Venezuela’s leadership away from Maduro and would prefer the pope to limit his comments to humanitarian issues.

Advertisement

“If he’s talking about the people that live [in Venezuela,] that’s fine,” he said. “But if he’s referencing Maduro, that’s politics, and I’d turn away from it.”

Outside St. Clement Eucharistic Shrine in Back Bay, parishioners in crisp suits and colorful dresses filed out onto the sidewalk after Mass on Sunday afternoon. Several people said the pope’s address had not been mentioned during the service and praised the clergy for keeping the news separate from religious teaching.

Others voiced support for Pope Leo’s broader message of peace and dialogue but said they prefer that the pontiff avoid specifics.

Jordan Williamson, 35, of Quincy, said the pope is not the authority on international affairs. She said she looks to politicians for details about global conflicts and to Leo for moral guidance.

“The pope should be a moral voice that lays down the framework for why we do things,” said Williamson, who has attended the Boylston Street church for more than a decade. “But we all have jobs … and Mass is meant to transcend all of that.”

Advertisement

Williamson’s friend, Sandra Pastrana of Arlington, agreed, saying she often steers her Bible study group away from political debate. Still, she said she recognizes that there are moments when religious leaders need to speak their minds.

“It’s never good for the church to get involved in politics, but as a moral voice of how the world should live within what’s going on, the church has a duty to say these things,” said Pastrana, 63.

Judy Digennaro said Leo’s address was encouraging, adding that society cannot move forward positively without open discussion.

“I’m happy when the pope has something to say and when he promotes peace and justice,” she said. “As Catholics, that’s what we’re all about, so if he’s willing to speak and say something, all the better.”

Many Boston churchgoers were unaware of the pope’s address and said that they focused more on the words of their individual priests.

Advertisement

Gobran Hanna, an electrical engineer who moved to Cambridge in June and attends St. Clement Eucharistic Shrine, said he tends to spend time with members of the Catholic community who are less focused on politics, but conversations with fellow congregants about Israel, Ukraine, and Venezuela help keep him informed about global affairs.

Hanna said he welcomes Leo’s efforts to speak out against international injustices.

“When the pope makes a statement that might be related to politics, I look at that and see how it applies to my own life,” said Hanna, 23. “It’s not about somebody on this side or somebody on that side, it’s about how we can apply the lessons that the pope is teaching us.”


Lila Hempel-Edgers can be reached at lila.hempeledgers@globe.com. Follow her on X @hempeledgers and on Instagram @lila_hempel_edgers.





Source link

Advertisement
Continue Reading

Pittsburg, PA

Nearly a Century Old, This Sears House Kit Home in Fineview is Still Fine | Pittsburgh Magazine

Published

on

Nearly a Century Old, This Sears House Kit Home in Fineview is Still Fine | Pittsburgh Magazine


Built in 1928, the hillside home is packed with original millwork, charming details and loads of storage.

PHOTOS BY DONNELLY MEDIA, LLC

When Alena Taylor Keefe was in elementary school, her family moved to 2035 Biggs Ave. in Pittsburgh’s Fineview neighborhood.

The year was 1975, and she recalls being delighted with the Craftsman-style home built from a Sears housing kit that her family would call theirs for the next 50 years.

“It’s a place that you can call home,” she says. “Some places you can’t really say that about, but it’s just such a great family home.”

Advertisement

33 Biggs 32

Built in 1928, the house has three bedrooms and one bathroom packed into 1,500 square feet.

“I grump about the fact that there’s only one bathroom and the kitchen is small because I love to cook, but I still made it work for many family suppers,” Keefe says. “We hosted holiday dinners where we extended the dining table into the living room to accommodate everybody. It was just home.”

03 Kitchen

The first floor of the home has that small, yet functional kitchen, a nicely sized dining room and a large living room that spans the front of the home. Keefe warmly recalls coming down the front staircase on Christmas mornings and posing in formal dresses beside the steps before school dances. She says her family also enjoyed the long front porch that runs along the living room.

“My dad would come out and read the newspaper, and I’d be on the swing with my mom while she worked on her crochet,” she says.

On the second floor, three equally sized bedrooms share a hallway bathroom with double sinks. A set of pull-down stairs leads to ample storage under the eaves.

Advertisement

07 Dining

Now in their 80s, Keefe’s parents have moved to a maintenance-free home near Keefe’s current home in Beaver County, so they can continue to enjoy family dinners together, but without the responsibility of home ownership.

While Keefe is wistful about selling the home her parents carefully loved for half a century, she is certain a new buyer will recognize its charm and value.

“So much has never been touched,” she says. “There is original woodwork, an original fireplace that still has a coal chute to the outside and a lovely built-in China cabinet in the dining room.”

18 Bedroom 1

Keefe also touts the home’s plentiful storage; there’s a clean, dry basement, attic storage and a detached two-car garage with a lower level could be space for a workshop, studio or general storage.

Keefe notes the roof was replaced in the last decade; there also were updates to the HVAC, including adding air conditioning, and the family replaced the upstairs flooring in preparation to sell the carefully maintained home.

Advertisement

30 Rear Yard

The house is now listed by Brian Larson of Howard Hanna for $245,000. He says it checks all the right boxes for a first-time homebuyer — or anyone shopping for a clean, well-maintained home.

“This is a home that has clearly been loved and lived in with care,” says Larson. “Over the years, attention has been given to maintaining and improving the property in a way that supports comfortable, everyday living. While no home of this era is ever ‘finished,’ per se, the overall condition reflects consistent stewardship rather than deferred maintenance.”

34 Neighborhood 1 With Pin

Larson says buyers should not have issues with financing for this home, including loans through the Federal Housing Administration or other specialized lending programs. Priced right around the city’s median home price, Larson encourages shoppers to check it out.

“Many first-time buyer programs are available that may offer down payment assistance and competitive interest rates, helping make homeownership more attainable for qualified buyers,” he says.

Larson adds that he loves the sun-soaked room that runs along the front of the home, as well as the wide front porch and the property’s proximity to Fineview Park.

Advertisement

“Fineview is also known as one of the best vantage points in the city for fireworks and skyline views,” he adds. “With convenient bus access and an easy commute to Downtown, the neighborhood offers a unique blend of tranquility, accessibility and city connection.”

25 Front Porch View

Keefe says that while the neighbors have changed over the course of 50 years, her family has always been thankful for the close-knit Fineview community.

“There are some chickens running loose, but everybody up there is so kind,” she says with a laugh. “The mailman lives up on the corner; everybody knows everybody. It’s just so nice.”

“);
$spagination = flexSlider.find(“.spagination”);
SPagination.Init($spagination.get( 0 ), {
size: slide_obj.count, // pages size
page: 1, // selected page
step: 3, // pages before and after current
cb: function(p){
flexSlider.flexAnimate(p-1, true);
}
});
}
}
}

Advertisement

function gtx_gallery_slide_before(slide_obj){
var slide=slide_obj.animatingTo;
$active_slide=$all_slides.eq(slide) ;
slideshow_ad_loaded = false;

var current_html = $active_slide.children(“.gtx-ad-container”).html();
if (current_html) {$active_slide.children(“.gtx-ad-container”).html(current_html.trim())}

gtx_track_slide( slide_obj );

changeURL(parseInt($active_slide.attr(“data-attachment_id”)));

//THUMBS SYNC – PAGINATED THUMBNAIL NAVIGATION
if($thumbs!==”” && navigation == “paginated_thumbs”){
var right_item=$slider.find(“.slides li[data-i=”+(slide +1 )+”]”).attr(“data-i-only-pics”)
if( right_item!= “”){
$thumbs.find(“li.gtx-thumb-img”).removeClass(“flex-active-slide”);
$thumbs.find(“li.gtx-thumb-img[data-i=”+(slide +1 )+”]”).addClass(“flex-active-slide”);
$page=$thumbs.find(“.slides>li”).has(“li[data-i=”+(slide +1 )+”]”);
$thumbs.flexAnimate($page.index(), true);
}
}
}

Advertisement

function gtx_gallery_slide_after(slide_obj){
var slide=slide_obj.animatingTo;
$active_slide=$all_slides.eq(slide) ;

if($active_slide.hasClass(“gtx-ad-slide”)==1){
if ($active_slide.find(‘iframe’).length === 1) {
$active_slide.find(‘iframe’)[0].remove();
}
$slider.delay(100).queue(function(){
$(this).addClass(“gtx-gallery-loading”).dequeue();
});
$ad_container=$active_slide.children(“.gtx-ad-container”).first();

if ($($ad_container).html().length li[data-i=”+(slide +1 )+”]”).attr(“data-i-only-pics”)
if( right_item!= “”){
$thumbs.find(“li.gtx-thumb-img”).removeClass(“flex-active-slide”);
$thumbs.find(“li.gtx-thumb-img”).eq(right_item -1 ).addClass(“flex-active-slide”);
$thumbs.flexAnimate(right_item-1, true);
}
}

if(typeof(googletag) != “undefined” && googletag !== null && googletag.pubads){
// Refresh ads within view

var tmp_now=new Date().getTime();
var last_refresh_diff= tmp_now – last_ad_refresh;
if(last_refresh_diff > 1000){
reset_ads_and_refresh();
last_ad_refresh=tmp_now;
}
}

Advertisement

//LAZY LOAD
range=5;
var $slides_to_hanle=$all_slides.slice(slide, slide + range +1);
if(slide – range >= 0){
$slides_to_hanle=$.merge($slides_to_hanle, $all_slides.slice(slide – range, slide ));
}else{
$slides_to_hanle=$.merge($slides_to_hanle, $all_slides.slice(0, range ));
$slides_to_hanle=$.merge($slides_to_hanle, $all_slides.slice(range * -1 ));
}
if(slide + range >= $all_slides.size()){
//handle first slides
$slides_to_hanle= $.merge($slides_to_hanle, $all_slides.slice(0,range));

}

$slides_to_hanle.find(“.gtx-image-container[data-background]”).each(function () {
var src = $(this).attr(“data-background”);
$(this).css(“background-image”, “url(“+src+”)”).removeAttr(“data-background”);
});

adjustNavHeight();
if( typeof SPagination !== “undefined” && flexSlider.find(“.spagination”).length>0 ){
if(SPagination.page != slide+1){
SPagination.page = slide + 1;
SPagination.Start();
}
}

}

Advertisement

function reset_ads_and_refresh(){
if(!advanced_ad_refresh){
// if option is not enabled, refresh all ads, minus out of page ads
if(ads_to_refresh.length > 0){
googletag.pubads().refresh(ads_to_refresh);
}
return;
}

if(ads_to_refresh.length == 0){
return;
}

var newAds = [];
var fullAdsToRefresh = [];
for(var i = 0; i wTop && slot.tn_positionY 8){
gtx_gallery_thumbs_set_backwards()
}
}

function gtx_gallery_thumbs_after(slide_obj){
if(slide_obj.count > 8){
gtx_gallery_thumbs_set_backwards()
}
}

function gtx_gallery_paginated_thumbs_start(slide_obj){
gtx_gallery_paginated_thumbs_lazy();
if(false && slide_obj.count > 8){
$thumbs.find(“.flex-control-nav.flex-control-paging”).removeClass(“flex-control-paging”).addClass(“g-pagination”);
}
if(slide_obj.count > 8){
$thumbs.find(“.flex-control-nav.flex-control-paging”).hide().after(“”);
$pagination = $thumbs.find(“.spagination”);
SPagination.Init($pagination.get( 0 ), {
size: slide_obj.count, // pages size
page: 1, // selected page
step: 3, // pages before and after current
cb: function(p){
$thumbs.flexAnimate(p-1, true);
}
});
}
}

Advertisement

function gtx_gallery_paginated_thumbs_before(slide_obj){
var slide=(typeof slide_obj == “object” && slide_obj.animatingTo ? slide_obj.animatingTo : 0);
gtx_gallery_paginated_thumbs_lazy(slide_obj);

}

function gtx_gallery_paginated_thumbs_after(slide_obj){
var slide=(typeof slide_obj == “object” && slide_obj.animatingTo ? slide_obj.animatingTo : 0);
//THUMBS SYNC – Go to first slide of this batch
if($thumbs!==”” && navigation == “paginated_thumbs”){

var $active_slide=$slider.find(“.slides>li.flex-active-slide”);
var $active_thumb_page=$thumbs.find(“.slides>li.flex-active-slide”);
//Check if the current slide is within this thumb batch
if(!$active_thumb_page.find(“li[data-i=”+$active_slide.attr(“data-i”)+”]”).size()){
first_thumb=$active_thumb_page.find(“li”).first().attr(“data-i”);
flexSlider.flexAnimate(first_thumb – 1, true);
}

}

Advertisement

if( typeof SPagination !== “undefined” && $thumbs.find(“.spagination”).length>0 ){
if(SPagination.page != slide+1){
SPagination.page = slide + 1;
SPagination.Start();
}
}

}

function gtx_gallery_paginated_thumbs_lazy(slide_obj){
var slide=(typeof slide_obj == “object” && slide_obj.animatingTo ? slide_obj.animatingTo : 0);
//LAZY LOAD THUMBS
if($all_thumbs!==”” && navigation == “paginated_thumbs”){
range=1;
var $slides_to_hanle=$all_thumbs.slice(slide, slide + range + 1);
if(slide – range >= 0){
$slides_to_hanle=$.merge($slides_to_hanle, $all_thumbs.slice(slide – range, slide ));
}else{
$slides_to_hanle=$.merge($slides_to_hanle, $all_thumbs.slice(0, range ));
$slides_to_hanle=$.merge($slides_to_hanle, $all_thumbs.slice(range * -1 ));
}
if(slide + range >= $all_thumbs.size()){
//handle first slides
$slides_to_hanle= $.merge($slides_to_hanle, $all_thumbs.slice(0,range));

}
$slides_to_hanle.each(function () {
$(this).find(“img[lazy-src]”).each(function () {
var src = $(this).attr(“lazy-src”);
if(!src) return;
$(this).attr(“src”,src).removeAttr(“lazy-src”);
$thumbs.find(“img[lazy-src=””+src+””]”).attr(“src”,src).removeAttr(“lazy-src”);
});
});
}

}

Advertisement

function adjustNavHeight(){
imageHeight = flexSlider.find(“.gtx-slide-img.flex-active-slide .gtx-image-container”).outerHeight();
if(imageHeight > 0){
flexSlider.find(“.flex-prev,.flex-next”).css(“top”,Math.round(imageHeight/2));
}
}

var nextSlotId = 1;
function generateNextSlotName() {
var id = nextSlotId++;
return “adslot_” + id+”_”+Math.floor( Date.now() / 1000 );
}

function addAdInto(selector,options) {
try{
gtx_gallery_enable_dfp();
}catch(err) {
}

var slide=options.slide || -1;
var slotName = generateNextSlotName();
var ad_index = 0;

// Create a div for the slot
var slotDiv = document.createElement(‘div’);
slotDiv.id = slotName; // Id must be the same as slotName
$( selector ).append( slotDiv );
try{
ad_index=$( selector ).closest(“.gtx-ad-slide”).attr(“data-i-only-ads”);
}catch(err) {

Advertisement

}

// Define the slot itself, call display() to
// register the div and refresh() to fetch ad.
googletag.cmd.push(function() {
slideshow_ad_loaded = true;
adslots[slotName] = googletag.defineSlot(‘home-design’, [300, 250], slotName)
.addService(googletag.pubads())
.setTargeting(“placement”, “gallery”)
.setTargeting(“slide”, slide)
.setTargeting(“post”, ‘350640’)
.setTargeting(“category”, ‘[“hot-property”]’)
.setTargeting(“galleryAdIndex”, ad_index);

googletag.display(slotName);
googletag.sizeMapping().addSize( [0,0], [[300,250]])
googletag.pubads().refresh([adslots[slotName]]);
});
}

gtx_gallery_syncHash = function(path){
pic = “”;
re = /pic/?([0-9]+)/?$/i;

if(!path && window.location.hash && window.location.hash.match(re)) path = window.location.hash;
if(!path && window.location.pathname && window.location.pathname.match(re)) path = window.location.pathname;
if(path){
matchslide = path.match(re);
if(matchslide && matchslide[1]>0){
pic = parseInt(matchslide[1]);
}
if(!isNaN(pic) && pic > 0){
slide=get_slide_by_attachment_id(pic);
if(slide>0){
avoid_next_pageview = true;
flexSlider.flexAnimate(slide – 1, true);
}
}
}else{
gtx_track_slide( )
}
}

Advertisement

function debounce(func, wait, immediate) {
var timeout;
return function() {
var context = this, args = arguments;
var later = function() {
timeout = null;
if (!immediate) func.apply(context, args);
};
var callNow = immediate && !timeout;
clearTimeout(timeout);
timeout = setTimeout(later, wait);
if (callNow) func.apply(context, args);
};
};

// delay the url state replacement to avoid overload
// RAYOS-271
var efficientlyReplaceState = debounce(function(title, path){
window.history.replaceState({}, title, path);
}, 1250)

function changeURL(pic){
basepath = window.location.pathname.replace(//pic/?([0-9]+)/?$/i,”/”);
if(isNaN(pic)) return;

path = basepath + “pic/”+pic+”/”;

title = “Pic “+pic;
if (typeof(window.history.replaceState) == “function”) {
efficientlyReplaceState(title, path)
} else {
window.location.hash = path;
}
}

Advertisement

function get_slide_by_attachment_id(id){
var slide=$slider.find(“.slides li[data-attachment_id=”+id+”]”).attr(“data-i”);
return parseInt(slide, 10);
}

function gtx_track_slide( slide_obj ){
if(slide_obj){
var slide = slide_obj.animatingTo;
}else{
var slide = 0;
}
$active_slide=$all_slides.eq(slide) ;

if(!avoid_next_pageview){
try{
var loc = location.pathname + “#slide” + (parseInt(slide) + 1);

if (rayos_gtm_gallery_pageviews) {
// Add gallery navigation info to dataLayer
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
‘event’: ‘rayos_virtual_pageview’,
‘location’ : loc
});
}

// Legacy support for GA tracking
ga(“send”, “pageview”, loc);
if (ga.getByName(“gtxcelTracker”)) {
ga(“gtxcelTracker.send”, “pageview”, loc);
}
}catch(err){

Advertisement

}
}
avoid_next_pageview = false;
}

//Add a callback on ad render
googletag.cmd.push(function() {
googletag.pubads().addEventListener(‘slotRenderEnded’, function(event) {
var slotName=event.slot.getSlotElementId();
if(typeof adslots[slotName] !==”undefined” && !event.isEmpty){
$slider.clearQueue();
$slider.removeClass(“gtx-gallery-loading”);
}
});
});

jQuery(“#gtx-gallery-thumbs-350640”).flexslider({
animation: “slide”,
controlNav: false,
animationLoop: false,
slideshow: false,
itemWidth: 100,
itemMargin: 5,
move: 1,
//asNavFor: “#gtx-gallery-slider-350640”,
prevText: “”,
nextText: “”,
after: gtx_gallery_thumbs_after,
after: gtx_gallery_thumbs_before
});
$thumbs=$(“#gtx-gallery-thumbs-350640”).data(“flexslider”);
$thumbs.find(“li.gtx-thumb-img”).first( ).addClass(“flex-active-slide”);

$(“#gtx-gallery-slider-350640”).flexslider({
animation: “slide”,
pauseOnHover: true,
controlNav: false,
//animationLoop: false,
//slideshow: false,
//sync: “#gtx-gallery-thumbs-350640”,
prevText: “”,
nextText: “”,
slideshow: false,
init: gtx_gallery_slide_init,
start: gtx_gallery_slide_start,
before: gtx_gallery_slide_before,
after: gtx_gallery_slide_after
});

if(mobile_mode){
$slider.find(“.flex-direction-nav”).hide();
}

Advertisement

});





Source link

Continue Reading

Trending