Featured Content Gallery | WordPress Plugin | iePlexus

Make FCG items pop up in "_parent" or "_blank" window

General WordPress and FCG plugin discussion

Make FCG items pop up in "_parent" or "_blank" window

PostBy jason10000 on Sun Sep 04, 2011 2:21 am

Can anyone suggest a way around this? I've tried adding this manually to gallery.php with no luck.

Thanks
jason10000
 
Posts: 9
Joined: Sun Aug 15, 2010 12:09 pm

Re: Make FCG items pop up in "_parent" or "_blank" window

Thank you for using the Featured Content Gallery Forum
 

Re: Make FCG items pop up in "_parent" or "_blank" window

PostBy admin on Tue Sep 06, 2011 8:55 am

open file scripts/d.gallery.js.php
and find this piece of code
Code: Select all
this.currentLink = new Element('a').addClass('open').setProperties({
            href: '#',
            title: ''
         }).injectInside(element);


change it to this
Code: Select all
this.currentLink = new Element('a').addClass('open').setProperties({
            href: '#',
            title: '',
            target: '_blank'
         }).injectInside(element);
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: Make FCG items pop up in "_parent" or "_blank" window

PostBy asdf555999 on Sun Mar 18, 2012 9:34 pm

MELBOURNE: Jenson Button ignored an incident-packed race air jordan pas cher behind him and calmly steered his McLaren to victory at the season-opening Australian Grand Prix ahead of world champion Sebastian Vettel yesterday nike air max.

It was Briton's third victory in four years at Albert Park, the 13th win of his career overall and he is the first driver other than Vettel to lead the championship since nike air max pas cher the German won the first of his two titles for Red Bull in 2010.

Button's compatriot and team mate Lewis Hamilton, who started on pole, finished third to round out the podium while Vettel's team mate Mark Webber was fourth, his best ever finish in his 11th attempt to win his home race.

"Oh fantastic, what a great way to start the year, guys! Seriously, fantastic!" former world champion Button said on the team radio air max 90 pas cher. "The car is beautiful and she's quick. Thanks guys."

Vettel, who won 11 of 19 races last year including an absolutely dominant victory at Albert Park, benefited from a mid-race safety car to get past Hamilton but conceded he had been very much second best [url=http://]nike air max[/url].

Fernando Alonso drove a spirited race to finish fifth for troubled Ferrari ahead of the Sauber of Japan's Kamui Kobayashi after Williams driver Pastor Maldonado crashed out spectacularly on the final lap while running sixth.

Finland's Kimi Raikkonen nike air max chaussures, one of six former world champions in the field, impressed on his return from two years out of the sport to finish seventh for Lotus.

Button, who was second in the title race last year and on the grid yesterday, eased in front of Hamilton from the start but both will have been happy to avoid the usual crush behind them at the first corner.
asdf555999
 
Posts: 3
Joined: Sun Mar 18, 2012 7:57 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron