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

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old July 31st, 2003, 12:47 AM

Andrés Andrés is offline
Major
 
Join Date: Apr 2001
Location: Rosario, Argentina
Posts: 1,047
Thanks: 0
Thanked 0 Times in 0 Posts
Andrés is on a distinguished road
Default Re: HTML Test

IFRAME seems to work.
Reply With Quote
  #2  
Old July 31st, 2003, 12:48 AM
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: HTML Test

Never heard of IFRAME before. Interesting...
__________________
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
  #3  
Old July 31st, 2003, 01:05 AM
Ragnarok's Avatar

Ragnarok Ragnarok is offline
General
 
Join Date: Mar 2002
Location: Indiana
Posts: 3,229
Thanks: 0
Thanked 0 Times in 0 Posts
Ragnarok is on a distinguished road
Default Re: HTML Test

Quote:
Originally posted by Imperator Fyron:
Never heard of IFRAME before. Interesting...
They haven't been in use for very long. Although the past few months (year?) they have been growing in popularity among the webdesign world. I haven't looked into them enough to understand them better but I will be doing so sometime. From what I hear they are alot better then normal Frames.
__________________
Ragnarok - Hevordian Story Thread
-------------------
I think...therefore I am confused.
They were armed. With guns, said Omari.
Canadians. With guns. And a warship. What is this world coming to?
The dreaded derelict dwelling two ton devil bunny!
Every ship can be a minesweeper... Once
Reply With Quote
  #4  
Old July 31st, 2003, 01:09 AM

Taera Taera is offline
Colonel
 
Join Date: Jul 2001
Location: Calgary, AB, Canada
Posts: 1,743
Thanks: 0
Thanked 0 Times in 0 Posts
Taera is on a distinguished road
Default Re: HTML Test

whats the difference? and whats the code?
__________________
Let the game begin!
Green bug from outa space!
Reply With Quote
  #5  
Old July 31st, 2003, 01:12 AM
Ragnarok's Avatar

Ragnarok Ragnarok is offline
General
 
Join Date: Mar 2002
Location: Indiana
Posts: 3,229
Thanks: 0
Thanked 0 Times in 0 Posts
Ragnarok is on a distinguished road
Default Re: HTML Test

Quote:
Originally posted by Taera:
whats the difference? and whats the code?
That's something I can't answer right now. Like I said I have only heard about most of what I know. I haven't looked into the actual code and what main differences there are. If I get some information I'll be sure to let you know.

Edit: Here is some information that will come in handy. Just a quick search on IFRAMES came up with that. These things look pretty cool. I might actually go back to using frames if these are as good as hyped up to be.

[ July 31, 2003, 00:16: Message edited by: Ragnarok ]
__________________
Ragnarok - Hevordian Story Thread
-------------------
I think...therefore I am confused.
They were armed. With guns, said Omari.
Canadians. With guns. And a warship. What is this world coming to?
The dreaded derelict dwelling two ton devil bunny!
Every ship can be a minesweeper... Once
Reply With Quote
  #6  
Old July 31st, 2003, 01:15 AM
Will's Avatar

Will Will is offline
Lieutenant Colonel
 
Join Date: Mar 2001
Location: Emeryville, CA
Posts: 1,412
Thanks: 0
Thanked 0 Times in 0 Posts
Will is on a distinguished road
Default Re: HTML Test

iframe has been in IE since v.5.0, IIRC. AFAIK, it is NOT in the W3C HTML 4.01 specification, and isn't supported in NS (it might be in v.6 or v.7, I haven't checked recently). I remember it was a bit buggy when I first heard of it, but they're showing up a lot more these days.

The main advantage of iframe tags is they are not bounded to the side of a document or another frame. With regular frames, to create the effect of a floating content frame (such as the linked frame to www.malfador.com in this thread), you would need two frameset's, and five frame's, and you wouldn't be able to scroll the entire thing. To do the same with iframe requires only one tag, and the rest of the page can scroll.

--edit: Implementation of iframe (IIRC); replace _underscored_items_ with appropriate information:

<iframe src="_url_" name="_name_" width="_width_" height="_height_" frameborder="_border_" hspace="_horizontal_offset_" vspace="_vertical_offset_" align="_align_" scrolling="_scroll_" />

url = the target URL
name = an appropriate name for targeting purposes
width = width of the frame window (pixels or %)
height = height of the frame window (pixels or %)
frameborder = border width of the frame
horizontal offset = pixels margin on the left (and right?)
vertical offset = pixels margin on the top (and bottom?)
align = center, left, or right
scrolling = yes, no, or auto

only the src attribute is vitally necessary, since the frame should hold something. It's a good idea to set width and height as well. The iframe will display where ever it is positioned in the document (via tables, positioned containers, etc.)

[ July 31, 2003, 00:33: Message edited by: Will ]
__________________
GEEK CODE V.3.12: GCS/E d-- s: a-- C++ US+ P+ L++ E--- W+++ N+ !o? K- w-- !O M++ V? PS+ PE Y+ PGP t- 5++ X R !tv-- b+++ DI++ D+ G+ e+++ h !r*-- y?
SE4 CODE: A-- Se+++* GdY $?/++ Fr! C++* Css Sf Ai Au- M+ MpN S Ss- RV Pw- Fq-- Nd Rp+ G- Mm++ Bb@ Tcp- L+
Reply With Quote
  #7  
Old July 31st, 2003, 01:17 AM
Jack Simth's Avatar

Jack Simth Jack Simth is offline
Major General
 
Join Date: Oct 2002
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
Jack Simth is on a distinguished road
Default Re: HTML Test

Quote:
Originally posted by Taera:
whats the difference? and whats the code?
I don't know what the difference is, but it is easy enough to get the code now that Andres used it here:
code:
<iframe SRC="http://www.malfador.com/" WIDTH=400 HEIGHT=100>...but your browser doesn´t support it</iframe>

Produces:


Hmm, I wonder - does it do circular references?
__________________
Of course, by the time I finish this post, it will already be obsolete. C'est la vie.
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 06:50 AM.


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