Jump to content

mikk809h

Members
  • Posts

    26
  • Joined

  • Last visited

mikk809h's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. And since i cannot edit my previous post, then: It does show the text... it just doesnt fade in, after the background ( it fades in at the same time )
  2. Well.. Somehow it doesnt fade in that text. i think its because im placing the display: none; wrong... @font-face { font-family: Comfortaa; src: url('Fonts/Comfortaa/Comfortaa-Regular.ttf'); font-weight: normal; } @font-face { font-family: Comfortaa; src: url('Fonts/Comfortaa/Comfortaa-Light.ttf'); font-weight: 300; } @font-face { font-family: Comfortaa; src: url('Fonts/Comfortaa/Comfortaa-Bold.ttf'); font-weight: bold; } html { height: 100%; } body, html{ z-index: 10; padding: 0; margin: 0; font-family: Comfortaa, Verdana, Arial, sans-serif; min-height: 100%; transition: background-color 1s; background: #1a1a1a; color: #1a1a1a; min-height: 380px; } .container { -webkit-transition: color 2s, display 2s; transition: color 2s, display 2s; display: inline; } .first { color: white; font-size: 200px; line-height: 200px; margin-top: -100px; position: absolute; text-align: center; width: 100%; top: 35%; } .second { color: white; font-size: 30px; line-height: 200px; margin-top: -100px; position: absolute; text-align: center; width: 100%; top: 50%; } .third { color: white; font-size: 30px; line-height: 200px; margin-top: -100px; position: absolute; text-align: center; width: 100%; top: 55%; } index.php <html> <head> <title> MikkOS </title> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <!--<div id="background">--> <!--<script type="text/javascript"> $(window).ready(function() { $('#background').fadeIn(1024); }); </script>--> <!--<div class="HeadText">--> <div class="container"> <div class="first"> Hello </div> <div class="second"> Mikkel Andersen </div> <div class="third"> Odense, Denmark </div> </div> <!--</div>--> <!--</div>--> </body> </html> Thanks in Advance
  3. Well. What i want is that Whenever i load the page, no text is displayed, then when backgroundcolor-transition has finished, it slowly fades in the text (with white color) im in a bit of hurry, so i'll be back in a moment or so
  4. Okay, Thanks for your answer, I found the font and got it onto my web. Now i have a weird transition problem, which makes the text disappear after a 2s transition. html { height: 100%; } body, html{ padding: 0; margin: 0; font-family: Comfortaa, Verdana, Arial, sans-serif; min-height: 100%; transition: background-color 1s, color 1s; /* This works fine and smoothly! */ background: #1a1a1a; color: white; min-height: 380px; } .container { opacity: 0; -webkit-transition: opacity 2s; /* This seems to make the image first appear, then it "looks" like the opacity is getting lower, so its invisible */ transition: opacity 2s; } .first { font-size: 200px; line-height: 200px; margin-top: -100px; position: absolute; text-align: center; width: 100%; opacity: 1; /*This should make the text fully visible... */ top: 35%; } And here's some pics: Hmm.. Is this a cause of my Css style code?
  5. Hello everyone. I've for some time thought about how it was possible to make a webpage fadeinto a background color, when the page has been visited. If i for example refresh this page, it should not start with a light background, until i visit the page in a new tab. I have a example here: http://olivercooper.me/ Notice the fading effect, only occurs once. ( even if you refresh its still not fading from white-dark ) I've heard that this requires JQuery, or JavaScript, to make it fade, when the site is visited. Do you have any ideas how this might be possible? And just to ask stupid: Does anyone know what that "Hello" font is? Best regards, ~Mikk809h Edit: Why did this post just get multiplied? I only posted this once? Can anyone please remove the others? Thanks in advance
  6. EDIT: I actually found the solution to the file listening... But i dont think it works very well... For example I have a file called test.lua in System/Apis/test.lua The array noticed that as [uploads/1] => "Uploads/1"; Why?
  7. Heres my code... Read comments on right side. Thats my code... ( of course without passwords and all that stuffz.. ) I have no idea why this part doesnt work as i wanted. foreach($fileinfos as $pathname => $fileinfo) { if (!$fileinfo->isFile()) continue; $realPath = $uploadsPath . $SessionCount . "/" . $pathname; $filee = fopen( $realPath, "r" ) or die("FAILED TO READ FILE!"); $content = fread($filee,filesize($realPath)); fclose($filee); $AllFiles[$pathname] = $content; #This was to put the filepath ( full path ) and the content of the file into the array.. var_dump($pathname); # But it didnt seem to work. } I hope this helps a bit Thanks
  8. Uhhh! Thank you sooo much!.. Thats exactly what caused that! Thanks!
  9. Hello I have a simple question about file handling... Is it possible to list all files in directories / subdirectories, and then read ALL files in those dirs, and put the content of their file into an array? Like this: array: [SomePath/test.php] = "All In this php file is being read by a new smart function!"; [SomePath/Weird/hello.txt = "Hello world. This is me and im just trying to get some help!"; and so on, until no further files exists in that rootdir. All my attempts went totally crazy and none of them works... therefore i need to ask you for help. Do you have any ideas how to do this? If so, how can I be able to do it? Thanks in Advance, pros
  10. Hello pros. I've been working on a website, and i just figured out that a thing is completely wrong. I am entering the website with: "website.com/something.php?name='Hello/system/root/advance.exe'" but somehow the $_POST['name'] is null... My current php code which just prints that post data: Isnt it possible to use forwardslashes in php? Thanks in Advance
  11. Hmm.. Yeah.. I might look into that. Thanks for your help. Im going to respond, if i get into further trouble
  12. ¨Well Yeah, Sorry for my post being a bit confusing. Im going to explain it again as good as i can. What I need is a "upload.php" file, where i can post http://mysite.com/upload.php?auth=somekey&method=startSession&postdata=&fileName= ... Whenever i post that into the upload.php file, it has to create a new session. ( a new folder with session ID ). Then after the session has begun, I post (multiple) posts, with postdata. Like this: http://mysite.com/upload.php?auth=somekey&method=inSession&postdata=somefilePosted&fileName=testFile Then it creates a file with the fileName, and the postdata inside. After all posts have been completed, im going to post another method http://mysite.com/upload.php?auth=somekey&method=endSession&postdata=&fileName= After all this, the following files've been created ( for my example ) Then inside the testFile: somefilePosted Im sorry for my bad english, and i hope you understand the most of this, so you can help me out Thanks in Advance
  13. Hello Pros... Im trying to create an upload formular, where i can post data and an auth key, to upload files into a folder But i dont know how to make the path different if the path ID already exists... For example: If FILE_1 ( a folder ) exists, then create FILE_2 ( another folder ) instead. How is this possible to do?? Thanks in Advance
  14. Hello I am trying to make a basic website with an Lua emulator, which is going to upload a long string(a file), so it can be processed and uploaded to the web... I have the following code: <?php $postdata=$_POST['POSTDATA'] or "WRONGDATA"; $posttype=$_POST['POSTTYPE'] or "WRONGTYPE"; $postname=$_POST['POSTNAME'] or "WRONGNAME"; /*echo $postdata;*/ $currentPath=$_SERVER['PHP_SELF']; $endPath=$currentPath.'/files/' . $posttype . '/' . $postname; move_uploaded_file($postdata, $endPath); /* but this line wont work with postdata... */ ?> I am uploading a long text with the following command line http://mywebsite.com/dev/upload.php?POSTDATA=allfiledata&POSTTYPE=program&POSTNAME=testprogram Any help ie very appreciated! Thanks in Advance
  15. BUT! i just want to know, what the "array" means... did that then mean that i've posted something wrong, or! and as i said.. do anyone know if this posting method is correct (does i need like an ? after the $key='$key') "key=" .. key .. ", licensekey=" .. computer[pos].key);
×
×
  • Create New...

Important Information

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.