![]() |
|
#1
|
||||
|
||||
|
I've got two versions of the lights off mode, if anyone wants to have a go at the simplified version then here is the code and files.
Upload lights_out.css to your css folder (if you don't have a css folder, create one) and upload light_bulb.png and light_bulb_off.png to your images/arcade folder. Add the following to the bottom of your headinclude template Code:
<link rel="stylesheet" href="css/lights_out.css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript">
function lightsOn()
{
$('#dim').fadeOut(500,function() { $("#dim").remove(); });
};
function lightsOff()
{
$('body').append('<div id="dim"></div>');
$('#dim').fadeIn(250);
};
</script>
Open your v3ARCADE_PLAY template Find: Code:
<body> Code:
<body1> Code:
<td align="center" class="blockbody" valign="top"> <!-- main --> Code:
<div id="video">
<div id="controlBar"><img src="{vb:raw vboptions.arcadeimages}/light_bulb_off.png"><a href="javascript:lightsOff()">Turn Off The Lights</a> <span>|</span> <img src="{vb:raw vboptions.arcadeimages}/light_bulb.png"><a href="javascript:lightsOn()">Turn On The Lights </a><br />
</div>
Code:
{vb:raw footer}
</body>
</html>
Code:
{vb:raw footer}
</div>
</body1>
</body>
</html>
I'm sure some of you will be able to enhance it ![]() The advanced version looks like this - http://www.forumbanter.com/arcade/game-166/
__________________
Arcade Junkies - one site, two arcades and a whole lot of other goodies. |
|
#2
|
||||
|
||||
|
Released an updated version - http://www.vbulletin.org/forum/showthread.php?t=272803
|
|
#3
|
||||
|
||||
|
New version released - http://www.vbulletin.org/forum/showthread.php?t=277346
|
|
#4
|
|||
|
|||
|
Thanks Gemma, you are great
but i need the vb 3.7.x version if you can make it ? Thanks a lot . |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|