.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

The Falklands War: 1982- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old February 2nd, 2002, 11:15 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Q for any HTML gurus

I have an idea. Make a table cell where you want the on/off line images to go. Make the offline image be the background of that cell. Then, have the Online image load there. If the server is Online, the image loads. If not, it doesn't load and you see the offline message.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #2  
Old February 3rd, 2002, 05:05 AM

disabled disabled is offline
BANNED USER
 
Join Date: Jul 2000
Posts: 901
Thanks: 0
Thanked 0 Times in 0 Posts
disabled is on a distinguished road
Default Re: Q for any HTML gurus

That is how John Beech does it and I will also be using that style for my race styles at SE.org
Reply With Quote
  #3  
Old February 3rd, 2002, 05:28 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Q for any HTML gurus

That looks great!

Is there any way to erase the border around the broken image?
Reply With Quote
  #4  
Old February 3rd, 2002, 06:16 PM
Gaurav's Avatar

Gaurav Gaurav is offline
Private
 
Join Date: Jan 2002
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Gaurav is on a distinguished road
Default Re: Q for any HTML gurus

quote:
Originally posted by suicide_junkie:
Is there any way to erase the border around the broken image?


If the border is around the img, add border=0 as a property of the <img> tag. If it is around the table, do the same with the <table> tag. If it is around a table cell, add a "border-width: 0" style attribute to the <td> tag. Otherwise, post a url so I can see what the problem is.
Reply With Quote
  #5  
Old February 3rd, 2002, 06:26 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Q for any HTML gurus

Homepage/Imagepack

When the "Online" image is broken, I get the box.
I have set the Height & width so I don't get the stupid "X" or torn icons, but I still get an image border.
Reply With Quote
  #6  
Old February 3rd, 2002, 10:12 PM
Gaurav's Avatar

Gaurav Gaurav is offline
Private
 
Join Date: Jan 2002
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Gaurav is on a distinguished road
Default Re: Q for any HTML gurus

SJ, I looked at your HTML code, you have a <table> within the <table>, the one whose <td> tag has the BACKGROUND property set. Add "BORDER=0" as a property to the inner <table> tag.
Reply With Quote
  #7  
Old February 4th, 2002, 05:23 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Q for any HTML gurus

I did that, but I am pretty sure the border is from the broken image, since it only appears when the site is "offline".
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:31 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.