Jump to content

louie

Members
  • Posts

    44
  • Joined

  • Last visited

Everything posted by louie

  1. You can actually post as long as you like as long as it makes sense and is, as you said valuable. I wont disagree with you on that. and you have a good point there. But there would be a lot of people, that would just post for the sake of posting alone, just to increase thier post count. and also just to be noticed.ten thousand post are useless if all of it does not make sense at all. I hope its clear now.Posting==helping. So post all you like. Just make sure it makes sense.
  2. Guys, could you help me with this?I have this habit of trying out multiple background image in a webpage i am creating, seeing if which background image work best with the page. I am creating a function which i could simply add to any webpage that would dynamically change the background once i click on a thumbnail image.Heres how i want it somehow to work:There would be a folder where i would simply add my background-images. These images would then be displayed in thumbnail size on top of the page i am testing. Once i click on an image, it would automatically change the background-image to the image i clicked. Sort of changing background-colors, but only using images instead. And also, i want it to be automatically displaying images i added/removed from the background images folder. Meaning, i dont have to edit the code anymore, i would just simply add new or delete some images, and the function will only show images available in the folder.And heres how i did it.I used two files. list.txt and index.php.Firstly, everytime a user opens index.php a switch function is written to the text file similar to this: switch ($x){case 'bg001.jpg':echo'<body background=bg/bg001.jpg ></body>';break;case 'bg002.jpg':echo'<body background=bg/bg002.jpg ></body>';break;} The list.txt is re-written everytime the page is refreshed.Then i would include list.txt in index.phpafter that, the function would automatically echo links for the images similar to this: <a href=index.php?link=bg001.jpg><img width=20 height=20 border=0 src=bg/bg001.jpg></a><a href=index.php?link=bg002.jpg><img width=20 height=20 border=0 src=bg/bg002.jpg></a> So everytime i click on the link the background image changed to the image i clicked/selected.It worked fine. but how can i eliminate list.txt? I am apparently new/beginner to php. I'm still learning it. please be nice. Is there something wrong with how i wrote the code?
  3. i'd play it safe and join the majority ---> .php
  4. louie

    PHP forum code

    Uhm, maybe you should just sign-up in a website that offers FREE forums. I think that there are a bunch out there. You dont need to install/download anything. They set it up for you. In a few clicks, you can have your own forum. I figured, that even if you got your code, you still have to upload it on a webhost and you need to buy a domain for it. It will cost you some money.But if you already have a webhost/domain, you could/should check its features if it has preinstalled forums. If your using CPANEL, you can see this in fantastico. installation is very easy. Otherwise, try contacting the support team of your webhosting company and inquire about this.Hope it helps.
  5. A lot of questions asked here in this forum can be answered simply by reading the tutorials, and most often what people are asking are actually examples in the w3school main website. Some questions are even extremely similar, but yet people ask the same questions all over again.That "please-read-the-tutorial-first" message pinned at every forum apparently DOES NOT work.I firmly believe that this forum is created to answer questions that the w3schools main website does not answer.I do not have a solution for this. But this would just serve as a precaution. Because basically when this forum grows. Then a lot new topics will be started.Then probably, we will be reading a bunch of repetitive questions being asked all over and over and over again.And please forum members, please dont post for the sake of increasing your post count. Post for the sake of answering questions being asked.And if you wish to promote your website here, we cant/wont stop you with it, but please do it in an ETHICAL way. There is no excuse for not having any manners/ethics.And lastly, this forum, in my humble opinion, is used for answering questions (or some code snippets) not for asking for full/complete scripts.This is just my opinion. You might think i'm wrong, but really i think i am right with this one. You just have to agree with me here.
  6. I would rather be quite than talk something i know little about.
  7. louie

    FLASH Versus HTML

    Well, i have to agree with you there.
  8. louie

    HTML to Text

    ...or if you have already downloaded the webpages, you can install a "Tag remover" software. It removes everything in the page related to HTML.
  9. louie

    .hta access

    i already hav apache installed. im asking if there are other ways... (aside from installing XAMPP)
  10. louie

    doubt

    uhm... firstly, maybe you should use css for setting background in a page <style type="text/css">body{ background-image: url(background.gif); background-color: #000000;background-repeat: no-repeat}</style> Put that code between <head></head> or you can put it in an external css file.The background-color property will serve as the fail safe if ever ur background image fails to load. it is advisable to do this. trust me.The background repeat property will let you specify how the background image will be repeated. here we set it to no-repeat meaning the background will not be repeated or tiled whatsoever. If your asking how to make a small background go big or increase its size, for example make a 50x50 px background appear in the screen like it was 800x600 px then i dont think it is possible. There is no property for setting background width and height.The most that you can do is use a larger image.To read more about backgrounds click this ---> http://www.w3schools.com/css/css_background.aspHope it helps!
  11. louie

    .hta access

    Is there another way?
  12. louie

    PHP scripts and software!!

    Where do you want to use this login script for? If you wanna use it for a forum / blog / cms. i think its prebulit when you download the application/software. Read the manual. But if your creating something totally different and original, then you need to study the required languages/scripts for it. Login scripts must be secure and must be well coded, yah know! and i think the process of coding it is fairly complex.
  13. louie

    .hta access

    I pretty much know how to play with .ht access in my online webhost. But the thing is, i wanna make it work in my own apache server in my hard drive offline. I dont really know how to do this for it is only a file extension, and windows requires a file name. Will it work in my offline localhost? havent tried it yet. help.
  14. There is a printer friendly page of each tutorial. scroll down below. you will find it there. The one with the printer icon. I dnt think there is a downloadable PDF version of the tutorials, though.
  15. louie

    Protecting CSS files

    i think somehow i found what im looking for. http://www.rlrouse.com/html-encryptor.htmlIt uses javascript. And you can encript not just css... They can still view/save the css file but in an encripted format and i dnt really think they can edit it that easily because they have to decrypt it first. But maybe there is still a downside.there is also an offline version for it.Tell me what you guys think.
  16. louie

    Protecting CSS files

    I dnt see anything on the page. i viewed the source. it only has <HTML></HTML>uhm... is that it? or am i missing something here?
  17. I've been there... here's how i did it.1. Empty all files in "temporary internet files" folder.2. Click every link/page you want to save. everytime you click on a page, refresh it to save it in the "temporary internet files" folder.3. Copy all the files in "temporary internet files" folder to wherever folder you want.4. Just replace all the paths to the links using a search&replace software or just do it manualy using notepad's search/replace feature.Or empty "temporary internet files" folder and use this code. <iframe src="http://www.w3schools.com/css/css_intro.asp" >CSS Introduction</iframe><br /><iframe src="http://www.w3schools.com/css/css_syntax.asp" >CSS Syntax</iframe><br /><iframe src="http://www.w3schools.com/css/css_howto.asp" >CSS How To</iframe><br /><iframe src="http://www.w3schools.com/css/css_background.asp" >CSS Background</iframe><br /><iframe src="http://www.w3schools.com/css/css_text.asp" >CSS Text</iframe><br /><iframe src="http://www.w3schools.com/css/css_font.asp" >CSS Font</iframe><br /><iframe src="http://www.w3schools.com/css/css_border.asp" >CSS Border</iframe><br /><iframe src="http://www.w3schools.com/css/css_margin.asp" >CSS Margin</iframe><br /><iframe src="http://www.w3schools.com/css/css_padding.asp" >CSS Padding</iframe><br /><iframe src="http://www.w3schools.com/css/css_list.asp" >CSS List</iframe><br /><br /><b>CSS Advanced</b><br /><iframe src="http://www.w3schools.com/css/css_dimension.asp" >CSS Dimension</iframe><br /><iframe src="http://www.w3schools.com/css/css_classification.asp" >CSS Classification</iframe><br /><iframe src="http://www.w3schools.com/css/css_positioning.asp" >CSS Positioning</iframe><br /><iframe src="http://www.w3schools.com/css/css_pseudo_classes.asp" >CSS Pseudo-class</iframe><br /><iframe src="http://www.w3schools.com/css/css_pseudo_elements.asp" >CSS Pseudo-element</iframe><br /><iframe src="http://www.w3schools.com/css/css_mediatypes.asp" >CSS Media Types</iframe><br /><br /><b>References</b><br /><iframe src="http://www.w3schools.com/css/css_reference.asp" >CSS2 Reference</iframe><br /><iframe src="http://www.w3schools.com/css/css_ref_print.asp" >CSS2 Print</iframe><br /><iframe src="http://www.w3schools.com/css/css_ref_aural.asp" >CSS2 Aural</iframe><br /><iframe src="http://www.w3schools.com/css/css_units.asp" >CSS Units</iframe><br /><iframe src="http://www.w3schools.com/css/css_colors.asp" >CSS Colors</iframe><br /><iframe src="http://www.w3schools.com/css/css_colorsfull.asp" >CSS Colorvalues</iframe><br /><iframe src="http://www.w3schools.com/css/css_colornames.asp" >CSS Colornames</iframe><br /> after all the pages have loaded, copy all the files in the "temporary internet files" folder to anywhere you like. just change the paths though.if you want to save printer friendly pages, just replace ".asp" with .asp?output=printI hope you get the idea. or if not you can always use a website downloader software.
  18. which one would you like to happen?OPTION 1:turn VVVVV to:VVVVVOPTION 2: turn VVVVV to: (rotate it 90 degrees!)>>>>>okies, if its option 1 then you can really do something about it. you can add a <br />to each letter just like what Bjørnar said.If its option 2, then there's no way of doing it in HTML, maybe javascript? i dnt know, but in html and css its really impossible. What you can do is create a graphic and make it look like a plain text that has been rotated. And maybe try to create your site offline in notepad... and later upload it to your server.
  19. Contact the support team your web hosting company. Try to ask nicely if they could install it for you. Or you can try reading the user manual of whatever it is your trying to install. I dont really think that you should really study the whole program/software/application if you just wanna install it.
  20. Yep I agree! HTML is more like a pre-requisite in PHP. If you wanna be good at PHP, then first try mastering html first. i think it would be better if you do it that way than the other way around. And perhaps you can also start studying graphic art to make your website look great and unique! And if you do have questions, problems etc. There are a lot of good coders here in this forum that will definitely help you. If i were you i'd already be bookmarking w3schools. People here replies faster than people in other web building forums.
  21. okies. i'll try to work with the switch statement. see if it will work fine for me.
  22. i get the idea... i really appreciate the help. but one thing more... what if i only use one page? and added 3 links at the top of each page for stylesheet switching? then after i click on the link the page would simply reload itself including the new stylesheet. hope im not asking too much. but thank you!
  23. louie

    starting out

    There's nothing else you should do. Just ask questions if you have one. You dont really learn HTML overnight... Maybe you should practice more. and really if you wanna be good at this you have got to have the passion for it. Otherwise it will just bore you. Study the tags and its attributes. Use these tags often everytime you creata an html page. Start creating simple websites then more complex ones. Stop using WYSIWYG editors like frontpage. use notepad instead. It's purely hands-on coding, unlike the WYSISYG editors where they actually write the HTML code for you.Even if you're albert einstein, for sure you will memorize all the tags, the description of each, its corresponding attributes, etc... but really, that doesnt make you an HTML coder at all. You need to apply what you learn. and the best way to do it is simply (as what most people will always tell you) practice.
  24. APACHE + PHP + MySQL (amp)A very powerfull combination. and best of all, its free.
  25. You can add it probably on the "Add-music-and-video..." text area. Paste the code there.I havent seen/tried the code. i dont know if it will work w/ friendster... but you can try it though...as of this posting friendster only allows codes and scripts to be inserted between the <body></body> tags... and not in the <head></head> the only thing that you can insert in the head area is your CSS. So basically scripts that need to be in the <head> area to function, will not work on friendster profiles. I dnt know yet if friendster allows (or will allow later!) javascripts to be added to your customized profile. Last time i checked, they wont even allow an iframe tag. but friendster is rapidly changing... you should check it from time to time. Or try emailing the admins there. They do "sometimes" reply.
×
×
  • Create New...