Jump to content

The Praetorian

Members
  • Posts

    333
  • Joined

  • Last visited

Everything posted by The Praetorian

  1. Ah..You are a life saver. I don't have Word 2003, I have WordPerfect, but the process is basically the same and they're off now. Thanks!
  2. Okay, works now. My fault. I just skimmed the top codebox to see where you put the extra stuff, and copied it in instead of copying the whole javascript. Works now though. Thanks Scott!
  3. So, as far as local links are concerned, is there any difference between these two ways of doing it? Is one right and one wrong? Or does it not matter?./folder/folder2/file.jpg/folder/folder2/file.jpg
  4. Hm. That didn't work either. No errors, but the pop-up still didn't have spaces. Also, down at the bottom of the list of required fields was an extra one that just said "undefined".
  5. Here's the php. I realize this isn't the php that matches the javascript I gave above, but this is the shorter one. Everything is the same for this file's javascript except for the name of the form and the listed form elements. <?phpif (isset($_REQUEST['Your Email'])){$YourName = $_REQUEST['Name'];$YourEmail = $_REQUEST['Email'];$YourMessage = $_REQUEST['Message'];mail( "author@tsrealms.com", "Subject: $Email","$Message","From: $Email" );echo "<h1>Thank you for your message! One of the admins should be getting back to you via email within 24 hours.</h1>";}else{echo "<form method='post' action='mail.php' name='mail' onsubmit='return ValidateRequiredFields();'><center><p>* : Required Fields</p><p><b>Name *</b><br /><input type='text' name='Name' size='20' /></p><p><b>Email *</b><br /><input type='text' name='Email' size='20' /></p><p><b>Message *</b><br /><textarea name='Message' rows='15' cols='52'></textarea></p><p><input type='submit' value='Send' /></p></center></form>";}?>
  6. Well, I'd be happy to use one if I could find one I didn't have to pay for.
  7. Not really.As I have it now, when someone tries to hit "send" without filling out required fields, a javascript pop-up displays that tells them which fields they haven't filled out, by listing the name of each fields id. However, for the id's that have more than one word, they display without a space ( CharacterInformation ) in the popup. I want to add a space to how they display. But when I try to add a space in the javascript, it no longer works. Adding a space in the javascript as well as the php also doesn't work.Would it help if I pasted the php I'm using?
  8. I'd thought of that, but that actually takes longer than using find/replace. With that method, I'd have to copy to word, and go back and forth each time I see a word spelled wrong and fix it in conTEXT.
  9. An added problem to that, Justsomeguy, is what do you do if you need to spell check? I write the content for my website in WordPerfect, paste into conTEXT, add the appropriate mark-up, and then I have to go through and do Find/Replace for ' and ". I really do wish there was a way to turn the abnormal " ' off for Word so I wouldn't have to go through that trouble.
  10. I don't know how to use php for required fields... I did a search and the javascript was the first one that I found. It's not that big a deal anyway. I prefer to just have it there for those that have JS on, and for those that don't they won't notice anyway. My question still stands though. Is there any way to add the space to the pop-up message without messing up the whole process?
  11. Okay that won't work. It might work for the Javascript, but it won't work for the php. The code I'm using to send the emails won't allow for spaces in the names of the form fields. And if I put spaces in the javascript but not in the php names, then it doesn't work...
  12. Hi. I'm using a php form, along with javascript for the required fields. I'm just wondering if anyone knows how I can add spaces in the pop-up message? Will just putting in spaces work? Can I put in ? Or is there another method?The formThe javascript
  13. This is an old topic, actually. I moved the script to external, and it validated fine.
  14. Actually I think it's fine the way it is, for now. If Tables ever become depricated, then I'll worry about it. The main reason I wanted to change was so I would know better how to change the widths and stuff to be compatible with smaller resolutions, but for now, I don't honestly care.Although it is frustrating me that IE continually ignores the widths I'm putting for my table..
  15. 20-30 pages.I would try what he suggested, but the thing is I'm not really sure how to code something that would act the same as a table would. I don't know enough about them. Will a div react the same way as a table with two elements inside it, one aligned right and one left? Will it turn them into columns?
  16. Screw it. I'm not going through all the pain and trouble of trying to code my website for people who probably aren't even interested in the content. I can pretty much guarantee that anyone interested in the content of my website will be using a high enough resolution to see the website the way it's meant to be seen. If I ever do anything professional, I'll be sure to do it the right way, but for now, it's just not worth the trouble.</rant>
  17. Okay, as I said before, my problem is that IE is ignoring any changes I make to my width attributes. This has been tested on two different computers. I've tried px and %, in both css and in the table element itself. IE doesn't change. At all...Obviously this must be something to do with the code I'm using, or the way the person who made this page used them, I just can't figure out what. It's not my image, because I have it set to width:100%, so it should shrink as the table does. The other two elements within the table are both set to %'s, so they should be shrinking as well. I just can't make heads or tails of why the table isn't changing in IE. It changes in FF, but IE has ignored everything I've tried so far.
  18. Well, just for a random test, try dropping the .php and change it to html or shtml. Does the page even have any php in it?
  19. Well, for one thing, unless you changed the names, those are different files. Which yes, don't show up on IE.. I'll take a look. I would suggest though, just in case I don't find anything, look at Info-4 and compare it to those other two files. Because the info-4 page works fine in IE.
  20. How... weird. On my computer, using Firefox, opening any of those files just takes me straight to the source code. However, opening them in IE works just fine with the exception of the images... The JavaScript even works... Not really sure what to tell you.I can, however, give you a few random tips about your code. Taking all that style stuff out of the <body> element, and put it in the css either for that page, or in the main css. Same goes for all the background colors you have for the td's. (You may have already thought of that and just haven't done it yet, so if that's the case just ignore that part. ) Also, add this html { min-height: 100%; margin-bottom: 1px;} to your css. On FF and IE at least that will make sure that there's always a scroll bar on the right side of the screen. That way, when people switch between pages with a scroll bar and pages where the content isn't long enough to add one, there won't be any page shifting. It will make the transition smoother.I'll try and think of more if it comes to me.
  21. So here's the deal. The person who built my current website template used tables, which I'm only vaguely familiar with. Now, I don't really like tables. I prefer to use more current methods. However.. I have no idea how to convert my website to something else without screwing up the way it looks.Here's my question.If I replace all the table, tr, and td tags with the appropriate codes, like divs and stuff, can I move the styling code in their elements (border width, colspan, and so forth) into css? And will it still work the same?If not, then I'm going to need some serious help converting my website..
  22. I still don't understand why the menu is smaller on Safari.. Does Safari read units differently? I'm using %'s for the width of the menu and main content, and px for the width of the table they're in...I know it's possible to have alternate css for IE... Is that possible to do for Safari too?
  23. The Firefox one is exactly how it's supposed to look, actually. (Not sure what you mean about the header heights.)Thanks, though. Now at least I know Safari hates something about my website. If you ( or anyone else ) gets a chance, can you see if that happens with any other pages? Or if it's just the dictionary page... If it's just that page it's possible it might be something I changed about the expanding blocks, or it could be the javascript.Thanks.
  24. That would be great, except it's not a workable test. The problem didn't appear until one of the collapsed blocks was expanded.Although I can see just from using the screen shot that the menu width is already off on Safari. Still need someone who can help me figure out why...
  25. I would really appreciate if someone with Safari could take a look at my website. This page specifically. I looked at it on my girlfriends Mac and the menu widths were doing weird things when the expandables were opened.I was just hoping someone with Safari could take a look at it and see if the problem is still there. And if so, help me figure out what's making that happen. Thanks in advance!
×
×
  • Create New...