IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1834.77 MB
Powered by
Channel Info
Network: freenodeChannel: #html |
Search in www.irclog.org
Log from #html at freenode 2006-07-28
[19:17]<imtxggrrxjmrg>hello everyone
[19:17]<imtxggrrxjmrg>does anyone in this channel have any information on where i can find cheap web page design help for hire?
[19:26]<imtxggrrxjmrg>humm, ok then anyonow know any website/webservers that have predefined layouts, one just adds content, someoen i know is lookin for a place to put there resume and some pictures they have made, but the dont know anything about webdeisgn
[19:46]<wg22gg>Google Page + Flickr ?
[19:46]<wg22gg>ImTheNachoMan: do they want to host it on a particular domain?
[19:48]<imtxggrrxjmrg>they dont have a domain
[19:48]<imtxggrrxjmrg>so no
[19:49]<imtxggrrxjmrg>google page?
[19:53]<wg22gg>google it :)
[19:53]<wg22gg>(spits out invalid html code, i'm told, but it's probably easy to use)
[19:58]<imtxggrrxjmrg>ahh, thanks
[19:58]<imtxggrrxjmrg>il try it out
[20:43]<cyjvj>hi all
[20:44]<cyjvj>dudes who can explain me if adding #!/bin/bash in first line
[20:44]<cyjvj><bewest> Elazar: I happen to know it has the
[20:44]<cyjvj>pardon
[20:44]<cyjvj>this entity ’ is supported from the browser if i use like charset iso-8859-15
[20:46]<znzjs>entities are defined in the DTD, it shouldn't matter what charset you use as far as I know
[20:49]<cyjvj>i use xhtml 1.0 and the transitional dtd
[20:53]<znzjs>hmm http://www.w3.org/TR/REC-html40/sgml/entities.html#h-24.2 that explains things better
[20:57]<cyjvj>then generally is recommended to use the entity character and not the equivalent numeric version
[20:58]<wg22gg>kioto: but browser support for numeric entities is more complete
[20:58]<wg22gg>iirc
[20:59]<cyjvj>yes in fact i have always you it
[20:59]<20rv>Except for very odd cases where the implementation of the behavior is in doubt (like ­) it doesn't much matter
[20:59]<20rv>But readability is good.
[21:04]<mrfraxy>Is there any way I can getelementsbytitle in javascript?
[21:04]<20rv>Sort of
[21:05]<mrfraxy>How?
[21:05]<20rv>http://chino.homelinux.org/projects/getElementsByAttributes.html
[21:06]<mrfraxy>b0at: Woah. Confusing. I'm gonna have to sit down for this one...
[21:07]<20rv>getElementsByAttributes({ title: COMPARISON }, document);, where COMPARISON can be a string, a regular expression, or a function
[21:07]<mrfraxy>Mkay.
[21:08]<mrfraxy>Could I just embed the code from his site?
[21:08]<20rv>No, copy it.
[21:08]<20rv>e.g., save http://chino.homelinux.org/projects/getElementsByAttributes.js to disk and use it
[21:09]<20rv>Include it with a script element, and later in the document just use that function like normal
[21:09]<mrfraxy>Okay.
[21:10]<mrfraxy>b0at: Can you walk me through something?
[21:10]<20rv>maybe
[21:10]<mrfraxy>You're a Firefox/Opera user, b0at?
[21:10]<swydzz>is meta name="page-topic" important to have?
[21:11]<20rv>yes
[21:11]<20rv>swimrr: Not for search engines
[21:11]<mrfraxy>Can I PM you, b0at?
[21:11]<20rv>I'm in and out of here, use the channel if you can
[21:12]<swydzz>so its not needed huh? what's if for then?
[21:13]<swydzz>what about META NAME="abstract" and meta name="author"?
[21:13]<20rv>page-title looks redundant. There's already a title element.
[21:15]<20rv>The other two are theoretically useful, especially if you or someone else is indexing that content specifically
[21:15]<20rv>But if you're not going to use it...
[21:15]<20rv>no big deal
[21:16]<swydzz>may as well clean up my code then
[21:17]<swydzz>is there a way to elliminate white space from a div?
[21:18]<swydzz>without putting all my images on one line?
[21:30]<mrfraxy>b0at: Still here?
[21:30]<20rv>now and then
[21:31]<mrfraxy>Can you help me with this code?
[21:31]<mrfraxy> <script type="text/javascript" src="/home/makario/Desktop/getElementsByAttributes.js"></script>
[21:31]<mrfraxy> <script type="text/javascript">
[21:31]<mrfraxy> var results = getElementsByAttributes({ title: 'Malachai' }, document);
[21:31]<mrfraxy> for(var x = 0; x < results.length; x++){
[21:31]<mrfraxy> var element = results[x];
[21:31]<mrfraxy> element.style.display = 'none';
[21:31]<mrfraxy> </script>
[21:31]<gjss>there are pasting services you know
[21:31]<mrfraxy>noss: And I forgot.
[21:31]<mrfraxy>Sorry, I'll go post it on pastebin.
[21:32]<mrfraxy>noss: I'm kind of groggy right now, just woke up...and someone put my toothbrush in the toilet.
[21:32]<mrfraxy>noss: Groggy and mad.
[21:32]<gjss>usually, it is best to avoid accessing the style object from javascript, and just set or remove classes from elements.
[21:32]<gjss>and put the styling in css.
[21:32]<mrfraxy>Can't.
[21:33]<gjss>well, with some practice you can.
[21:33]<mrfraxy>I'm trying to change an image, because I can't edit the source code.
[21:33]<mrfraxy>No, I actually _can't_. I don't have access to the code, I can't edit the CSS.
[21:33]<mrfraxy>I'm trying to change an image with Javascript.
[21:34]<gjss>yeeeah.
[21:34]<mrfraxy>And I would change the image using getElementsByID, but the image doesn't have an ID.
[21:35]<gjss>and this is an exercise in what?
[21:35]<mrfraxy>It's a dare. Some kid is trying to get me to change an image from spreadinterentexplorer.com to spreadfirefox.com
[21:35]<mrfraxy>I need the money.....
[21:36]<20rv>So what's wrong with that? Alert results and alert an element, see if it's what it should be (array and element object, respectively)
[21:36]<gjss>i think it is excessive.
[21:37]<20rv>Navigating the DOM based on position is more likely to be successful here than by attribute
[21:37]<mrfraxy>b0at: Hmm...?
[21:38]<20rv>Or, if img elements are scace, just grab all of them and modify the appropriate one
[21:39]<mrfraxy>They aren't ;(
[21:39]<20rv>*scarce
[21:39]<mrfraxy>Yeah.
[21:39]<gjss>it is not like that getElementByAttribute code is implemented more efficiently. it likely scans all elements instead of just the img ones.
[21:40]<mrfraxy>noss, b0at: Well, do you guys have any other suggestions? I'm all ears....
[21:42]<gjss>then you must look funny.
[21:44]<20rv>It definitely looks for all, yes
[21:44]<20rv>You could probably feed it all img elements, you'd have to make sure it handles it gracefully, though
[21:44]<20rv>Or just loop yourself.
[21:52]<mrfraxy>I'm still not making any progress...
[22:00]<rrafune>Hello. I'm trying to display those accent symbols but instead my page shows an AE in place of them. ??







