ToyLand Graphics Conversion

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

User avatar
Dinges
Tycoon
Tycoon
Posts: 2865
Joined: 07 Jan 2003 18:00
Location: Fryslân Boppe!
Contact:

Post by Dinges »

And look at this:
<frame name="body_client" src="http://marcel.www3.dotnetplayground.com/" SCROLLING=AUTO NORESIZE FRAMEBORDER=0 BORDER=0 MARGINHEIGHT=3 MARGINWIDTH=3>
<frame name="moerstaal_frame" src="/balkje/balkje.php3?showcat=6&domnaam=afentoe.nl&bgcolor=FFFF00&mtaalid=126707" SCROLLING=NO NORESIZE FRAMEBORDER=0 BORDER=0 MARGINHEIGHT=0 MARGINWIDTH=0>
Look at the name of the bottom frame (which is the banner) and look at your code. You see the name's the same?
Dinges

Who is the other person in me?

my Blog (dutch) - my Last.fm profile

Owner of http://ttdgraphics.cjb.net/ ! Temp addr: http://ttdgraphics.owenrudge.com/
User avatar
tree
Engineer
Engineer
Posts: 48
Joined: 07 Feb 2003 08:49
Location: Poland/Gdynia

Post by tree »

But maybe Netscape has bug. Can someone with Netscape tell if mainframe is changing its url to banner
User avatar
Dinges
Tycoon
Tycoon
Posts: 2865
Joined: 07 Jan 2003 18:00
Location: Fryslân Boppe!
Contact:

Post by Dinges »

tree wrote:look:

Code: Select all

     		if (self != top.moerstaal_frame) {
     		top.location.href = '../index.php3';
     		}
In my opinion this script changes the mainframe in Netscape into banner. Am I wrong?
Yes you are wrong this script means (if you know Javascript) that if the banner is the the top frame (the frame at the top or window) then it will redirect to the main page of moerstaal.nl
Dinges

Who is the other person in me?

my Blog (dutch) - my Last.fm profile

Owner of http://ttdgraphics.cjb.net/ ! Temp addr: http://ttdgraphics.owenrudge.com/
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

Yes, I think so, this looks like standard force-frames code I use in my websites. This should prevent your page from being put in a frameset other than the ad one they want it in.

I've found the problem. If you go to your page and do a View Source, you will get the source of the frameset page (which you can't actually see).

Notice the tag <frameset rows...> followed by the two frames <frame name...>

Then it has the <noframes> stuff...</noframes>

Then it has the </frameset>. Wrong! The end-of-frameset tag is supposed to be BEFORE the <noframes> stuff. That is causing Netscape to get confused and jam up on the display, it's very picky that way.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Dinges
Tycoon
Tycoon
Posts: 2865
Joined: 07 Jan 2003 18:00
Location: Fryslân Boppe!
Contact:

Post by Dinges »

krtaylor wrote:Yes, I think so, this looks like standard force-frames code I use in my websites. This should prevent your page from being put in a frameset other than the ad one they want it in.

I've found the problem. If you go to your page and do a View Source, you will get the source of the frameset page (which you can't actually see).

Notice the tag <frameset rows...> followed by the two frames <frame name...>

Then it has the <noframes> stuff...</noframes>

Then it has the </frameset>. Wrong! The end-of-frameset tag is supposed to be BEFORE the <noframes> stuff. That is causing Netscape to get confused and jam up on the display, it's very picky that way.
You said it was an Javascript errror! And now you're saying it's an HTML code fault!
Dinges

Who is the other person in me?

my Blog (dutch) - my Last.fm profile

Owner of http://ttdgraphics.cjb.net/ ! Temp addr: http://ttdgraphics.owenrudge.com/
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

It CAUSES a JavaScript error, so naturally I assumed that was causing the problem with the display. And maybe it is. But when I went looking, I noticed this code fault which could also cause it. Or maybe it is a combination of the two. I can't seem to get the information on the JavaScript error, so that would imply that it's not the error causing the problem. There's a large element of trial and error to this sort of thing when it comes to making it work on all browsers.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Dinges
Tycoon
Tycoon
Posts: 2865
Joined: 07 Jan 2003 18:00
Location: Fryslân Boppe!
Contact:

Post by Dinges »

krtaylor wrote:It CAUSES a JavaScript error, so naturally I assumed that was causing the problem with the display. And maybe it is. But when I went looking, I noticed this code fault which could also cause it. Or maybe it is a combination of the two. I can't seem to get the information on the JavaScript error, so that would imply that it's not the error causing the problem. There's a large element of trial and error to this sort of thing when it comes to making it work on all browsers.
I used to do Javascript programming and was testing on Opera and IE, but not all browsers were working with the same code so I checked for browser name (using ASP) and displayed the correct script for each browser, no more faults (unless you configure Opera to pretend to be IE)
Dinges

Who is the other person in me?

my Blog (dutch) - my Last.fm profile

Owner of http://ttdgraphics.cjb.net/ ! Temp addr: http://ttdgraphics.owenrudge.com/
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

