Jump to content

vchris

Members
  • Posts

    1,529
  • Joined

  • Last visited

Everything posted by vchris

  1. http://www.w3schools.com/tags/ref_entities.asp
  2. close but here it is:#footer a:hover { }
  3. Here's how the DL element should be used: http://www.w3schools.com/tags/tag_dl.asp that should solve your 3 first problems. For #4 I'm guessing you didn't use an XHTML DTD so it's giving you an error at <br /> either change your DTD to XHTML or change your <br /> to <br>.DTDs: http://www.w3schools.com/tags/tag_doctype.asp
  4. vchris

    Vertical Menu

    I use a div for the menu and for vertical menus like this I use unordered lists.HTML:<div id="menu"><ul><li>list item 1</li><li>list item 2</li><li>list item 3</li></ul></div>CSS:#menu {float:right;width:200px;}#menu ul {margin: 0;padding: 0;}#menu ul li {list-style-type: none; /* remove bullets */}
  5. You'll need to use CSS. Here is an example:HTML:This <span class="yellowbg">word</span> is highlighted.CSS:.yellowbg { background-color: yellow; }
  6. You can use CSS to set this image as a background image but I would recommend reducing the opacity of this image so if you have text over it, there will be enough contrast so users can read it. Oh and try not to use a huge image like this one. If you could reduce the size and maybe a bit the quality so it's fast to load.background: url('images/bg.jpg') no-repeat;
  7. vchris

    My website

    To be honest, I think it needs a lot of work. The navigation seems like it's been copied from somewhere. It doesn't fit in. The intro page has so many ads that I didn't know where to click for a few seconds. You have xhtml 1.0 and css valid images but your page don't validate with your DTD. You have no header. It's unclear the name of your site. Your validation page looks more like an FAQ. The HTML tutorial opens in another window, I don't know why but I think if it's part of your site it should open in the same window. Your image in the HTML tutorial is way too large (116kb), you can reduce the quality and it's almost not noticeable. That's about it.
  8. vchris

    Computer Desk

    Thanks for the info. That's what I wanted to know. I don't have kids, I don't have a dog and no wife. I'm gonna have to figure out what to put there, maybe a picture of myself
  9. vchris

    Computer Desk

    Damn I was pretty sure I could've gotten away with it...
  10. vchris

    Computer Desk

    That's good but if I remove all shelf on the desk does it leave any holes? Could I put some covers on them?
  11. vchris

    Computer Desk

    So I can have a flat desk surface without holes?Is there a special area for wires? It looks to me like they'll be hidden behind the center leg pillar.
  12. vchris

    Computer Desk

    Hey skemcin is it possible to remove parts of the desk? Like the top monitor support, I'd want the monitor to be sitting on the desk. Could I remove those side thingys on the desk? They're kinda useless. Would that leave holes?
  13. vchris

    Computer Desk

    That's a nice desk! I'm trying to find out how much it is...EDIT: Just found out... 2500$... Actually I've seen from 1000$ - 2500$. Actually I got it for 460$.
  14. vchris

    Computer Desk

    I'm looking for a nice computer desk which includes drawyers to put some stuff, wire holder (a place the wires can run without me seeing them or laying on the ground), something of quality, preferably aluminum, no glass. I've been looking everywhere but all I can find are crap desks. The best one I could find was the one from Lian Li, the F1 desk but that is 2500$ US. Just a bit over-budget. Let me know of a good place to find something like that.
  15. I could've used regexp but it was way simpler. The names were all the same, only the value was different. So I used a script to check them all before the form reloaded. Works great
  16. Is there a way I can check a checkbox when I only know part of the name? For example I could have many checkboxes and they would all start with "email_" and then the username. I have a query to populate this checkbox. I can't have the form processing done after the query since when the page is reloaded it'll still show the records before I update. This is an approval all function which I send an email to all users approved. So what I want is when I press Approve All that all checkboxes are checked with javascript. This page is done in coldfusion if you know of another way of doing this let me know.EDIT: Please delete this post. I found the answer.
  17. Works perfect! thanks!
  18. vchris

    Domain Name

    My site is currently online! http://www.vchris.net
  19. You mean like this? If so I got Fatal error: Cannot instantiate non-existent class: xsltprocessor in... //Prepare the XML file $xml = new DomDocument(file_get_contents($xmlFile)); /*$xml = new DomDocument('1.0'); if (!$xml->loadXML(file_get_contents($xmlFile))) { die('XML file at "' . $xmlFile . '" is not well-formed'); }*/ //Prepare the XSLT file $xsl = new DomDocument(file_get_contents($xsltFile)); /*$xsl = new DomDocument('1.0'); if (!$xsl->loadXML(file_get_contents($xsltFile))) { die('XSLT file at "' . $xsltFile . '" is not well-formed'); }*/
  20. I added ini_set('display_errors','On'); and I got 2 errors: Line 21: $xml = new DomDocument;Line 22: if (!$xml->load($xmlFile)) { The php code was copied from what you gave me earlier and I didn't alter anything except for the filenames.
  21. I see the error message. I use php on all of the pages of my site so php should be fine also...XML: <?xml version="1.0" encoding="iso-8859-1" ?><?xml-stylesheet type="text/xsl" href="gallery.xsl"?><gallery> <website> <title>Deep Coding</title> <desc_e>This is a short description of DC.</desc_e> <desc_f>Ceci est une courte description de DC</desc_f> <smallthumb>/images/websites/newdeepcoding_small.jpg</smallthumb> <largethumb>/images/websites/newdeepcoding_large.jpg</largethumb> </website></gallery> XSL: <?xml version="1.0" encoding="iso-8859-1" ?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="/"> <html> <body> <ul> <xsl:for-each select="/gallery/website"> <li><a href="<xsl:value-of select="largethumb"/>" rel="lightbox" title="<xsl:value-of select="title"/> - <xsl:value-of select="desc_e"/>" ><img src="<xsl:value-of select="smallthumb"/>" alt="<xsl:value-of select="title"/>" /></a></li> </xsl:for-each> </ul> </body> </html></xsl:template></xsl:stylesheet> I've tested these 2 files by themselves before and the xsl doc outputted exactly what I wanted so they should be fine.
  22. I tried your code but I get javascript errors. It says that url.indexOf is not a function. Then I tried url.search and it said the same thing...
  23. Works like a charm and took 5 mins. Thanks a lot!
×
×
  • Create New...