Jump to content
xisto Community

ruben1405241511

Members
  • Content Count

    240
  • Joined

  • Last visited

Everything posted by ruben1405241511

  1. I don't think there's a commonly usable way for these actions 1. The Javascript String functions help you in this case. function givemeseps() { // I assume that the value is in some form field, right? Otherwise you can give the parameter to the function between the ()numba = document.forms['yoursweetform'].yoursweetfield.value;if(isNaN(numba)) return false;numbars = numba.length;if(numbars==7) { // 7 digit number to sumthin like: 1.000.000,00 newnumba = numba.slice(0,1) + "." numba.slice(1,4) + "." numba.slice(4) + ",00"; }else if (numbars==6) { // 6 digit 100.000,00 newnumba = numba.slice(0,3) + "." numba.slice(3) + ",00"; }else if (numbars==5) { // 5 digit 10.000,00 newnumba = numba.slice(0,2) + "." numba.slice(2) + ",00"; }else if (numbars==4) { // 4 digit 1.000,00 newnumba = numba.slice(0,1) + "." numba.slice(2) + ",00"; }else if (numbars==3 || numbars==2 || numbars==1 || numbars==0) { // 100,00 or 10,00 or 1,00 or 0,00 newnumba = numba + ",00"; }document.forms['yoursweetform'].yoursweetfield.value = newnumba;}You can add more for more digits. I just wrote this function for you, never tested it and I won't cause I got no idea what you are going to use it for. If you describe the situation more closely, I can tell which other cases you have to absorb. no responsibility is taken for the correctness of this information, hehe. I won't write a hell of a script if you don't tell me where you will use it.. You can try yourself with the String functions of JS. You'll need parseInt() toString() and their little friends to make the trick work. 2. That is because it is a dang complicated thing to make such a script. You have to know how each different browser react. It is not only about if they interprete the functions but also how they handle them. If I was you, I'd try to rip off some professional script. Don't do it yourself if you don't know **** about JS, that would be waste of time. I consider myself firm with the technics (but I'm not a pro) but I could never ever do this properly. Rip off the one from Adobe.com (You'll still need a hell of skills to make it fit your homepage). greetz, ruben
  2. Hello,I need more information: Which system is the computer running? Which password are you talking about and where are you currently (Logged In but can't change system settings or logged out)?In Mac OS X there are definitively ways to reset the Masterpassword, when logged out. You should check the apple.com support database out for that purpose.In MAC OS 9 the multi-user thing was kind of new, so I don't know.In OS 8 there was no multi-user support as far as I remember and know.So you have to get more specific, please!Ruben
  3. Welcome to my little How-To which shall help you to make your site more dynamic without all the hustle of defining the Javascript for each element. On my homepage you can find a working (modifed) version, but it's German. I give you an explained function, that you have to implement in your HTML-document-body as following <body onload="init()"> My function takes her values from HTML-values inside the document. This allows you to define a proper HTML-document without all the JS-Code in it. I especially liked it, when working with a WYSIWYG editor, where it is much more comfortable to edit the HTML-values. The values used by my function are the following: ⢠Document Title â People often forget about the importance of this little Element in the header of your document. Especially when using frames they don't set it up at all. ⢠Link Title â This is a very good way to describe a link more closely, but only few users read it. To bring it to their attention, I had a little box on top of my page, where the Title and some other information were displayed on mouse over. You can easily change my box to any field in on your page (alternatives are for example the status bar (default in my script) or a moving field above the link (requires some action). ⢠Link Target â NO damn browser shows, what a link is going to open. This annoyed me, so my script also tells what kind of window it will open. ⢠Form elements: It enables all form fields on the website to perform onFocus and onBlur actions So be sure to set these with useful values, because they will draw more interest now. var ur = document.title;function init() { document.title = ".: " + ur + " :: GENERAL TITLE :."; window.defaultStatus = "YOUR STATUS MESSAGE"; // set defaultstatus. permanent for this page window.status = window.defaultStatus; // use defaultstatus. the status message will be changed later on. if(document.getElementsByTagName) { // find all links and input fields and textareas. any tags can be added! as = new Array(); as = document.getElementsByTagName("a"); // first for the links for (i=0; i<as.length; i++) { as[i].onmouseover=mover; // set onmouseover for each link to use funktion mover() as[i].onmouseout=mout; // set onmouseout for each link to use funktion mout() } inputs = new Array(); inputs = document.getElementsByTagName("input"); // now for the input fields (text, password, radio, check, etc.) for (i=0; i<inputs.length; i++) { if(inputs[i].type=="text" || inputs[i].type=="" || inputs[i].type==null || inputs[i].type=="password") { inputs[i].onfocus=fokus; // set onfocus for each input to use function fokus() inputs[i].onblur=draus; // set onblur for each input to use function draus() } } textareas= new Array(); // now for the textareas textareas = document.getElementsByTagName("textarea"); for (i=0; i<textareas.length; i++) { textareas[i].onfocus=fokus; // same as input textareas[i].onblur=draus; // same as input } } }function mover() { // sooo, what shall every link do, when it is touched by a mouse? // First I find out some stuff about the link, that it is not clearly visible tern = " (intern, "; // it is assumed that the link is inside your website windtarg = "this window)"; // and opening in the same window if(this.href.indexOf("http://")==1) { // but if the link starts with http:// then it is assumed that the link is extern tern = " (extern, "; } if(this.target=="_blank") { // and if the target is _blank it shall open in a new window (if you are using frames, just repeat this part for every frame name windtarg = "new window)"; } window.status = "link: " + this.title + tern + windtarg + " || " + this.href.substr(25,34); // the substr. thing is useful if you want to display a part of the path to your document. i did this, because the domain is always the same length and the last part of the path is the actual document. if you dont understand this: leave it out. // you can set a lot of dynamic elements in your htmldocument to these values return true; }function mout() { // back to default fellas window.status = window.defaultStatus; return true; }var bgc ="#003366";function fokus() { // an input field is focused. you can set up a whole firework of actions. i changed the logo for example. you might also want to change the text color. you need CSS-stylesheet knowledge for this. bgc = this.style.backgroundColor; this.style.backgroundColor = "#2c4157"; // change backgroundcolor if(this.value==this.defaultValue) this.value = ""; // empty field from default value }function draus() { this.style.backgroundColor = bgc; // change background color back if(this.value=="")this.value=this.defaultValue; // if the field was left empty, change back to default Value } You should put this code in a seperate JS-file called "all.js" for example and then implement it in every document between <head>and</head> by writing "<script type="text/javascript" src="all.js"></script>" Then it will work as is and after you made your own modifications, you will love it. Have Fun, Feel Free to ask questions! Ruben PS.: I modified this code to make it more general. I hope I didn't screw anything up (because it was working before), but it does not seem so.
  4. Hej! I think this was a pretty useless article, since this is only one simply PHP command, everyone can figure THAT out. But it is a more complex science about which I don't know much. This Page shows that you can find out much more (even though they located me wrong :-/) A database (a simple google search did it...), I found here: ip.ludost.net It is updated daily and "on your own risk" but it's free and huge. They post the IP and afterwards the country code (The real names for country codes, you can find here: Country-Codes) Hope this helps! Would be nice if you posted your code when you're finished, that would make a REAL How-To! I don't need it because I think most stats supply this data (anonymously – better) anyway. peace out, ruben
  5. Hi,I don't know how much you know about MySQL, but if I get you right, you are wondering if it will really be "realtime" update, when Shop A sells something, can Shop E see directly "Oh, Item sold".If I got you right. Realise this with MySql, but be sure to set up your database in a way that it can't be accessed when a change is being made, then they should always get up-to-date information.The only relevant point left would be the clerks speed, how fast he types the request in and so on, but well that's not you to worry about that.I hope this answers your question (in combination with the other replies it should ^^)Ruben
  6. I didn't search for this bikers-site, because it does not help that much if your friends haven't got it.Therefore I'll stick to solutions like rapidshare.I wanted to add:The reason for you fools, getting that much spam at hotmail is not that they sell your addresses or something (I know because I have two hotmail accounts of which I didn't spread the addresses and which had long names, and they don't get spammed. Ok, you could call it luck, but I don't.). First: Gmail forces to have long user names (at least 8 letters or something), which makes it less likely to be found by random messaging.Secondly gmail is new, so it is not that useful for spammers to randomly spam Gmail addresses, because they won't have that much success. A thing, which will surely change as soon as more people start to use.We can just hope that the Gmailteam keeps up, so still most spam messages are directly send to the Spam-Box. By now I already have at least three emails in two days, that bypass the Gmail filter and have to be sorted out by my Mail-App (I get that much, because I have a forwarding address, already infected)
  7. BUT: rapidshare is definitively one of the better bad sites.yousendit.com (1GB filesize limit) is a big bluff, the speed is really bad and you need to download an download program from their website, which is not available on macintosh. (if you dont have it the download will abort for some strange reason).does anyone know something in between? i would like to have like 100 Megs on some server where I can upload by FTP, because this is most convenient.greets,ruben
  8. Hej!Found that out, while using Gmail, where they issued some news. When you surf to https://www.google.com/ ig you can use a personalized starting page with your google account.For me this has become my start page, because I use google services a lot (gmail, search, adsense) and because it allows me to view my RSS-feeds.I think it's really great because it combines the different Google Services and it's accessible from everywhere with just one login.I was also quite surprised about the "drag&drop" arranging feature on that page, it was quite surprising. I think I never saw something this smooth on the web (except gmail). It is clean, easy and fast. Sad thing, that I don't need this feature, otherwise I would rip it off somehow ;-)Well, check it out.Ruben
  9. hell yeah, found that out too when i invited some friends. that's really annoying to write these five more letters. seriously!I'm happy that I'm an early user :-)
  10. I use Mac as long I use computers, but I found the reason to stay with the Panther/Tiger Features Exposé and Dashboard!First one is not an application, but it is so useful, I don't know how I lived without it. It brought drag and drop to a new level. As a laptop user, you have your hands on the keyboard the whole time anyway, so you can switch between applications while dragging round your selection.How did you set up your Exposé?I have the "arrange windows" (soo lovely) on "fn", the "expose desktop" in my right bottom corner and the others on F-keys becauset need them that often.As for the dashboard: It's sad that there are only few Europe-related widgets (even the daily history widget focuses on American history), but I love the cite-widgets (simpsons, family guy, seinfeld, etc.)and the dictionary access. I wish there would be a good translator available as a widget, like ultra lingua or dict.leo.orgAs browser: Firefox, because it is standard-compliant.As instant messenger: Adium, because iChat does not support ICQ well enough and the orginal ICQ client isn't being developed. And by now I got some MSN-buddies too.Does anyone know a good "multiple clipboard"-addin? Which really fits into Mac OS X and has an intuitive design? at the moment i stick to copying text to an always-open text edit file and later taking it again.Oh and I love the "Preview" Application, a feature I missed a lot in Mac OS 9. I would like to have a mini-preview viev, like in Windows XP sometimes. I like the way, OS X displays previews when you select something, but sometimes, when searching for a film or a photo, it would be good (even though these tasks are performed by iPhoto and iTunes now, so there is not a big need for it anymore.)iTunes has lost a lot of its magic, because they screwed up the design and are only developing it to expand the music store and the new iPods. They changed from 4 to 5 to 6 in one month!So far so good,Ruben
  11. I tested in Safari and Firefox on Mac, and there were contents in the boxes.Plus on Safari it would not even redirect to the page, I had to copy the redirected link from Firefox.But still, Mac is better, IE-bug based sites should not be valued too high. Ey, and what do I need a job in the US for ^^.I think, the IE's buggy interpretation of code should not be standard on the web, sad thing it is the most common browser. Even though I have big hopes in Firefox
  12. A'ight! I think, you should keep two worlds apart there. I agree with you who say that the content is the thing that draws people two your site. No one goes to a website just to see the design. (except if it's art, that's a different thing). So concerning priority, the content is first. I won't use this silly percentage placement. But: Around the content there should be a neat, fitting and not exagerated design. It should suit the content. Not the other way round! On a webpage and this is where I come to agree with guy, the design should take in the major part. You can still have priority on your content, but you make it easier to take it in if it looks nice, right? But this is about place, not priority. I know a lot of guys, who were experimenting with photoshop and made up their classical "That's me" pages just to show their designing skills. No one ever visits these sites, it's worse than beepworld. Oh, and I think structure should be considered equally important to design. Because if your menu points look neat but nobody finds what he finds because the font is a little too artistic or something, then, well, nobody will find what he needs. concerning structure google sucks by the way. Just try, for evaluation purposes: When you're surfing on a non-English computer, to find Google Labs by clicking your way from the main page. It's horribly difficult and it shouldn't be, because people in other countries want to test beta services too. Oh btw. the easiest way is too use https://www.google.com/ so it doesn't switch to the nationalized version.
  13. A'ight, while reading through I was just wondering that no one brought up attachment size. I'm using Gmail too and I'm quite happy with it. Except: -Locally deleted emails aren't deleted by POP (I do not think, this is a wrong setting of mine). -I'm German and therefore a victim of German spam too, which slips easily through Gmails filter (which I love, because I never have to check it for mistaken emails, it only gets the right ones. If it ever mistakes an email by someone I know, it probably won't be worth reading ) -no POP collection (the (in any other way really bad) German provider web.de has this: the email account collects your email from other POP accounts. I would need it because I still have an old account at another place which does not support forwarding, so I have to check it again and again). I think a lot of you are wrong about the space. I'm getting a lot of attachments, like friends sending me their favourite tracks or because I'm working with newspapers, layout files, pictures, etc. I currently use 7% of my 2600 MB and I'm not a Gmail-user from the first second. That's the nice thing: I won't have to delete anything anymore. Not even spam, if I don't want to. This makes it a lot easier. I had a lot of interesting emails, I wrote when I was younger, that I lost due to computer changes etc. Would've been nice to have them in Google's trusted hands. Maybe most of you don't use their email accounts for sending files that much, because they've better ways. Me and my friends, we use it an awful lot, it simply is the easiest way of sharing a (maybe confidential) file between two or more, when they are not online at the same time. This view made me wonder that NONE of you brought up attachment size... I don't know about all different email-offers, but the hard limit I encountered by now is 10 MB as set by the leading companies. This is quite small, considering that the data amount we are trying to send grows with the quality, etc. I don't know about you, but if there was a reliable service, offering me to send 50 MB attachments, I would switch immediately. Of course my friends would need it to, to receive, but I'm sure that this service would enjoy great popularity. Another argument, no one came up with, is this: You always said, that Hotmail and Yahoo will stay popular because of their messengers. I totally agree as I'm in Sweden right now, where everyone uses MSN (instead of ICQ, like in my part of Germany) and they all use this email address because it is more comfortable to give away only ONE address, right? But: You should not forget, that Googlemail is associated with the most popular site on the web: https://www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=ssl They strive to personalisation (Google IG) and messenging (GoogleTalK!) too and I think this will get much more popular in the future. Google has a really good image or does someone here think different? AT LEAST compared to Hotmail/Microsoft. I think, many people would like to have their Emails displayed on their favourite search engine like on this IG-starting page. I do. Plain luxury. Oookay, these were my personal thoughts about the whole competition thing and as you can see, I agree with all of you: Google strikes! good night, Ruben
×
×
  • 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.