Jump to content
xisto Community

bjrn

Members
  • Content Count

    380
  • Joined

  • Last visited

Everything posted by bjrn

  1. Hehe. That's a good one. I hadn't seen that one before. My favourite joke from Google is still the Google PigeonRank page, where they tell how they use pigeons to rank pages. Hilarious
  2. A bit of a shame though. You'd expect that if your text was going from right to left, that the scrollbar would be at the "end" of a line all the same. So I definitely think IE's method is more intuitive. Anyway, back to the real question. I have no doubt you could make a JavaScript scrollbar that sticks to the top and left for your pages. And if not JS, then always flash. However, you should ask yourself whether you really want to do that. In my experience there are little, if any, pages that manage to pull off non-standard scrollbars in a good way, without annoying all users.
  3. I'm not really sure what it is you want. Java has a "look and feel" (LAF) as they call it, which can be switched. Normal Swing apps default to a certain look and feel which usually isn't too good looking. However you can change the look and feel used. If you do mean the "look and feel", then the answer is that you can pick your own look and feel and plug it into your java app. You will have to bundle the LAF jar with whatever you are making obviously, because otherwise people will just get the "standard" look and feel. Just google around for 'java "look and feel"' and you should be able to find plenty. Thow in the word "tutorial" and you'll no doubt find out exactly how to make your app use the look and feel you want it to. But I'm not sure that is what you meant, if you meant something else, just say so
  4. Yep. Not long ago Google released Google Moon. It is very much like Google Maps with the sattelite view on. But instead of showing the Earth, it shows the Moon. Google writes: You can see it here. And if you zoom in far enough, you can see something that we all suspected all along!
  5. Argh! I should have added what kind of things you should fill in as search terms of course!All the webdev searches take full URL's as search terms, except the last three which also can manage with just a domain name.For all others you pretty much just fill in the word you are looking for.
  6. Yes, good topic! Here are some more searches that I have and that I think people around here might find useful: Webdev searches: W3C (X)HTML validator: http://validator.w3.org/check?uri=%s W3C CSS validator: http://forums.xisto.com/no_longer_exists/ Website report: http://forums.xisto.com/no_longer_exists/ If you are wondering how big a page of your is, how long it would take someone on a certain speed connection to download it, and get some nice statistics, use this (doesn't work with framed pages). Running what?: http://uptime.netcraft.com/up/graph/?host=%sCheck what kind of server a site is running, and with some luck the uptime as well Ping: http://www.dnsstuff.com/tools/ping.ch/?ip=%25s Whois: http://www.dnsstuff.com/tools/whois.ch/?ip=%25s Dictionaries: Dictionary.com: http://forums.xisto.com/no_longer_exists/ Mirriam-Webster: http://forums.xisto.com/no_longer_exists/ Cambridge dictionary: http://dictionary.cambridge.org/dictionary/british/ Urban dictionary: http://forums.xisto.com/no_longer_exists/ Others: Wikipedia: https://en.wikipedia.org/wiki/%25s Ebay: http://www.ebay.com/ File extension seach: http://filext.com/file-extension.php?extension=%3FsEver seen a file extension and wondered what kind of file it was? Wonder no more!
  7. Neat trick, it really is. But as cmatcmextra pointed out, this is not to prevent content robbing. And if you are worried about hotlinking, your Xisto hosting cPanel has nice options for hotlinking prevention.But it's still a good example of how you can mask a file, or just put something between the "getter" and the file. I was wondering about one thing, will this affect the caching of images on your webpages? I can imagine that a browser might say "wow, a dynamically generated page, I won't cache it". Which means quite an increce in bandwidth usage if you have a graphics-heavy site.
  8. What I mean is that somewhere you must be saying that things should be uploaded to c:/uploads. Otherwise you wouldn't get that error message with that path. Try searching through all files you are using (most text editors can search through more than one text-file) for c:/uploads (or perhaps c:\uploads). And see what you come up with.
  9. Come on, that is just over 200 different languages. That's almost nothing! The 99 bottles archive has programs/scripts writing the lyrics for "99 bottles of beer" in over 700 languages (or variants)
  10. "Do you know Perl?" Seriously, it all depends on what your candidate needs to know. You can always give them a small problem and have them solve it with pen and paper. And then you can check it. Should give you an idea of how quickly they can solve a small problem and a bit how their style is.
  11. Have you tried changing the value? You know, from "c:/uploads" to wherever you want it on your linux machine?
  12. Man, that's not moral fibre, that's egoism. Doing something only when you know you will get something in return is called a safe bet at best. Moral fibre is when you stick to your ethical system no matter what, or actually doing something you consider morally wrong even when it's not all that easy.
  13. If you want one problem solved in many languages (besides "Hello world" obviously), you should check out 99 bottles of beer. It's a website with (at the time I'm writing this) program code/scripts that print the lyrics for "99 bottles" (all the way down to the last one) in 729 variations. Those 729 variations do not mean there are 729 languages, but almost, and that includes some pretty weird languages, like whitespace.
  14. If you are writing content in a language that isn't covered by Unicode yet (whichever language that may be), then I guess you'd have to make sure that you are sending your pages with the right encoding.And if fonts are a problem try sticking to just serif/sans serif/monospaced and which size. That way the users get their preferred fonts.So if you are writing in Elbonian for the Elbonian reading people, you send it with some Elbonian encoding. And since the only people who are reading your Elbonian text are Elbonians themselves, they will have the right fonts, right?(Elbonia is not a real country)
  15. The problem with Wordpress, MovableType and so on is that you are forced to make all sorts of security arrangements more or less right away. A "clean" install of either system will be open for all sort of spammers; like comment spam and trackback spam. Jaques Distler had 429 trackbacks/day in June. And it's not like he has the most visited blog ever. He is running MT, which is considered a pretty good system as far as I know, still he is continually editing the system to stop spammers. And he already has a highly adpted system. A clean system (again, both MT and WP) have all sorts of "standard" files for spammers to exploit. While I'm at it, what's the point of trackbacks? I mean, if someone posts in their own blog about something you've written, you'll see that in your referer log? The only thing you're missing out on is blogs that write about you but where the readers of that blog never visit your site. To me it seems like trackbacks and pingbacks bring more problems than pleasures...
  16. I wouldn't use Times New Roman on a website, ever. If you want to use a serif font on a website, at least make sure it's a font which looks good on a screen. You would be better off using Georgia (which has been designed especially for computer screens). I think Palatino looks well too (and Palatino is included as a standard font in most modern OSs).
  17. bjrn

    Imagemap

    You can use a form button and set your image as the background image for the form. Then, when someone clicks on the button/image, you can get the x and y position of the click. <input type="image" name="map" src="/images/map.gif">And then on the page it submits to you put something like <?php$x = $_POST['map_x']$y = $_POST['map_y']//Stuff here where you use the x and y coordinates?> Another solution would be to trigger a javascript function onclick on the image and use it to fetch the x and y coordinates of the click. Using JavaScript might be more elegant... Using lists and CSS is not an option in this case, since you basically have to do something different for each pixel (or other small area), and making a 1500 item list, with CSS defined for each list item would be clunky.
  18. No, you'd have to set a cookie for the preferences to be saved (as long as the user accepts cookies and doesn't delete them). Just set a cookie storing the preferences after each if statement. Something like: setcookie("Style", $style, time()+3600); And of course add an if-statement to check if a cookie is set, and if so (and they are not changing their choice) set the style to the one stored in the cookie. More info on cookies: http://php.net/manual/en/function.setcookie.php
  19. Basically, with a blog you create content and post it, everything you post is sorted by date; and everything you post can be commented on (if you have blogging software that supports it and you have it enabled obviously). With a "normal" website you usually don't timestamp anything, but just put it on your site and let people find it. I have to say that I don't really agree with the "more than a diary but less than a website" definition. In my eyes many blogs aren't more than diaries, thoughts about things the writer experiences and so on, nothing really exciting and often seemingly written more for personal enjoyment than for that of the visitors. And then there are interesting blogs, blogs with real content that certainly are no worse--and sometimes much better--than "normal" websites. I think you could define "blog" better as publications online in reverse chronological order, and leave it at that. And for blogging systems, I've played around with a few different systems, but can't say I was extatic about any of them (they include Geeklog, Wordpress and MovableType). If I had to pick one I'd go with MoveableType though, I thought it was quite tweak-friendly (both with regards to the front end as to the back end), which is imporant to me. But right now I'm trying to put together my own blogging software, but I feel I still have a log of work ahead of me. I thought this list was pretty good in mentioning a lot of features I'd like in a blogging system.
  20. There are loads of sites with free fonts floating around, dafont.com (as has been mentioned before) is a good one. You could also check out Fontleech, a blog picking out nice, free fonts. And if you do any programming you could visit Monospaced programmer's fonts, which has a nice overview of good fixed width fonts for programming.
  21. It is basically the same as 1.0. The versioning system works like this: First number is for big changes, the second number is intermediate and the third is for bug- and security fixes and the like. At least something like that. So while you, as an end user, won't notice any difference between 1.0 and 1.0.4, you will get a more bug-free and higher security browser. Oh, and it's not beta, it's a proper release. If you want something beta-like you can get a nightly build from http://forums.xisto.com/no_longer_exists/
  22. Uhm, if you just want to use common fonts you obviously just do elementname {font-family: font1, font2, font2;}example: body {font-family: tahoma, arial, sans-serif;} If you have some special font you want to use, but don't know if your visitors will have the font or not, you can either do what badinfluence suggested, or just give up. That is if you want to use the font for running text, if you just want to do it for headings and such, you could either generate heading images on the fly with PHP, or do some sIFR thing (which uses flash). Generating headings with PHP: http://alistapart.com/article/dynatext sIFR: https://mikeindustries.com/blog/archive/2004/08/sifr more sIFR: https://mikeindustries.com/blog/files/sifr/2.0/ But for running text (the main body of text) you will have to use "universal" fonts.
  23. Are you sure your username and password are really right? Perhaps you've typoed "ammin" when you meant "admin"?
  24. Yeah! TiddlyWiki is neat. Although I personally felt the need to tweak it a little (change some of the scripts and added some nice functions like "close all others"). But I really think it's a nice little wiki thing.
  25. Okay, you tried putting <?php stuff ?> inside a string. So if you wanted to include output from a script you'd have to do something like: <?php$string="things".(include('showonline.php'))."more things";?>instead of <?php$string="things <?php include('showonline.php'); ?>."more things";?> Secondly, you seem to have spotted the problem yourself, whether or not you try to include showonline.php, you still get an error. In fact, no matter what you do, you get an error in config.php. Clearly the error lies in config.php. So, I suggest you check where line 215 would be and see what you are doing there. It might be that you have to escape quotation marks or something like that. Try replacing all ' with \"
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.