Jump to content

question[solved]


ali

Recommended Posts

  
local screenW, screenH = guiGetScreenSize() 
local window = guiCreateWindow((screenW - 1024) / 2, (screenH - 768) / 2, 1024, 768, "Web browser", false) 
local browser = guiCreateBrowser(9, 50, 987, 645, false, false, false, window) 
  
  
local theBrowser = guiGetBrowser(browser) 
addEventHandler("onClientBrowserCreated", theBrowser,  
    function() 
        loadBrowserURL(source, "http://google.com") 
    end 
) 
  

why do i keep getting blank screen?

Edited by Guest
Link to comment
local screenW, screenH = guiGetScreenSize() 
local window = guiCreateWindow((screenW - 1024) / 2, (screenH - 768) / 2, 1024, 768, "Web browser", false) 
local browser = guiCreateBrowser(9, 50, 987, 645, false, false, false, window) 
  
  
local theBrowser = guiGetBrowser(browser) 
addEventHandler("onClientBrowserCreated", theBrowser, 
    function() 
        loadBrowserURL(source, "http://google.com") 
    end 
) 

Link to comment

Google .. Pakistan #

local screenW, screenH = guiGetScreenSize() 
local window = guiCreateWindow((screenW - 1024) / 2, (screenH - 768) / 2, 1024, 768, "Web browser", false) 
local browser = guiCreateBrowser(9, 50, 987, 645, false, false, false, window) 
  
local theBrowser = guiGetBrowser(browser) 
addEventHandler("onClientBrowserCreated", theBrowser, 
    function() 
        loadBrowserURL(source, "https://www.google.com.pk/") 
    end 
) 
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...