Jump to content

Err

Members
  • Posts

    1,009
  • Joined

  • Last visited

Everything posted by Err

  1. I worked for me whenever I used it on a XHTML Transitional DTD page, so I assumed that it would work on all other DTDs.
  2. This should also work also: #page { margin-left: auto; margin-right: auto;} Please note that you need any DTD on your webpages for this to work on IE. Firefox displays this correctly.
  3. you mean like this? html, body { color: red;}h1, h2, h3 { color: blue;}
  4. edit: Whoops, just reread your post... I'm sure you can do that through javascript somehow, I know how you can disable the form when it's pressed though. <script type="text/javascript">function nextbutton(param) { param = document.getElementById(param); param.disabled = true; param.value="Next...";}</script> <form name="input" action="page2.html" onsubmit="nextbutton('next');"><input type="submit" value="Next »" id="next" /></form> You can change what you need too.
  5. I found w3schools on a google search too, I've been using it for refrence a lot, it was not until about 2months ago I asked myself if this place had a fourm, it took me a while to find the link but I found it
  6. Err

    What the heck?

    That sucks. Well I'm staying far away from that editor :S. I use the UltraEdit-32 text editor to edit my code, it has worked wonders for me, I started using it when I found out that notepad was what cavemen used (No offenese there ")
  7. Want to become professional web designer. I've only been really into this for about 1 year now, but I already know a lot of it. I'm acutally currently making 2 sites now, O_O, 1 for family and 1 for a small business, and that experaince is priceless . It's what I want to do beucase I LOVE doing this. Going to take some classes to expand my knoweldge too
  8. That's ture, however it's too time consuming. tables are much easier, call me lazy, but I will save my self some trouble
  9. Err

    Fade-In

    whoa! That works great! good script pollux! I will diffenently use this. the div height doesn't bother me that much, so it's cool
  10. Thanks for the reply, I will post here again once I try it out. Thanks again!
  11. Err

    What the heck?

    xmlns:msxsl="urn:schemas-microsoft-com:xslt" <?xml version="1.0" encoding="utf-16"?> yup. I was also puzzled. Frontpage huh? I never have used that. Though if I ever use a visual editor, I always check my code to make sure it didn't add any funny stuff.
  12. lol, I can say the same about divs w/css as a replacement for tables. Too many problems doing it that way, until the day I can do CSS with my eyes closed, I'm going to stick with tables.
  13. Err

    What the heck?

    This is the first time I've seen code like this in any webpage, does anyone have any info on what it is? <div id="shownav"> <ul> <li xmlns:msxsl="urn:schemas-microsoft-com:xslt"><a href="http://www.g4tv.com/attackoftheshow/index.html" title="Home">Home</a></li> <li xmlns:msxsl="urn:schemas-microsoft-com:xslt"><a href="http://www.g4tv.com/attackoftheshow/videos/index.html" title="Videos">Videos</a></li> <li xmlns:msxsl="urn:schemas-microsoft-com:xslt"><a href="http://www.g4tv.com/attackoftheshow/features/index.html" title="Features">Features</a></li> <li xmlns:msxsl="urn:schemas-microsoft-com:xslt"><a href="http://www.g4tv.com/attackoftheshow/episodes/index.html" title="Episodes">Episodes</a></li> <li id="PageTemplate_objNavigation_ShowNavMore"> <select onChange="MM_jumpMenu('parent',this,0)"> <option>MORE</option> <?xml version="1.0" encoding="utf-16"?><option value="http://www.g4tv.com/attackoftheshow/schedule/index.html" xmlns:msxsl="urn:schemas-microsoft-com:xslt">Schedule</option> <?xml version="1.0" encoding="utf-16"?><option value="http://forums.g4tv.com/categories.cfm?catid=59" xmlns:msxsl="urn:schemas-microsoft-com:xslt">Forums</option> <?xml version="1.0" encoding="utf-16"?><option value="http://www.g4tv.com/newsletters.aspx" xmlns:msxsl="urn:schemas-microsoft-com:xslt">Newsletter</option> <?xml version="1.0" encoding="utf-16"?><option value="http://www.g4tv.com/attackoftheshow/features/50431/Chat_With_Attack_of_the_Show_Staffers.html" xmlns:msxsl="urn:schemas-microsoft-com:xslt">Chat</option> <?xml version="1.0" encoding="utf-16"?><option value="http://www.g4tv.com/attackoftheshow/photo_gallery/277/Our_Beloved_Cast_of_Characters/index.html" xmlns:msxsl="urn:schemas-microsoft-com:xslt">Meet the Staff</option> <?xml version="1.0" encoding="utf-16"?><option value="http://www.g4tv.com/attackoftheshow/features/51231/The_Sarah_Lane_Files.html" xmlns:msxsl="urn:schemas-microsoft-com:xslt">Sarah's Links</option> <?xml version="1.0" encoding="utf-16"?><option value="http://www.g4tv.com/attackoftheshow/features/52051/CONTACT_AOTS.html" xmlns:msxsl="urn:schemas-microsoft-com:xslt">Contact AOTS</option> <?xml version="1.0" encoding="utf-16"?><option value="http://www.g4tv.com/attackoftheshow/features/51537/Free_Play_Friday.html" xmlns:msxsl="urn:schemas-microsoft-com:xslt">Free Play Friday</option> <?xml version="1.0" encoding="utf-16"?><option value="http://www.g4tv.com/attackoftheshow/features/51555/Attack_of_the_Show_Shorts.html" xmlns:msxsl="urn:schemas-microsoft-com:xslt">AOTS Shorts</option> <?xml version="1.0" encoding="utf-16"?><option value="http://www.g4tv.com/attackoftheshow/features/47864/Check_Out_Our_Attack_of_the_Show_Webcams.html" xmlns:msxsl="urn:schemas-microsoft-com:xslt">AOTS Webcams</option> </select></li></ul></div> here is the link where I got this from: http://www.g4tv.com/attackoftheshow/episodes/index.html
  14. Whoops, just re-read your message.You would have to have a CSS like this:CSS: <style type="text/css">.cell1 { height: 20%;}.cell2 { vertical-align: top;}</style> html: <table><tr><td class="cell1">Image-Containing Cell</td><td class="cell2"><h3>title</h3><p>some text i want aligned at the top</p><span>some text i want aligned at the bottom</span></td></tr></table>
  15. Err

    Slide Show

    This site has some really neat slideshow scripts you can use.Moreover you can edit this script to do just what you wanted above. Watch out, most of these codes will not vaildate.
  16. Hello again, I'm having a small problem with javascript here. I found this really neat browser detection script and would like to use it in a cell in one of my webpages, problem is I need to display the full javascript code in that cell in order for it to work, to say the least it would look less then great as I'm also trying to stay xhtml standard compliant, I've already tried to link the javascript file extrenally to that cell, but it doesn't work . I was wondering if some javascript guru can help me display the javascript result in a cell without the need to add the whole code to the cell. If I could I would do this myself, but I can't :)something like:==javascript here=== |¯¯¯¯¯¯¯¯¯¯¯¯||result here ||____________|I hope it's not too much to askhere is the code, any help I can get on this would be great! var detect = navigator.userAgent.toLowerCase();var OS, browser, version, thestring, place;if (checkIt('konqueror')) {browser = "Konqueror";OS = "Linux";} else if (checkIt('safari')) browser = "Safari";else if (checkIt('omniweb')) browser = "OmniWeb";else if (checkIt('k-meleon')) {browser = "K-Meleon";var rv = detect.match(/k-meleon ([\w.]+)/);if (rv) {rv = rv[0];version = rv.substr(3);}}else if (checkIt('opera')) browser = "Opera";else if (checkIt('webtv')) browser = "WebTV";else if (checkIt('icab')) browser = "iCab"else if (checkIt('msie')) browser = "Internet Explorer";else if (!checkIt('compatible')) {browser = "Netscape Navigator"version = detect.charAt(8);if (typeof(navigator.product) != "undefined") {browser = "Mozilla";rv = navigator.userAgent.match(/([Mozilla ]?Fire\w+)\/([\w|\+.]+)/);if (rv) {browser += rv[1];version = rv[2];} else {rv = navigator.userAgent.match(/rv:([\w|\+.]+)/);if (rv) {rv = rv[0];version = rv.substr(3);}}}}else browser = "An unknown browser";if (!version) {version = detect.charAt(place + thestring.length);}var browsername = "";if (browser)browsername += browser;if (version)browsername += " " + version;(browsername) ? document.writeln(browsername) : document.writeln("Unable to detect!");
  17. You can't beat this with a stick: no banner ads, php, perl/cgi-bin, 1 MySQL database, ftp access and a lot more. Yes believe it, it's all free. I have an account here myself, it's amazing, though they are still doing some major updates, so far I haven't experianced ANY down times. This is a good way to start if you want a free service. Jeez, I sound like an advertiser, lol. "http://awardspace.com/
  18. Err

    Headings

    Whoa, I think that's too big, lol.
  19. THANK YOU SO MUCH!!! *Bows down* That's exactly what I needed.You wouldn't believe how long I tackled this problem, and you got it within mintues of my post! This is so awsome man, you're aswome! Next time I know who to talk to when I need some javascript help Thanks a lot again!
  20. Hello, I'm having trouble with a javascript confirm alert. What I'm trying to do is have the visitor click on a link with an onClick added to it, which in then brings up the confirm alert to either stay or go to the link, my only problem is the only scripts out there that I found only look like this: <script type="text/javascript">function ConfirmChoice(){answer = confirm("Do you really want to go here?")if (answer !="0") {location = "index.html" }}</script> The above scripts require me to set a location to the targeted webpage for EACH function (if I wanted more then one function for each different link that is), I don't really want to use this script that way since it's too time consuming when adding alerts to new links. <a href="index.html" onclick="confirm("Press a button")">Text</a> The above way almost works, but the "Cancel" option doesn't really cancel the operation.My problem is that I need a script that just gives the visitor the same alert but with out having to go to the same 'location' with each onclick or (in the other case) with an alert that acutally works correctly. I don't want to add anymore functions then what's nessary to repeat the same script. ANY help is greatly appericated!
  21. I like the access of ad free webpages. But Freewebs doesn't have ftp access for free which I didn't like about it. I must have ftp access, if any provider doens't offer that then I will not go with them.
  22. Err

    Fade-In

    Ah, thanks for the Code! However, I'm not that advanced in Javascript to even know what needs to be done in order for it to work. Could you fill me in? I've tried what you said but I'm still stuck.
  23. Err

    Fade-In

    Don't mean to high jack this thread, but is there a script you can use to achive the same effect but with cross browser suuport?
  24. Nope, but it would be an intresting find. I love Star Trek myslef
  25. http://www.netfirms.com/web-hosting-advant.../zone/advantageNetfirms has worked wonders for me
×
×
  • Create New...