Hey Stoker,
I love the x- and y-axis mod. I would love to get that snippet. If you can and whenever you time.
Thanks
[REQUEST] x- and y-axis
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
Re: [REQUEST] x- and y-axis
Its a funny jquery script. So you need jquery to have this working.
The guide here will be written as if you dont have jquery. Please note that jquery MUST NOT be added more than once!
Open styles/prosilver/template/overall_header.html
Find:
Add after:
Open styles/prosilver/template/overall_footer.html
Find
Before add:
The guide here will be written as if you dont have jquery. Please note that jquery MUST NOT be added more than once!
Open styles/prosilver/template/overall_header.html
Find:
Code: Select all
<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>
Code: Select all
<script src="{ROOT_PATH}script/jquery-1.4.4.min.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function() {
$("#phpbb").mousemove(function(e){
$("#xleft").html("x-axis: "+e.pageX);
$("#yright").html("y-axis: "+e.pageY);
});
});
// ]]>
</script>
Open styles/prosilver/template/overall_footer.html
Find
Code: Select all
</div>
</div>
<div>
<a id="bottom" name="bottom" accesskey="z"></a>
<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>
Code: Select all
<div id="xleft" style="float:left;">x-axis: 0</div><div id="yright" style="float:right;">y-axis: 0</div>
You do not have the required permissions to view the files attached to this post.