AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to display a website on a .html file (https://forums.alliedmods.net/showthread.php?t=309279)

Rivotril 07-19-2018 17:38

How to display a website on a .html file
 
Hello, i'm trying to display my website on my .html file that is shown by a plugin

I manage to show the website like this,

Code:

<iframe src="URL"></iframe>
but i can't manage to make it work completly, it shows the website but is really tiny, i need it to be shown completly on the motd (Without the scrolling thingys)

OciXCrom 07-19-2018 18:05

Re: How to display a website on a .html file
 
Just use the website link directly in the MOTD.

Rivotril 07-19-2018 18:15

Re: How to display a website on a .html file
 
Quote:

Originally Posted by OciXCrom (Post 2604927)
Just use the website link directly in the MOTD.

Hi, i'm using the TTT rules plugin, just reads from the files and i don't know how to modify it to make it directly from the plugin.

fysiks 07-19-2018 22:33

Re: How to display a website on a .html file
 
Simply paste only the URL in the text file. I'd be surprised if that doesn't work because it works for the default MOTD text file.

If that doesn't work for your URL, you can use the HTML meta refresh method. I've used this method successfully in the past.

Rivotril 07-19-2018 23:47

Re: How to display a website on a .html file
 
Quote:

Originally Posted by fysiks (Post 2604972)
Simply paste only the URL in the text file. I'd be surprised if that doesn't work because it works for the default MOTD text file.

If that doesn't work for your URL, you can use the HTML meta refresh method. I've used this method successfully in the past.

as far as i know pasting it doesn't work, is just the text of the page, is not been shown

klippy 07-20-2018 03:13

Re: How to display a website on a .html file
 
Use the <meta /> tag. Search how to redirect from HTML.


All times are GMT -4. The time now is 12:52.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.