Computer Talk Discussions here pertain to mods, troubleshooting, and PC/console gaming

HTML help please

Thread Tools
 
Search this Thread
 
Old Nov 17, 2005 | 06:51 AM
  #1  
Corey's Avatar
Thread Starter
Co-Founder/Administrator
iTrader: (1)
 
Joined: May 2002
Posts: 32,242
Likes: 21
From: Auburn, Washington
HTML help please

My friend Andy found some cool free server monitoring apps for the gaming server he and I run.

I have a few simple ones now, but I will replace them with these.
These have ads in them unless you pay $65 a year to get rid of the built in ads, and we are not going to do that.
You also get a few more perks for being a paid user, but not worth it.

Anyway, the problem I am having is I tested the code out in MS Front Page to center them side by side, but they will only work with one on top and the other one below.
It must be something in the code.
Here is the raw code I am using, plus the paragraph breaks from Front Page and all:

<p align="center"><TABLE align="center" cellpadding="10">
<TR><TD valign="top">

<!-- Server Monitor (The main monitor) | START ------------------------------->
<!-- NOTE:
This first segment of code is only for the server monitor itself.
If you want to include the server usage graphs, then scroll down to
the marked code.
-->

<SCRIPT LANGUAGE="JavaScript"
SRC="http://share1.serverspy.net/cgi-bin/monitor.js?mid=113706">
</SCRIPT>
<!-- SERVERSPY GAME CODE END --> <TABLE align="center" cellpadding="10">
<TR><TD valign="top">

<!-- Server Monitor (The main monitor) | START ------------------------------->
<!-- NOTE:
This first segment of code is only for the server monitor itself.
If you want to include the server usage graphs, then scroll down to
the marked code.
-->

<SCRIPT LANGUAGE="JavaScript"
SRC="http://share1.serverspy.net/cgi-bin/monitor.js?mid=113704">
</SCRIPT>
<!-- SERVERSPY GAME CODE END --></p>
On Andy's forum I have 3 templates much like we do here at YotaTech.
I have a green one, a red one, and one for just testing out code first before putting it on the main two templates for viewers.

You can see how the server apps are on top of each other and not side by side.
Can someone come up with a solution for this?

You have to pick the "Testing code only" template from the drop down list in the lower left corner at http://www.allprogamer.com/upload/index.php?

Thanks,
Reply
Old Nov 17, 2005 | 07:24 AM
  #2  
Cebby's Avatar
Registered User
 
Joined: Sep 2002
Posts: 11,199
Likes: 2
From: Pittsburgh, PA
Here ya go.

Code:
<p align="center"><TABLE align="top" cellpadding="10">
<TR><TD valign="top">

<!-- Server Monitor (The main monitor) | START ------------------------------->

<SCRIPT LANGUAGE="JavaScript"
SRC="http://share1.serverspy.net/cgi-bin/monitor.js?mid=113706">
</SCRIPT>
<!-- SERVERSPY GAME CODE END -->
</td>
<td>
<!-- Server Monitor (The main monitor) | START ------------------------------->

<SCRIPT LANGUAGE="JavaScript"
SRC="http://share1.serverspy.net/cgi-bin/monitor.js?mid=113704">
</SCRIPT>
<!-- SERVERSPY GAME CODE END --></p>;</td>
</tr>
</table>

Last edited by Cebby; Nov 17, 2005 at 07:26 AM.
Reply
Old Nov 17, 2005 | 07:31 AM
  #3  
4Hummer's Avatar
Registered User
 
Joined: Jul 2004
Posts: 1,969
Likes: 1
From: Canada
Originally Posted by Cebby
Here ya go.

Code:
<p align="center"><TABLE align="top" cellpadding="10">
<TR><TD valign="top">

<!-- Server Monitor (The main monitor) | START ------------------------------->

<SCRIPT LANGUAGE="JavaScript"
SRC="http://share1.serverspy.net/cgi-bin/monitor.js?mid=113706">
</SCRIPT>
<!-- SERVERSPY GAME CODE END -->
</td>
<td>
<!-- Server Monitor (The main monitor) | START ------------------------------->

<SCRIPT LANGUAGE="JavaScript"
SRC="http://share1.serverspy.net/cgi-bin/monitor.js?mid=113704">
</SCRIPT>
<!-- SERVERSPY GAME CODE END --></p>;</td>
</tr>
</table>
Yupp Was just about to post remove the <TD valign="top">

Last edited by 4Hummer; Nov 17, 2005 at 07:32 AM.
Reply
Old Nov 17, 2005 | 07:35 AM
  #4  
Corey's Avatar
Thread Starter
Co-Founder/Administrator
iTrader: (1)
 
Joined: May 2002
Posts: 32,242
Likes: 21
From: Auburn, Washington
OK, it is partly working, but now I have this symbol showing up after the apps:

;

Also is there a way to make the 2nd app for UT be at the top and centered like the one for Counter Strike Source?
You can see now how it looks off by it not being aligned like the 1st app.

PS, I got rid of the ; symbol.
It was in your code Mike here between </p>;</td>
<!-- SERVERSPY GAME CODE END --></p>;</td>
Reply
Old Nov 17, 2005 | 07:42 AM
  #5  
Cebby's Avatar
Registered User
 
