TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,964
  • Latest: stylix
Stats
  • Total Posts: 195,965
  • Total Topics: 21,317
  • Online today: 2,014
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 279
  • Total: 279

need html code for "live server view/ stats' for article page

Started by Tron420, December 06, 2006, 03:19:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Porky

  echo '<IFRAME src="http://205.234.191.38:27015/" width="500" height="600" marginwidth=0 marginheight=0 frameborder=0 scrolling=yes></IFRAME>' ;

Ok this is what you need I think if you want the page to auto adjust to the users screen resolution then change the width and height to %

Tron420

i re installed the "default" site so u can see what it looks like "normally" in the link

Tron420

nope..
its still not all in the screen, sry



heres how the layout should be.. ( with the server status info all in the iframe w/ no scroll )

http://hittemupgaming.com/smf/index.php?page=10

feel free to make the height taller if u need to, theres allotta space left at the bottom
dont forget that normally theres a map pic of the current map thats displayed right beside the "GENERAL" box at the top

i attached the style sheet and other files for that page in the first post of this thread..
if you get it to work maybe TP can put this on the block code snippets page , ive noticed alotta ppl asking for a server minitor script.

Thurnok

What you are trying to do is resize the page to fit into a specific resolution.  You cannot do that.  You would need to edit the source HTML for the site and change some of the static table sizes in order to make it fit without scrollbars (which is what I assume you meant).

The only thing you can do is adjust your iframe to a size that fits the whole page in it without scrollbars.

Porky

Precisely you would have to edit the index.html file that it is pulling from to change to that resolution.

but a possible solution would be change the width to 100% and the height to whatever you want and chage the scrolling to no...


Tron420

how do i do that?


alternatively--

the style sheet and other files thats in the zip i attached can be edited to get the whole thing to fit in a 500 px wide space but i have no php knowledge what so ever.

can you plz take a look at em and see if u can fix it?

the iframe can be as tall as it needs to be
the width cant be over 500 or my page will distort


the www folder contains the web stuff (the other stuff is a plugin for the gameserver )

i can upload the edited files back to the site if u attach them
if u want me to test them



Porky

well looked at it without going in and changing the table cells and everything you really can't due it. you could turn off your left and right blocks while viewing this article to give you the space you need


Porky

I am not the best at php as I am still learning. Might see if one of the great php coders that lurk around here like Xarcell, G6 , and maybe crip

Tron420

yea the tables need to be edited..
i tried all day today but i keep messing it up. i really hope someone can help me because i wanna make this work so badly. :-\ :-\

someone , anyone ... help me plz . :o


This website is proudly hosted on Crocweb Cloud Website Hosting.