The Arcive of vBulletin Modifications Site. |
|
open in new window Details »»
|
|||||||||||||||||||||||||
hi,
is there away i can add "open in new window" as set out the v3 arcade way instead of ipro-arcade way? when i change my ipro-arcade to ipro-arcade style that has open in new window but v3 style does not. thanks. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Are you wanting to put (open in new window) in the v3arcade skin ??
|
|
#3
|
||||
|
||||
|
yes, using the v3 arcade style on ibp arcade thanks.
Have any idea's for me stangger5, i have to go soon lol sorry just waiting around ... |
|
#4
|
||||
|
||||
|
Open skin_v3Arcade.php and find:
Code:
function row($entry,$gamesplit,$top,$pbest,$links,$rowcol,$rating,$actualtop,$newgame) {
global $ibforums;
return <<<EOF
Code:
<script type="text/javascript">
<!--
var newwindow;
function poptastic(url,features)
{
newwindow=window.open(url,'playnew',features);
}
//-->
</script>
Code:
{$ibforums->lang['pbest']}: {$pbest}<br />{$entry['v3style_info']}
Code:
<!--popup play-->
<a href="javascript:poptastic('arcade.php?$session[sessionurl]do=playfull&gameid={$entry['gid']}', 'height={$entry['gheight']},width={$entry['gwidth']},left=200,top=100,resizable=yes,scrollbars=yes,toolbar=yes,status=yes');">{$ibforums->lang['gamebox_playpopup']}</a><br />
|
|
#5
|
||||
|
||||
|
wow worked like a charm thanks heaps
|
|
#6
|
||||
|
||||
|
Fast too..:up:
|
|
#7
|
||||
|
||||
|
Also if you search for:
Code:
function leaderstart($ginfo, $links) {
global $ibforums;
return <<<EOF
Code:
<script type="text/javascript">
<!--
var newwindow;
function poptastic(url,features)
{
newwindow=window.open(url,'playnew',features);
}
//-->
</script>
Code:
<td class="alt2" align="center" valign="top">
{$links['click']}<br />
<a href="{$ibforums->base_url}act=Arcade&cat={$ginfo['gcat']}">{$ginfo['backlink']}</a><br />
{$ginfo['fave']}<br/>
Code:
<!--popup play-->
<a href="javascript:poptastic('arcade.php?$session[sessionurl]do=playfull&gameid={$entry['gid']}', 'height={$entry['gheight']},width={$entry['gwidth']},left=200,top=100,resizable=yes,scrollbars=yes,toolbar=yes,status=yes');">{$ibforums->lang['gamebox_playpopup1']}</a><br />
Then open lang_Arcade_en.php and search for: Code:
gamebox_playpopup => "(in new window)", Code:
gamebox_playpopup1 => "Play Game In New Window",
|
|
#8
|
||||
|
||||
|
omg nice thanks again.
|
|
#9
|
||||
|
||||
|
Nice work Gemma !!
|
|
#10
|
|||
|
|||
|
Quick question on playing in a new window. When the score is submitted at the end of play, I'm finding it's using the same small pop up window, which is too small to view the highscore table. Should it be using the parent window?
|
![]() |
|
|