I don't use ASP. I prefer JSP. You can check for the browser, but then you have to maintain compete separate sets of code, and becuase they come out with new versions all the time it can get confused if you aren't careful. So I try to write my code so it works with all the (major) browsers, and I keep copies of them around to test. I don't worry about Opera though because it has such a small market share. Netscape is really annoying though because 4.x, 6, and 7 are all completely different when it comes to JavaScript. IE is much more stable for me.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Dinges
Tycoon
Tycoon
Posts: 2865
Joined: 07 Jan 2003 18:00
Location: Fryslân Boppe!
Contact:

Post by Dinges »

krtaylor wrote:I don't use ASP. I prefer JSP. You can check for the browser, but then you have to maintain compete separate sets of code, and becuase they come out with new versions all the time it can get confused if you aren't careful. So I try to write my code so it works with all the (major) browsers, and I keep copies of them around to test. I don't worry about Opera though because it has such a small market share. Netscape is really annoying though because 4.x, 6, and 7 are all completely different when it comes to JavaScript. IE is much more stable for me.
Opera is almost the same as netscape. And I'm programming PHP now.
Dinges

Who is the other person in me?

my Blog (dutch) - my Last.fm profile

Owner of http://ttdgraphics.cjb.net/ ! Temp addr: http://ttdgraphics.owenrudge.com/
User avatar
Raichase
Moderizzle
Moderizzle
Posts: 11509
Joined: 15 Dec 2002 00:58
Location: Sydney, Australia. Usually at work in the underground railway station...
Contact:

Post by Raichase »

WAAAAA! We are OT on a very importaint topic!!! Anything new with the project except for a few site errors????
Posted by Raichase. Visit my Flickr! Gallery, Blog (get a feed of everyone at once at Planet TT-Forums).
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon
ImageImage
Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

Not much is new, I'm afraid, except that I am trying to recruit a couple more graphic artists to work on the trains and stuff, from some of the other threads, who were thinking about starting on other environments but I am making the argument that we should finish one environment first before we start any more!

Is there any way we can get a list of everyone we know who works on TTD, and their skills, and what they are working on? I think this might help with efficiencies.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Raichase
Moderizzle
Moderizzle
Posts: 11509
Joined: 15 Dec 2002 00:58
Location: Sydney, Australia. Usually at work in the underground railway station...
Contact:

Post by Raichase »

Perhpas a new thread or a web page?
Posted by Raichase. Visit my Flickr! Gallery, Blog (get a feed of everyone at once at Planet TT-Forums).
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon
ImageImage
Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

Oh, I can make a table on a web page, like I did to try to keep track of the East Asia project. But I need to get the information from somewhere.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Raichase
Moderizzle
Moderizzle
Posts: 11509
Joined: 15 Dec 2002 00:58
Location: Sydney, Australia. Usually at work in the underground railway station...
Contact:

Post by Raichase »

Perhaps make another thread asking for pm's about updates?
Posted by Raichase. Visit my Flickr! Gallery, Blog (get a feed of everyone at once at Planet TT-Forums).
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon
ImageImage
Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

Sounds like a plan. You want to do it? You're of higher rank.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Dinges
Tycoon
Tycoon
Posts: 2865
Joined: 07 Jan 2003 18:00
Location: Fryslân Boppe!
Contact:

Post by Dinges »

krtaylor wrote:Sounds like a plan. You want to do it? You're of higher rank.
Get me in as: TT-forums poster, Toyland bridge maker and Webdesigner. (Sounds cool)
Dinges

Who is the other person in me?

my Blog (dutch) - my Last.fm profile

Owner of http://ttdgraphics.cjb.net/ ! Temp addr: http://ttdgraphics.owenrudge.com/
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

OK, I'll start making a reference list. I'll post the URL when the new thread is started, and add everything to it as information comes in.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

OK, I've started making a list of people that work on TTD so proper credit can be given. It is just a very small beginning but you can look at it at my website in my signature.

By the way, I heard that the TTD Patch Starter is no longer being developed? If so, that is a great shame, as it made using the Patch so much easier and had such great potential. Without it, getting environments to work neatly will be so much harder.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
mp3Pro
Tycoon
Tycoon
Posts: 1392
Joined: 21 Jan 2003 14:49
Location: My own home, Sc
Contact:

Post by mp3Pro »

hmmm my name isnt on there.... guess I need to stop posting stuff then
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

If people will take their presence or absence on the list as an insult, I will take it down immediately.

I thought I put a fairly clear note at the top of it, requesting that if you'd like to be listed, please say so. I promise to add anyone to it that so requests, or who someone else requests be added.

It would take me a long time to trawl through all the back messages to figure out who and what everyone is and all the things they can do (It would be even worse if I tried to note how good they were at them...) Much simpler for me to request that, if you would like to be listed, say so and what you would like said about you.

If you would tell me what you would like noted I will add you immediately. You will note that Dinges did so above. Patchman and Andrex didn't do that, I admit, but I happen to know about them (as I think most of us do) and put them on without bothering them about it.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 10 guests