Jump to content

mpoer

Members
  • Posts

    180
  • Joined

  • Last visited

Posts posted by mpoer

  1. XHTML and XML are quite differant. XHTML is for web site codeing, while XML is used to structure data files.As far as I know, IE can't edit XHTML or XML, unless you have some sort of plug-in. You most likely used a text editor with syntax coloring.Not sure how much more detail I can give without you telling us more about your situation. I hope that helps, though.

  2. Full Flash site pros:1. browser/OS independant2. easier for some people to design in3. securityFull Flash site cons:1. can be large files2. not everyone has the plug-in (don't forget links/lynx people!)So it looks like there are 3 pros to 2 cons, but the fact that not everyone has the plug-in (even if there are only 10% that do not) is a big draw-back.Obviously, Flash has its place in the Web. If I were to create a web site that included games or any form of multimedia, I would use Flash. However, I think Flash is inappropriate for a web site's navigation due to the same reason as above, not everyone has it, and they won't be able to get around your web site.

  3. Please don't take personal offense to this, but:MySpace is the opposite of good coding. It is bad, bad, bad.I doubt any one here is going to dig through MySpace code and your own code and see what's up.If you want your own web site ('space'), members of this forum would be more than happy to help you. We know were to find inexpensive hosting and good prices on domains, and we can help you build your site and blog in a completely custom way.

  4. I would also think that you have correctly identified the problem, you have fixed something :)
    yeah, just did some testing and it looks like if the background-image is removed from the CSS file, the javascript kicks in fine./me dances the 'does the I fixed something' jig :)I'm gonna PM Jonas now :(
  5. That shouldn't have made a difference, you only need {} if the code goes onto more than one line, in this case the code is:else alert("Problem with random number");which is all on one line so the brackets arent required.Try it without the brackets and it should work fine.

    darn it, you're right. And here I thought I was fixing something...So why isn't the code working?( http://home.no.net/jonvel/script/background.js )wait, I may have it now. It's in the CSS!Jonas, take the background-image definiation out of your CSS sheet. Since the link to the css sheet comes after the javascript, it takes priority. just take that one line out of your CSS file and see if that doesn't fix it.
  6. bumpity bump, 'cuz i fixed it :)check the last line syntax for the else... should be:

    else { alert("Problem with random number"); }

    yep, those two stupid curly brackets threw off the whole script! I hate when that happens :)

  7. There are two reasons that ISPs will block port 80:1) there was a big virus/worm that spread on port 80 at one point (forget the name, but I read about it somewhere)2) web servers can take a lot of bandwidth if they are successfull Two good reasons that home users don't need port 80 open, in the eyes of an ISP.Now, here's the thing about hosting at home, don't do it if you have a big site. You don't want to host a site with a hundred hits per day on your own private PC. BUT if your site hosts something like, your blog, and you get under a hundred hits per month, then you can do it if you want; just don't expect it to be complete professional. In this situation, it is more of a learning experiance.As far as power, if there isn't a lot of traffic, get an old laptop [gasp from the crowd] no really. Want the stats for my laptop, thinktank?IBM Thinkpad 600300mhz Pentium 2 processor96mb RAM5GB HDDthat should tell you enough about what I'm on here... but this thing runs decently if I let it alone. However, I use it regularly as well, and I'm actually on it right now. But if I had this machine dedicated to being a web server, it would run fine.Okay this may seem odd but I've been thinking about it a lot lately. If you don't know, the Microsoft XBOX gaming console can be somewhat easily converted into a linux desktop PC. Check out http://www.xbox-linux.org for more information. Well, at that point, a 'lil XBOX can run fun programs like Apache (with PHP) and a MySQL Database, as well as proftpd and sshd. Get where I'm going here? Now think, with the new XBOX 360s out, there will be a price drop in XBOXs coming soon. Check ebay and you'll see they are going for under $100. Cheaper than a new PC, and more than enough power than you'll need for a testing server :)

  8. why not

    body { color:#xxxxxx; }

    that will set all the color within the body element to the specified color. Then, of course, something like

    h1 {color:#yyyyyy;}

    would over-ride the original font color of xxxxxx and use yyyyyy.Is that what you were looking for?

  9. I went from HTML to CSS + XHTML, a little javascript, and then to PHP.PHP is open-source and free, so lots of hosts have it available on the *nix pacakges (some on windows packages, perhaps). It is also developed to be easy for anyone with experance in other programming languages, meaning it has a syntax that will look familier to you if you've ever done anything in C++, and functions are a lot like javascript, since you do know a bit of that :) That means that not only will it be easy to pick up on, but if it is your first language, it is a decent gateway to other languagesAbout javascript, the most practical and commonly used javascript actions are form validations (like making sure a user fills out all their information when signing up for a web site), and checking/unchecking all checkboxs, stuff like that. I don't think a lot of javascript knowledge is necessary to be a good designer or developer, because 1) not all browsers support it2) many browsers do it differnatly3) your code is open to anyone that views your code (security alert, anyone?)4) can you say 'most annoying flying adverts, ever'?Well, that is sort of my views on javascript. I can use it a bit if I need it for something, but I don't need it often.

  10. i host my work web site and my personal blog at home<ymsps!>http://www.fix-computer.tk and http://thinktank.ichyware.net:81</ymsps!>(the <ymsps!> tag is new, for yet more shameless plugs!, if you haven't already read about it :))Anyway, all you need is a broadband connection, a static IP, and about $20 a year for a domain name.If you look at my signature, you'll find my perferred operating system, Server (apache), scripting language and database, with links for more info. This system is free softare and much more secure than a Microsoft setup.Important note about hosting at home: some Internet Service Providers (or ISPs) do not actually allow you to host a web site at home, and some specifically say no type of server can be run at all. While some of them just say "don't do it", some will actually block important ports like 80 and 21 to prevent you from running a web server or ftp server. The workaround: configure apache to run on another port (like 8080 or 81 and use sub.domain.com:XX, where XX is the port number :)I've been doing this for a little while so please messege or email me if you have any questions :(

  11. wife's web site, we went looking through wordpress themes for layout/design ideas. she liked this one:http://managedtasks.com/wpthemes/blog/inde...me=Retrospotiveit's looks good, and the code is something I've never seen before. basically, it moves the image back and forth when you hit the a:hover.here's the code (whole page, w/ in-page CSS)

    <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta name="author" content="Matthew and Paula Poer"/><title>Paula Poer's Homepage</title><style type="text/css">/* Top Menu *//* we found this on a WordPress theme called Retrospoctive,   check it out at [url="http://managedtasks.com/wpthemes/blog/index.php?wptheme=Retrospotive"]http://managedtasks.com/wpthemes/blog/inde...me=Retrospotive[/url]   we tweaked it a bit for these colors, but it is some really creative   coding. Try it yourself, if you want  */#topmenu {	background: #28B5C6;	left: 0;	position: absolute;	padding: 20px 0;	top: 0;	width: 100%;}#botmenu {	background: #28B5C6;	left: 0;	position: absolute;	padding: 20px 0;	bottom: 0;	width: 100%;}#topmenu ul, #botmenu ul {	font-size: 1em;	line-height:76px;	font-family:"Century Gothic", "Trebuchet MS", sans-serif;	letter-spacing: 1px;	list-style-type: none;	width: 100%;}#topmenu ul li, #botmenu ul li {	float: left;	height: 76px;	margin: 0 10px 0 0;	overflow: hidden;	text-align: center;	width: 76px;}#topmenu ul li a, #botmenu ul li a {	background: url(menu-circle.gif) 0 0 no-repeat;	display: block;	color: #000;	height: 100%;	text-decoration:none;}#topmenu ul li a:hover, #botmenu ul li a:hover {	background: url(menu-circle.gif) -78px 0  no-repeat;	border: 0;	color: #fff;}#mid {	margin:auto;}</style></head><body>  <div id="topmenu">    <ul>    <li><a href="#">Home</a></li>    <li><a href="/blog">Blog</a></li>    <li><a href="http://www.myspace.com/emokidathearto_0">MySpace</a></li>    <li><a href="#">Gallery</a></li>    </ul>  </div>  <div id="mid">    <img src="" alt="" />  </div>  <div id="botmenu">    <ul>    <li><a href="http://postsecret.blogspot.com">PostSecret</a></li>    <li><a href="#">Ran6</a></li>    <li><a href="#">Ran7</a></li>    <li><a href="#">Ran8</a></li>    </ul>  </div></body></html>

    what we want is to have the whole thing centered: the top and bottom circle menus, as well as the random image that will be going into the #mid. this is difficult with absolute positioning, and i'm not good with positioning so I don't know what I might change it to.here's the current version:http://thinktank.ichyware.net:81/~paula/index.html

×
×
  • Create New...