|
Post by Tinnus on May 17, 2007 12:27:20 GMT 1
I thought you had gone to sleep already and would only read it this morning Thanks though ;D
|
|
|
Post by hansschmucker on May 17, 2007 15:52:23 GMT 1
Added a bit of JS magic to resize the title line to (almost) always fit the available space.
|
|
|
Post by hansschmucker on May 17, 2007 16:01:43 GMT 1
Added rotating quotes (oh, and in case you haven't noticed: I'm awake again)
|
|
|
Post by _Em on May 17, 2007 18:25:41 GMT 1
I'll get you some screenshots of the current version in Blazer, NetFront and Picsel ProViewer shortly.
|
|
|
Post by hansschmucker on May 17, 2007 18:48:53 GMT 1
If they identify themselves properly as handheld and not as screen devices, then there shouldn't be a problem... they'll get no CSS and end up with the plain view which is much better than a clumsy layout that requires lots of scrolling...
|
|
|
Post by hansschmucker on May 17, 2007 19:08:54 GMT 1
Seperated content from layout so now it's easy to generate the sub-pages. News and home are already there.
|
|
|
Post by _Em on May 17, 2007 19:25:40 GMT 1
Blazer: Picsel Viewer: NetFront: -Caused a reset each time I tried to load it.
|
|
|
Post by _Em on May 17, 2007 19:30:27 GMT 1
Hmm... even on my PC, the Mario quote gets clipped. Here's a project for you: I know it is possible to scale/wrap text based on dynamic bounding size. Feel up for scripting it?
|
|
|
Post by hansschmucker on May 17, 2007 19:51:22 GMT 1
Oh d**nit, does nobody care to follow the CSS specification even halfway through? ? These are HANDHELD devices and are not supposed to load CSS aimed at PCs.... do I really have to filter them one by one using the useragent???
|
|
|
Post by hansschmucker on May 17, 2007 20:06:36 GMT 1
OK, I've hardcoded a list of useragents that don't deserve CSS: <? if( (strstr($_SERVER['HTTP_USER_AGENT'], 'AvantGo') || strstr($_SERVER['HTTP_USER_AGENT'], 'DoCoMo') || strstr($_SERVER['HTTP_USER_AGENT'], 'KDDI') || strstr($_SERVER['HTTP_USER_AGENT'], 'UP.Browser') || strstr($_SERVER['HTTP_USER_AGENT'], 'SEMC') || strstr($_SERVER['HTTP_USER_AGENT'], 'J-PHONE') || strstr($_SERVER['HTTP_USER_AGENT'], 'DDIPOCKET') || strstr($_SERVER['HTTP_USER_AGENT'], 'PDXGW') || strstr($_SERVER['HTTP_USER_AGENT'], 'ASTEL') || strstr($_SERVER['HTTP_USER_AGENT'], 'EudoraWeb') || strstr($_SERVER['HTTP_USER_AGENT'], 'OPWV') || strstr($_SERVER['HTTP_USER_AGENT'], 'Plucker') || strstr($_SERVER['HTTP_USER_AGENT'], 'PalmSource') || strstr($_SERVER['HTTP_USER_AGENT'], 'PalmOS') || strstr($_SERVER['HTTP_USER_AGENT'], 'PIE') || strstr($_SERVER['HTTP_USER_AGENT'], 'NetFront') || strstr($_SERVER['HTTP_USER_AGENT'], 'Xiino') || strstr($_SERVER['HTTP_USER_AGENT'], 'BlackBerry') || strstr($_SERVER['HTTP_USER_AGENT'], 'PPC') || strstr($_SERVER['HTTP_USER_AGENT'], 'MIDP-2.0') || strstr($_SERVER['HTTP_USER_AGENT'], 'portalmmm') || strstr($_SERVER['HTTP_USER_AGENT'], 'Blazer') || strstr($_SERVER['HTTP_USER_AGENT'], 'Windows CE') || strstr($_SERVER['HTTP_USER_AGENT'], 'EPOC') || strstr($_SERVER['HTTP_USER_AGENT'], 'Opera Mini') || strstr($_SERVER['HTTP_USER_AGENT'], 'Picsel')) && (!strstr($_SERVER['HTTP_USER_AGENT'], 'PlayStation Portable')) ) $noCSS=true; ?>
About the quote... it actually does resize with exactly the technique you mentioned... however this requires some CSS hacking and well.... most browsers are not very good at that. I've tested it in IE7, FF2 and OP9
|
|
|
Post by Tinnus on May 17, 2007 20:33:07 GMT 1
I think you didn't get the picture... the banana sentence HAS to say "Is that a banana in your pocket", WITH the "pocket" part. It's a joke with the line in Monkey Island 1 that says "Is that a banana in your pocket, or are you just happy to see me?"
|
|
|
Post by hansschmucker on May 17, 2007 20:35:40 GMT 1
I know.... it's just too long that's the whole problem... I thought I could shorten it that way and all people who know the quote (I don't think it's originally from MI) should still get it.
|
|
|
Post by _Em on May 17, 2007 21:11:19 GMT 1
...but you missed my Donkey Kong reference too! Anyway, I'll try another test on the various browsers and let you know how it works.
|
|
|
Post by _Em on May 17, 2007 21:20:05 GMT 1
Picsel works fine... no-nonsense flatfile with LJP header and GPL image; the rest is just text. Blazer as well... NetFront is still resetting. Maybe I've got a bug on my system and it just happened to show up right then. Nope... only resets on Little-john.net (both the old and the new version).
|
|
|
Post by hansschmucker on May 17, 2007 21:55:17 GMT 1
I think I remember NetFront having only very limited and buggy support for PNG files... maybe that's the problem...
|
|
|
Post by hansschmucker on May 17, 2007 21:59:36 GMT 1
Can you turn off image loading in NetFront and try again please?
|
|
|
Post by _Em on May 17, 2007 23:00:54 GMT 1
That's the ticket -- works fine with images disabled. Hmm... maybe a small bit of script to display text instead of images if it's NetFront?
|
|
|
Post by hansschmucker on May 17, 2007 23:33:12 GMT 1
Usually, I'd just replace the problem images with GIFs, but then I'll have to replace all images with GIFs as MSIE displays PNGs too dark.
*Screenshot gallery is back.
|
|
|
Post by Tinnus on May 18, 2007 1:17:17 GMT 1
BTW, it's lacking the RSS button.
|
|
|
Post by hansschmucker on May 18, 2007 1:46:32 GMT 1
Do we need it? All recent browsers have a RSS handling of their own and the feed is marked correctly so that all browsers can find it.
|
|
|
Post by Tinnus on May 18, 2007 17:29:50 GMT 1
What if the user wants to use another client? I like it
|
|
|
Post by hansschmucker on May 20, 2007 15:04:59 GMT 1
Sorry, I've been gone over the weekend... I'll re-add the RSS button tonight.
|
|
|
Post by hansschmucker on May 21, 2007 0:37:05 GMT 1
Added with modified Mozilla icon (XML as a title is kinda confusing... I think icon + "RSS" works much better)
|
|
|
Post by hansschmucker on May 21, 2007 1:11:31 GMT 1
Replaced all PNGs with GIFs in the hope that this will fix NetFront
|
|
|
Post by hansschmucker on May 21, 2007 1:58:46 GMT 1
Changed the shared PHP file to include absolute paths, so now you can treat the php files like directories... for example www.little-john.net/news.php/This means that now Wordpress can be configured to assume /news.php/ as its baspath which in turn means that the direct links in the RSS feed work, for example www.little-john.net/news.php/?p=8
|
|
|
Post by hansschmucker on May 21, 2007 9:37:03 GMT 1
I'll be gone for the next few days (I can't tell you exactly... I actually might be back tonight or it could be as late as friday). If anything important comes up you can still reach me via email: hansschmucker at gmail dot com.
|
|
maxer
Junior Member
Sit, Ubu, sit! Good dog! Woof!
Posts: 77
|
Post by maxer on May 24, 2007 20:30:01 GMT 1
hey everyone - ive been away from the board for the past few months (we had a new baby!) but have checked in from time to time to check progress ... looks like a lot has happened in the past month or so! first of all - love the new website. i wont chime in on my opinions of layout/design/color since it seems like everyone has pretty much made their opinions known at this point ... what i would like to say is that it looks great and keep up the good work! second - lets talk about the wiki. one wiki i found to be of great reference is for azureus. the information here is vast and complete and seems to be kept up very well. in case anyone wants to check it out, the link is below: www.azureuswiki.com/index.php/Main_PageWho is the moderator for the wiki? has one been designated? otherwise i concur on the thought that perhaps its too soon to do a full on wiki at the moment. basics are fine to post up and FAQ's should definitly be moved there, and even project update/history can be moved. bugs in a bug tracker is a gggreat idea. question: why isnt this project alive and kicking in sourceforge.net? dont they have a bug tracker and version history listing as well? it would seem to get the word out even more this site would be a fine destination for the two Little John proijects under development (the rewrite and the upgrades). anyways, great work and ill be chiming in and testing things out now that im back in the saddle so to speak. cheers, josh
|
|
|
Post by countbuggula on May 24, 2007 23:19:29 GMT 1
Any way you can make the entire buttons mapped to be clickable instead of just the text?
|
|
|
Post by hansschmucker on May 25, 2007 14:35:55 GMT 1
Not really.... the problem is that links are inline elements, meaning they don't have a fixed size and they don't cause a linebreak. DIVs, like the one we need for the background here are block elements with a fixed size.So we need a block element inside an inline element.
Now, that wouldn't be a problem and is actually a common scenario in HTML. However. in XHTML (which is the standard used by cellphones and the one we use here) it isn't allowed.
|
|
|
Post by countbuggula on May 25, 2007 15:04:48 GMT 1
Ah. Ok. Curse you XHTML!!!
Ok just kidding. At least there's a reason for it, and it's a respectable tradeoff to get full use out of mobile browsers.
|
|