Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prgfx/mquery
Framework for ManiaPlanet manialinks, adding functionalities for formatting and ManiaScript
https://github.com/prgfx/mquery
Last synced: 1 day ago
JSON representation
Framework for ManiaPlanet manialinks, adding functionalities for formatting and ManiaScript
- Host: GitHub
- URL: https://github.com/prgfx/mquery
- Owner: PRGfx
- Created: 2013-05-24T18:05:07.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-30T15:27:22.000Z (almost 11 years ago)
- Last Synced: 2023-02-26T08:32:21.163Z (over 1 year ago)
- Language: PHP
- Size: 250 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
mQuery - Framework for Manialinks
====
What it is
----
mQuery included the possiblitiy of formating your ManiaPlanet Manialink with attributes like you are used to from css. Usualy these are the normal Manialink element's attributes, but there are even more possibilities automating even more.
The other point in mQuery is the jQuery like mQuery language giving you huge functionality in very few commands, saving you a lot of time and worries.How it works
----
The framework preprocesses your input, excludes unnecessary parts that were only used to implement your mQuery. It automatically adds necessary Manialink elements and adds the css formatings according to id- and classnotations.How to use it
----
First of all you need to catch your manialink, for example with
```php
applyStyles(); // Apply the css styles to the manialink elements
$MLDoc->output(); // Output formatted manialink
?>
```
In the manialink you can declare stylesheet files with ``.
mQuery code files can be included with `` or written within ``blocks.Version
----
0.4 alpha