Joined: Sep 2002
Posts: 11,199
Likes: 2
From: Pittsburgh, PA
Oops - happy fingers I guess.

Let me work on the latter...
Reply
Old Nov 17, 2005 | 07:48 AM
  #6  
Cebby's Avatar
Registered User
 
Joined: Sep 2002
Posts: 11,199
Likes: 2
From: Pittsburgh, PA
Is this what you are looking for?

There are only two scripts thre and they are unequal lengths (space-wise).

Code:
<p align="center"><TABLE align="top" cellpadding="10">
<TR><TD valign="top">

<!-- Server Monitor (The main monitor) | START ------------------------------->

<SCRIPT LANGUAGE="JavaScript"
SRC="http://share1.serverspy.net/cgi-bin/monitor.js?mid=113706">
</SCRIPT>
<!-- SERVERSPY GAME CODE END -->
</td>
<TD valign="top">
<!-- Server Monitor (The main monitor) | START ------------------------------->

<SCRIPT LANGUAGE="JavaScript"
SRC="http://share1.serverspy.net/cgi-bin/monitor.js?mid=113704">
</SCRIPT>
<!-- SERVERSPY GAME CODE END --></p></td>
</tr>
</table>
Reply
Old Nov 17, 2005 | 08:00 AM
  #7  
Corey's Avatar
Thread Starter
Co-Founder/Administrator
iTrader: (1)
 
Joined: May 2002
Posts: 32,242
Likes: 21
From: Auburn, Washington
That is not working at all now.
I paste it into FP and the actual code is showing up, and not the apps themselves.
Reply
Old Nov 17, 2005 | 08:14 AM
  #8  
Cebby's Avatar
Registered User
 
Joined: Sep 2002
Posts: 11,199
Likes: 2
From: Pittsburgh, PA
I dunno. It works here just fine:

http://mike.cebulak.com/coreytest.htm
Reply
Old Nov 17, 2005 | 08:24 AM
  #9  
Corey's Avatar
Thread Starter
Co-Founder/Administrator
iTrader: (1)
 
Joined: May 2002
Posts: 32,242
Likes: 21
From: Auburn, Washington
Mike, I grabbed the source code from the test page you made, and it works in FP.
I will test it out on the AllPro server, stand by...
Reply
Old Nov 17, 2005 | 08:31 AM
  #10  
Corey's Avatar
Thread Starter
Co-Founder/Administrator
iTrader: (1)
 
Joined: May 2002
Posts: 32,242
Likes: 21
From: Auburn, Washington
Duuuuude
It works Mike!

Somehow the code from the test page is a little different from the quote in the thread here, and it works.
Check it out on Andy's forum.

The forum loads a tad slowr, but it is having to pull that infom from the server-spy application site.
We can live with that.

I am aslo going to update the server monitor page with these apps too, they are better than what I am running there now.
http://www.allprogamer.com/monitor.html

Thank you very much Mike for the help on this.
It is very much appreciated.
Reply
Old Nov 17, 2005 | 08:37 AM
  #11  
Cebby's Avatar
Registered User
 
Joined: Sep 2002
Posts: 11,199
Likes: 2
From: Pittsburgh, PA
Glad I could help. I've been doing alot of work with tables lately...
Reply
Old Nov 17, 2005 | 08:41 AM
  #12  
Cebby's Avatar
Registered User
 
Joined: Sep 2002
Posts: 11,199
Likes: 2
From: Pittsburgh, PA
It doesn't work right in Firefox BTW. Everything is scrunched up and on the left.
Reply
Old Nov 17, 2005 | 09:02 AM
  #13  
Corey's Avatar
Thread Starter
Co-Founder/Administrator
iTrader: (1)
 
Joined: May 2002
Posts: 32,242
Likes: 21
From: Auburn, Washington
I do not use the Fox, so no worries.
Honestly I do not like Fire Fox, I stick with IE for everything.

Yeah, a lot of stuff is just not compatible between the two of them.

Thanks again for the help on this Mike.
Now to upgrade that monitor page...
Reply
Old Nov 17, 2005 | 09:29 AM
  #14  
Cebby's Avatar
Registered User
 
Joined: Sep 2002
Posts: 11,199
Likes: 2
From: Pittsburgh, PA
I think to fix it for Firefox, you can define the height of the table row and that should fix it.
Reply
Old Nov 17, 2005 | 09:36 AM
  #15  
Corey's Avatar
Thread Starter
Co-Founder/Administrator
iTrader: (1)
 
Joined: May 2002
Posts: 32,242
Likes: 21
From: Auburn, Washington
Mike, the version I have of Fire Fox is number 1, and it looks the same as it does in IE.

Maybe Mozzila changed something later on?
My version is very old
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
kawazx636
The Classifieds GraveYard
34
Oct 6, 2021 03:03 PM
crashburnoveride
Misc Stuff (Vehicle Related)
3
May 28, 2016 09:08 AM
live4soccer7
84-85 Trucks & 4Runners
3
May 11, 2016 06:52 PM
SpookyMulder
86-95 Trucks & 4Runners
10
Nov 4, 2015 11:56 AM
Obmi
86-95 Trucks & 4Runners
51
Oct 4, 2015 11:30 AM




All times are GMT -8. The time now is 02:46 PM.