GithubHelp home page GithubHelp logo

Comments (8)

xxxnewbiexxx avatar xxxnewbiexxx commented on May 14, 2024 1

Hi, you need to align to the center using Wordpress editor or you can try something like this:

<div style="text-align:center;">
 
///emulator embed code goes here///
 
</div>

Hope it helps.

from emulatorjs.

ildomandatore avatar ildomandatore commented on May 14, 2024

I did some tests, but I wasn't able to get the desired result.

Would you show me all the code as a point of inspiration? It's fine even without the urls.

from emulatorjs.

xxxnewbiexxx avatar xxxnewbiexxx commented on May 14, 2024

Hi, the code would be something like this:

<div style="text-align:center;">
 
<div style="width:640px;height:480px;max-width:100%">
<div id="game"></div>
</div>
<script type="text/javascript">
    EJS_player = '#game';
    EJS_gameUrl = ''; // Url to Game rom
    EJS_core = 'snes';
    EJS_mouse = false; // SNES Mouse
    EJS_multitap = false; // SNES Multitap
    EJS_pathtodata = 'data/'; //path to all of the wasm and js files. MUST all be in the same directory!!
</script>
<script src="data/loader.js"></script>
 
</div>

from emulatorjs.

ildomandatore avatar ildomandatore commented on May 14, 2024

that's what I did, but it didn't work. Later I try to clear the cache and see if it changes.

from emulatorjs.

ildomandatore avatar ildomandatore commented on May 14, 2024

It did not work. Are we sure that I am moving the game to the center?

from emulatorjs.

ildomandatore avatar ildomandatore commented on May 14, 2024

I tried other solutions, but I couldn't. Can you help me?

from emulatorjs.

ethanaobrien avatar ethanaobrien commented on May 14, 2024

you can try this or this

from emulatorjs.

allancoding avatar allancoding commented on May 14, 2024

Based on our findings, we cannot verify that you got a copy of emulatorjs from its official source. The cause of this is because of undocumented changes (meaning, there is no documentation on your site stating changes, which is required by license) or changes that have removed a link to source of the software. Stating the changes and linking to the original source is REQUIRED by license and we will refuse to service those who do not follow the license whether it be a requested feature, a possible bug, or a need for information. We have the right by law to refuse to service you. To dismiss this notice and be able to receive help, then add the stated changes to your website, and make sure a link to this page (or the information on the page itself) is clearly visible, and that there is a clear link to the source of the original GitHub project. If you get this message and make the required changes and break the license in this way again, then you will be prevented from opening any issues in the emulatorjs repository. No help will be given to make these changes (you managed to make the changes that break the license, you can fix it). We apologize for any inconvenience.

from emulatorjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.