Jump to content

Matt

Members
  • Posts

    21
  • Joined

  • Last visited

Posts posted by Matt

  1. I'm now having serious problems. The whole page is written in PHP, and I really don't know how to read it.I cannot seem to delete the parts I want to delete, the e-mail part of the form, and the two checkboxes, and I also need to move the comment form so it's ABOVE the comments that have been posted.Please help, this is, actually, for once, extremely important.

  2. Well, thanks for reading this, it means you're trying to help!Here's what I need, basically.I have a comments form on a page on my site:http://matt.artemis-fowl.com/comments/comments.phpBut I need to make some serious edits to suit my needs. Please note that I'll be downloading it all and reuploading it to a new server with a different database, I'm testing through this one.I need it to there's no "E-mail" Input Field, and no checkboxes underneith it (There's two, currently, "Notify me of..." and "Hide my e-mail."I figure that bit should be fairly easy. Here's the REALLY hard part.I need it so that the user has exactly 3 minute to enter their comment, and after those three minutes, the comment gets posted and the user gets redirected to a page where they CANNOT post another message, and have no way of simply clicking back to post another.Please help, I know it's really tricky, but please.Thanks again!Matt

  3. You could use server side includes, see php page http://www.w3schools.com/php/php_includes.aspIt can also be done with javascript, see section on using the external script: http://www.w3schools.com/js/js_whereto.aspThe ssi is probably the best way, if you can use php.

    I saved the HTML seperately as a .js file, then put the code on the main page where I wanted it to go (<script type="text/javascript" src="leftbar.js"></script>) but it still isn't coming up, and no, I don't know how to use PHP.Is there anything else I can do?
  4. On the new design for my site, I want to save the navigation bar and the extras bar to two seperate files and link to them from the page, so when I change something on one of the two bars, I can simply edit it inside the single file and have it reproduced across the site. I DON'T want to use frames, so is there anything else I can do?

  5. On my site (Artemis Fowl Confidential) I'm going to add a layout changing feature. It's in frames, so I was wondering if anyone had a piece of code that does the following:- When you click the image, a new full size window comes up with a certain page in it,- The old page exits itself.Has anyone got any code that could do this?Thanks for you help in advance,Matt

  6. I'm re-writing my webpage to conform to XHTML standards, I'm using frames. I've finally finished coding the pages, and am now validating each individual page and frame.This is one of the errors that came up when I tried validating:"Error Line 20 column 5: document type does not allow element "body" here.<body>The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error)."Here is the top code for my website:<!DOCTYPE htmlPUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /><meta name="GENERATOR" content="Microsoft FrontPage 5.0" /><meta name="ProgId" content="FrontPage.Editor.Document" /><title>Artemis Fowl Confidential: The Number One Artemis Fowl Fan Site!</title><base target="main" /><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="menuscript.js"></script></head><body><img class="cent...Now, what on Earth do I change to be rid of this error? Please help me.Regards,Matt

×
×
  • Create New...