Mar 17, 2005, 02:53 AM | |
MiniGIP
Out of curiousity, would we be allowed to use the MiniGIP script that's on the front page of J2O? I've noticed it's not available anywhere on the website, and I wouldn't want to take it without permission.
Last edited by Sonyk; Mar 17, 2005 at 03:45 PM. |
Mar 17, 2005, 07:17 PM | |
If you want to use it on your site, that's fine, as long as you give credit to J2O. Internet Explorer displays it slightly incorrectly (gives it a border and does not transfer cell background colour). You could also use the image mini-GIP that seems to work now and appears correctly in all browsers.
Exempli gratia:
__________________
With our extreme gelatinous apology,
We beg to inform your Imperial Majesty, Unto whom be dominion and power and glory, There still remains that strange precipitate Which has the quality to resist Our oldest and most trusted catalyst. It is a substance we cannot cremate By temperatures known to our Laboratory. ~ E.J. Pratt |
Mar 18, 2005, 03:06 AM | |
Yes, I'm aware of the problem with embedded pages in IE, but my site looks better in Firebox regardless, so I urge users to view it in that. And that image version looks rather spiffy, if I do say so myself.
Also, would you prefer I have the script myself, instead of linking to the one on J2O?I would assume so... Last edited by Sonyk; Mar 18, 2005 at 03:46 AM. |
Mar 18, 2005, 09:30 AM | ||||
I don't think it would hurt to use .gif images instead of .png, but then again, I don't know what it would look like with the change.
__________________
|
Mar 18, 2005, 10:29 AM | |
Here's the script for the one currently used on J2O. If you want to display the MOTD from the list server, uncomment the relevant portions, but this may be impractical as the MOTD is sometimes quite big. You'll also need to make a script to create a .j2i file (or link to the one on J2O) if you want to be able to join games from this. And finally you'll need to get the images (or create your own) and change the script to output the correct locations. They are in http://www.jazz2online.com/J2Ov2/panels/gip_stuff/.
If you link to the script with textColor, linkColor, and hoverColor in the query string (without a '#' preceding), they will be used instead of the default colours. The preg_match function should all be on one line, with a single space between (.*?) and the final (.*). If you want to completely customize the script, you can just take the portion up to (but not including) where it says "echo <<<END". At this point, all the server information is in the array $valid_servers, and you can loop through and display it how you want. PHP Code:
__________________
With our extreme gelatinous apology,
We beg to inform your Imperial Majesty, Unto whom be dominion and power and glory, There still remains that strange precipitate Which has the quality to resist Our oldest and most trusted catalyst. It is a substance we cannot cremate By temperatures known to our Laboratory. ~ E.J. Pratt |
![]() |
«
Previous Thread
|
Next Thread
»
Thread Tools | |
|
|
All times are GMT -8. The time now is 11:09 PM.
Jazz2Online © 1999-INFINITY (Site Credits). Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats. Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Original site design by Ovi Demetrian. DrJones is the puppet master. Eat your lima beans, Johnny.