-
Content Count
419 -
Joined
-
Last visited
-
Days Won
1
Everything posted by matak
-
I really liked your design so i think this could help... <html><head><title>Try This</title><style type="text/css">body { margin: 0; padding: 0;}#wrapper { width: 600px; height: 400px; background: url(img/header.jpg); display: compact;}#menu { float: left; display: inline; margin-left: 150px;}#menu_1 { width: 150px; height: 400px; border: 1px solid #000;}#content { float: left; display: inline;}#content_1 { width: 290px; border: 2px solid blue;}</style></head><body><div id="wrapper"><div id="menu"><div id="menu_1">Leave this transparent</div></div><div id="content"><div id="content_1">Here goes content</div></div></div></body></html> Here is the demo! Now you have to be careful when changing those widths, your sum must be a bit smaller than image size... Hope you understand this code, if you don't feel free to ask Oh and, any further divs you must place in those marked as _1..
-
Yes, I know!! I just figured it out yesterday. I knew that it is possible, but i didn't realize it would be this easy. Of course, for now i'm just going to stick by echo-ing html code when clicking hyperlinks, but now i understand the real power of PHP (or any other program). I just didn't know that it works that way, i always thought that i would need to make some powerfull function to do such a thing. With understanding of this, really simple thing i can get to programing smart and fun functions by the way. I'm not saying that is easier, just it's more fun. My worst problem is that i'm messy when saving and testing files, and i lose code all the time. You always have that feeling that it could be done better, more neat and simple. Not always is that true but i guess now that i learned this basic principle that i am going to be more neat when arranging files. Currently I'm developing template Made in pure CSS without IE Hacks, simple but functional, it's almost done. I even made small tut about it so i'll post it. Although it changed a bit from start, beacouse in half of making that tut i learned great thing about CSS so It's really simple but functional code. Also some of you mention database, yes it is great thing but i just don't feel i'm ready for storing data into tables 'couse i haven't learned that much yet. After almost 5 months wrestling with HTML, CSS, and some PHP finally i learned something worth mentioning. I just hope that rest of the stuff isn't going to be that hard, and that this great support on Xisto is going to be that great if not even better if that is even possible. Have fun coding, i know i am!!
-
You don't even need to use positioning for that site... Cut your picture in two parts, and use one for content background and one for header background Try making divs like this <div id="wrapper"> <!-- OPtional><div id="header> </div><div id="navigation> </div><div id="content> </div></div>Try making styles like this #wrapper { i won't comment this div}but using just this divs like.. #header { margin-left: 100px; background: url(your_image) or just widht: (your image width)#navigation { margin-left: 100+yourimagewidth}#content { margin-left: 100+yourimagewidth+yournavigationwidth background: url (other part of image) center left no-repeat}i think that should work.. wrapper comment.. you could plobably use margin-left, and margin-right: auto to align it to center, then you wouldn't need that first margin-left: 100, but IE couses conflicts when using that auto.. i dunno why, ask bill gates
-
You can download this working template to see how it is structured. Every template MUST be structured like that, and then compressed into file. You don't need FTP do upload template. Go to joomla administration installers --> templates - site, there you browse to that zippy you downloaded to your computer, and click install (or ok i don't remember) Only conflict that can occur is that you can't install it beacouse you don't have permission to install to TEMPLATES folder. templates folder is located in joomla installation folder, go to cpanel, file manager find that folder and change permissions to 777. For security reasons later when you install template you can change permissions as they were.. There is a post Here, on joomla template design (links are broken), but maybe it can help.
-
OT Question, problem is solved before this post Thanks for those security tips, i was just about to ask that question but you beat me with answer.. Oh well few credits less So what is the proper way to arrange files so that you don't get into trouble and conflicts later. Is it the same to put all of the content in one content.inc.php file, or is it better to make separate file for each categorie you have on site [EXAMPLE:] If i have News, which display in my index, and than maybe Stories which display on href=stories. Is it better way to store variables in same file, beacouse some of them are going to be displayed on both links so that i don't need to copy/paste them in two separate files. [/EXAMPLE] I feel that I'm getting a bit closer to understanding the proper way to build small custom CMS system, so i wouldn't want to go in wrong direction with directory and file structure. And good tut's about that, or do you arrange structures based on your feeling (like after Format C: )
-
user wakeupcall mad loginscript when helping me in my project.. here download zip file.. i think he wouldn't mind http://forums.xisto.com/no_longer_exists/
-
So basicly you wanna say that if i included my details.txt anywhere in page with this <?php include("details.txt");?>which contains string $detailsabout, and $detailsabout1 that i can call them separatly with <a href> Does that mean that all of this time i've been doing it wrong?! I thought when file was included that it shows just the files name, i didn't know that that file can contain variables that can be shown separatly on click.. well, this makes more sense now. thanks, i'm going to try something and if it works i'm just gonna be massively happy! Thanks Sorry for not searching, i just don't know how to search for this question, beacouse something like this is hard to explain and even harder to ask at second hand, i probably read this answer million times before but it makes sense only when you get to the point when it can make sense. I hope you understand and don't mind for asking something that's been asked for houndered time...
-
I learned the way to load other files with the code posted on this forum. Now i wanted to try something for my side menu. I am calling this a string, --> $tekst , maybe it's called something else i'm not sure Now let's say i have a file called details.txt In that file i would like to have something like this $detailsaboutphp1 = ("details details details 1"); $detailsaboutphp2 = ("details details details and even more details 2"); How to make a code that loads those $strings on click of a mouse. [REMINDER:] When we tried to load external file we used this: <?phpif ( !isset($_REQUEST['content']) ) { $content = "home"; $menulhome="menulhome"; $menurhome="menurhome";}else { $content = $_REQUEST['content']; }?> Than we included other files with a href <a href="index.php?content=details">Details</a> For loading details.xxx in place where we placed this code <div><?php include("$content.xxx");?></div> [/END OF REMINDER] All i need now is a way for that Details to load other $string that is defined in text file.. Thank you
-
Free Energy ok is free energy possible? see what you think
matak replied to nutsnvolks's topic in Science and Technology
Why don't you try it. You can talk and think it is possible, but try to make something like that...If you are into that free energy than you need to start testing your ideas and inventions, as communitykat adviced you.Don't be discouraged by us making your ideas worthless. go to local hardware store buy battery, dynamo, pull and try to make it yourself..Maybe, and who nows maybe you just might invent something.Also check out some basic formulas for electricity and how it goes. Using parallel or serial connections of batteries, try to find pullies with as less fraction as possible.If you make 2V from 1.5V battery you will be famous, and rich of course. Just think it through, and be smart.also you might check out jutube for videos of perpetual motion devices. There is some really fun(ny) devices there, so don't feel alone in your try to make free energy... -
Free Energy ok is free energy possible? see what you think
matak replied to nutsnvolks's topic in Science and Technology
You should try do drive a bicycle... -
Found This Interesting, Blind People Cannot See Dreams
matak replied to Saint_Michael's topic in General Discussion
I agree with these assumptions, couse it is logical if you ever saw anything, and then lost your vision you will still always remember the colors, even more to that i belive like said that there is a "minds eye", and that nerves don't impact on dreams, couse they are not connected in that direct way. Most simple thing is that how do you dream, and do you really "see" in a dream! You only visualize, and feel that you are somewhere but you don't actually see it. Basicly we enjoy in our dreams only beacouse of our senses belive that we are enjoying. Just like when you are reading a good book (i cant make analogy with movies ), you read but visualize that what you are reading. And when you feel wall, a face you don't need a colour to tell you is the wall cold or warm, is it wood or concrete, you don't need to see someones face to realize is the face beautiful or not. Your mind sees it as it is, as you feel it. and dreams are all just feelings so you don't need to be blind in order to see -
If a parent lives to see his child take his own life it his a horrible thing.. If a child lives to that his parent takes his own life it is something even worse, for the psyche of that child. For someone who tries to end his life, and fails punishment is not the answer. That can't be a crime! Only crime is the crime of our society that leads someone to that decision.At the peak of our glorious race, when technology, standards and kulture reach it's highest levels throughout the whole history of human kind certain individuals are driven to that mad act. You, me or anybody can't be the judge of other one's psyche! All of this fast life that drives people to accumulation of richness and wealth, making them feel "I want more, i want more", and even when they get that more it isn't enough.Some people are just left behind.Remember yourself seeing a sad face of person sitting alone in the park, his eyes glazing into emptiness of his surroundings, how did you react?Did you maybe approach that person and asked her the problem, or did you just look the other way!It is easy to judge, and talk about knowing better. But sometimes just smile, one single, small, sencier smile can mean more than whole books, schools and meanings of this whole life together.Remember to smile, and not to judge. Try to feel the pain of your neighbour and embrace it. Try to help and live with it, try to give it a meaning.Suicide is not the answer, life is.
-
I'm sorry, really but.. Just to confirm this, i've never seen these kind of ads on Xisto!
-
My Site Idea (already done by other people)
matak replied to matak's topic in Science and Technology
well i guess i've really been living in past!basically all of those ideas i was trying to make are already done. i really didn't know that.. so practically the only thing that is left for me to do is that house part.all other mods are availliable under different licences and that's fine by me.development of this is going to last for aprox 2 years, so bear with me..happy surfing, and best wishes in new year -
Nice power unit.. The more Wat's the merrier :PNice PC, would like to have that CPU, and Graphics!Buy TwoSame HardDrives and connect them in RAID. That thing is awsome :zooooom:
-
Trap17 hosting is sooo greater than others that soon i'll host few sites for my friends (who don't speak english so good) but are interested in web design!!Thank you Xisto for this great opportunity!!!This is for sure the best free hosting system that I ever came up on the internet!!Keep up the good work, keep up this great forum, and never ever ever shut down!!
-
What Kind Of Script Do You Need ? post here and get free script
matak replied to farsiscript's topic in Programming
i need php or java whatever script that makes this site http://forums.xisto.com/no_longer_exists/ react to when someone clicks on one of the chairs (babies), so that other user who comes to the site can immediately see which chair is taken... after that it would be a good thing to make some kind of super simple chat for those two users.. And of course let the option that there could be more chairs on site... Thank you -
Php Error .htaccess Solution --Is this good way to solve it--
matak replied to matak's topic in Programming
Yeah!! Xisto has some great members which are always willing to help! I really like that 'bout this site. Not to mention hosting, i wonder which computers and connection do they use, couse it's great and stable hosting! And maybe there should be subforum called "Errors" in which users could report errors when they try to code something, so that it doesn't mess with normal solutions.. But that's just an idea.. After i uploaded this guestbook i found, which works fine now i'm up to installing simple CMS (also found). So be sure i'll post more errors soon -
Php Error .htaccess Solution --Is this good way to solve it--
matak replied to matak's topic in Programming
tried all 3 solutions..sorry yacoby, your 2 still shows errors.jlhaslip solution works, now it doesn't display any errors!!thanks for that! -
I used this piece of code for my "dynamic" menu <?$content = $_REQUEST['content'];if($content == "") {$content = "home";$menur = "menur";}?> Thx to a local Saint around here Ok, when i arranged other stuffz like hrefs and other, as stated in tutorial here, that if function if ($content =="") is necessery for page to load content if server requests just plain index.php Now when i uploaded it HERE it doesn't show errors and works fine, but just beacouse display_errors in php.ini on Xisto hosting is set to Off, on my localhost it displays this error Notice: Undefined index: content in \htdocs\IHB-InternetHouse\index.php on line 2 but loads page normaly.. I tried this solution I created .htaccess file with directory index different DirectoryIndex index.php?content=home&menur=menur index.php index.html where content=home&menur=menur so that server automaticly searches for those pages... Now, a thought came to my mind, as i already set server to request for default home and menur, i deleted these lines from code if($content == "") {$content = "home";$menur = "menur"; And everything is working just fine... I'm asking you PHP Pros is this the right way to solve this "error" or is there a "smarter" way to it...
-
No more:1. Cigarettes2. Alcohol3. Coffe4. Coke---to myself.. ouch...67 hours and counting...
-
Cross Browser Incompatibillity Css How to make this work right...
matak replied to matak's topic in Programming
For now i have arranged it for textbox to have position: absolute; left: 10px; width: 580px; and it looks ok in both browsers. but if somebody could point me to what am i doing wrong, so that i can learn, beacouse i would like to start using percentages instead of pixels, and i need some guidelines.. ok.. Thx anyway -
Ok i found a good tut on Xisto for making "round" textboxes with CSS, and i used it for my new site.. Now i have this situation When you look at My Newsite in Firefox that blue textbox is aligned in center, but in explorer it goes to left of middle div tag.. Argh.. I was really hopping this wouldn't make problems, but i guess i'm just not lucky... And when i just take textbox with margin: auto; it aligns perfectly in both browsers Look Here Now this is the code for first example <html><head><title>Internet House.beta</title><style type="text/css">body { background-color: #000000;}.top { position: static; width: 890px; height: 145px; background-color: #ffffff; display: block;}.header { margin-left: 145px;}.wraper { position: relative; width: 890px; height: 100%; background-color: #ffffff;}.menul { position: absolute; width: 145px; height: 100%; background-color: #333333;}.content { position: absolute; width: 600px; height: 100%; margin-left: 145px; background-color: #cccccc;}.menur { position: absolute; width: 145px; height: 100%; margin-left: 745px; background-color: #333333;}.bottom { position: relative; width: 890px; background-color: #ffffff;}.textarea { margin:10px auto 0 auto; padding:0; width:300px; background:#B4D5ED;}.topleft{ margin:0; padding:0; background:url(topleft.jpg) top left no-repeat;}.topright{ margin:0; padding:0; background:url(topright.jpg) top right no-repeat;}.bottomright{ margin:0; padding:0; background:url(bottomright.jpg) bottom right no-repeat;}.bottomleft{ margin:0; padding:0; background:url(bottomleft.jpg) bottom left no-repeat;}p.text { font:12px/16px verdana, arial, serif; color: #000000; margin:0; padding:10px; text-align:justify; }</style></head><body><div class="top"><div class="header"><img src="img/header.png"></img></div></div><div class="wraper"><div class="menul">Meni Lijevi</div><div class="content">James Webb Young wrote about 40 years ago in his little gem "A technique for producing Ideas": An idea is nothing more nor less than a new combination of old elements.<div class="textarea"><div class="topleft"><div class="topright"><div class="bottomright"><div class="bottomleft"><p class="text">Things in the future have changed dramatically. I bought Canon A40 in year 2002 and took several interesting pictures with it. Later I bought Sony DSC S-75 cause I liked its macro potencial. But I sold it quickly cause it had lot of noise in images and awful white balance. Just before end of year 2003 I bought myself second hand Canon G3 which I am still using. Canon G3 is very good prosumer camera with pleasant results.</p></div><!--bottomleft--></div><!--bottomright--></div><!--topright--></div><!--topleft--></div><!--textarea--></div><div class="menur">Meni Desni</div></div><div class="bottom">Boootooom</div></body></html> How to arrange all of this to work just fine...(don't mind those mising images they are not important) Thank you...
-
just a question to you saint_michael..i saw your tut here about CSS on hover showing some image (but like it's far from link you are hovering), similar that javascript does, but i just can't find it anymore..can you help?!
-
did you register your page on Google? RSS is kinda future of information distribution so probably google finds it more interesting than your website. But who knows why, that's Google