Jump to content

Search the Community

Showing results for tags 'html'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 23 results

  1. I want to use datalist in html, I tried it and it doesn't work. image >> aatQKl.png (716×484) (img.in.th) <label for="reigster">Log in</label> <input type="text" class="input" placeholder="Username" id="user" list="username-list"> <datalist id="username-list"> <option value="John"> <option value="Doe"> <option value="Jane"> </datalist> <input type="text" class="input" placeholder="Password" id="pass"> <div class="btn-go btn-login">Log in</div>
  2. I'm working on this project since last day. I'm waiting your comments.
  3. Github: https://github.com/ala-zul/sparrow-login-screen
  4. Hello guys I recently had ideas for setting up a server in MTA. I heard a bit about lua and its characteristics. I wanted to know what programming languages are needed to set up a game server in MTA and manage it from beginner to professional. thank you.?
  5. Hi! l need help exporting data from 'GetElementData' using executeBrowserJavascript Here is a snippet from the code: Client: local browser = guiGetBrowser(guiCreateBrowser(0, 0, 1920, 1080, true, true, true)) addEventHandler("onClientBrowserCreated", browser, function () loadBrowserURL(source, "http://mta/account/Characters/MainMenuChar.html") showCursor(true) setDevelopmentMode(true, true) end) addEventHandler("onClientBrowserDocumentReady", browser, function () executeBrowserJavascript(source, "document.getElementById('nickname').innerHTML = '" .. getElementData(thePed,"account:charselect:name") .. "'"); end) it does not work with CEF(HTML) files, when you call 'GetElementData' using the GUI, everything works and is displayed correctly. When entering a standart varible, for example getPlayerName(localplayer) everything is also displayed in CEF and in the GUI Problems with the HTML file are excluded, except that there are no additional scripts using JavaScript (tell me, are they required?) P.S Thank you in advance for each of your answers, maybe they will help not only me, but also other newcomers in our community
  6. Hello I have an issue when I trigger an event that call a function using onClientBrowserDocumentReady, i don't know what is the issue... This is my code: The issue is... onClientBrowserDocumentReady doesn't found the browser and it can't in into the event. the executeBrowserJavascript doesn't work event = {add = addEventHandler, load = addEvent, execute = triggerServerEvent} local WINDOW_WIDTH, WINDOW_HEIGHT = guiGetScreenSize() local CEF = nil local browser = nil function deleteWebPage() if isElement(CEF) then destroyElement(CEF) showCursor(false) end end function createWebPage() page = "http://mta/player/html/login.html" CEF = guiCreateBrowser(0, 0, WINDOW_WIDTH, WINDOW_HEIGHT, true, false, false) browser = guiGetBrowser(CEF) addEventHandler("onClientBrowserCreated", browser, function() loadBrowserURL(source, page) showCursor(true) end) end function sendErrorLabel(error) addEventHandler("onClientBrowserDocumentReady", browser, function() executeBrowserJavascript(browser, "document.querySelector('.error:nth-child(5)').innerHTML = '" .. error .. "'"); executeBrowserJavascript(browser, "document.querySelector('.error:nth-child(5)').style = 'display: initial; top: 90%; left:40.5%'"); end) end event.load('login-data:send', true) event.add('login-data:send', root, function(user, password) event.execute('login-menu:execute', resourceRoot, user, password) end, true) event.load("onClientPlayerLogout", true) event.add("onClientPlayerLogout", root, function() createWebPage() end) event.load("show-label:error", true) event.add("show-label:error", root, function(error) sendErrorLabel(error) end) event.load('login-menu:remove', true) event.add('login-menu:remove', root, function() deleteWebPage() end) event.add("onClientResourceStart", resourceRoot, function() createWebPage() end)
  7. How i can add login panel html and css and .js in server mta if you can give me video or tell me here :(
  8. Hello, I have a resource here in html and when I put it in the MTA, it has a white background, I don't understand practically anything about html and css and I already tried to make the body background as transparent, but the background was white ? body { background: transparent; } Does anyone know how to make it transparent to help me, please ?
  9. Hi, I have a stable running MTA client in ubuntu 16.04 but when I join a server the HTML pages aren't loading why? I was joining the ffs-gaming server which uses HTML page for login. To recheck I joined in my own server and started web browser resource but still, nothing happened! Thanks in advance!
  10. السلام عليكم و رحمه الله و بركاته اليوم كنت عايز اطلب من الي يعرفون لل html html-lua لو يقدرو يسون شرح عن كيفيه ربط يعني مثلا لو عايز اصمم لوحه html و اركبها بسيرفر هيك يعني +html من وين اقدر اتعلم الـ لان حاليا صراحه ما اعرف غير لغتين و ابي اتعلم الـ3 vb - lua
  11. السلام عليكم .. كيف ازبط احداثيات الزر مثلآ , مثلل بسوي زر و بحطه بالصقحة من فوق ؟ كيف ؟ هل يوجد برنامج للتزبيط الاحداثيات ؟
  12. بيع قالب جميل للشركات HTML :السعر 15 دولار صورة كدليل للسعر الاصلي انا اقوم بتخفيض لكم مع العلم ان القالب كامل ومضمون وبتقدر تغير الحقوق وكل شي السعر المتفق 15 دولار باي بال للشراء توجه خاص كما يمكنك طلب قوالب اخرى تعجبك نبيعه لك بسعر مناسب سكايب : sameh.abd25 فيس بوك : https://www.facebook.com/profile.php?id=100011107590303
  13. I want create a help panel, with html, but i don't know how to make this.. Anyone can help?
  14. Доброго времени суток, пользователи! Недавно скачал сборку сервера, где все реализовано на CEF'e. Должен сказать что интерфейсы на нем очень красивые. Ну так вот, я решил попробовать сделать подобный, с простеньким дизайном, но только не знаю как. Кому не трудно, помогите реализовать простой gui на CEF. Вот примеры CEF интерфейса с проекта "MTA: World RolePlay" (Проект закрыть, и весь код выложен в открытый доступ)
  15. بسم الله الرحمن الرحيم سلام عليكم ورحمة الله وبركاتة انا سويت دورة عن كيف تسوي موقع دردشة .. وممكن يفيد بعضكم وسلام خير الختام
  16. السلام عليكم ورحمة الله وبركاته كيف تجرب اكواد HTML ?? جبت لكم موقع مفيد ورح يساعد في تجربة الاكواد بشكل سريع وسهل وبسيط اضغط هنا للذهاب للموقع ........................................................................................................................... مثال مع الصور انا مثلاً سويت كود يكتب رسالة في نص الشاشة <center>killer Project's text</center> لكن ابي اجربه الحين بعد ما جربته بيطلع لي كذا طيب خلني اجرب كود اصعب مثال <h1><h4><a style='font-size:25px; font-weight:normal;color:#000000;' href="mtasa://46.105.250.201:10010" class="button">click here to enter the mta BL server</a></h4></h1> بعد التجربة بيطلع لي كذا بس هذا اللي عندي اتمنى يفيدكم الموقع وبالتوفيق
  17. Hello everyone! I want to present my little development - website template for servers, with information about your server online, embed statistic, and other Useful information. Based on PHP, bootstrap html/css framework, and seegaming servers API. Global update v1.1:- Now using API via JSON- New design- Easy to configure- Supporting API reviews- Support white, dark and blue themes- Parsing favicon, backgrounds, icons (if used default settings)- You can enable/disable players history graph / reviews page- Fast connect from browser to your server Demo page: Link Download: Link
  18. Hello! There was such question: it is possible to make a window with buttons and pictures by means of html / css and to make a bind on the button? Something like a GUI window, just made with html. I am hope for your help!
  19. Hi! I don't know, how is it possible: I try it with HTML, the video is in .webm format, and I have a bad fps drop, with link I can't do it, I don't know HTML well. I try it with createBrowser too, but with this, I can't do it that the gui or dxdraw be in front of the video, the browser.
  20. I'm wanting to know if there is a way to execute javascript functions from MTA to an iframe that is being shown in the browser. When I try and execute the function, it says it isn't defined. Thanks.
  21. <meta> <script src="client.lua" type="client" /> <min_mta_version server="1.5.0-9.07439" /> </meta> Client: local x, y = guiGetScreenSize() local browser = createBrowser(x, y, true) addCommandHandler("lgn", function() loadBrowserURL(browser, "http://mta/local/login.html") addEventHandler("onClientRender", getRootElement(), function() dxDrawImage(0, 0, x, y, browser, 0, 0, 0, tocolor(255, 255, 255), true) end) end) File tree being:
  22. Piorun

    WebSockets

    Hi, Do WebSockets (for ex. libraries like Socket.IO) are working with browser created in MTA? I'm asking because I want to connect server via Socket.IO locally (NodeJS Express.js).
  23. Buenas, estoy intentando realizar un panel login mediante HTML con el uso de CEF. La duda que tengo es que quiero, con la ayuda de los input de HTML, al apretar un botón, realizar una función en Lua de MTA, ¿Cómo podría hacerlo? Gracias de antemano.
×
×
  • Create New...