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.75 MB
Powered by
Channel Info
Network: freenodeChannel: #html |
Search in www.irclog.org
Log from #html at freenode 2006-07-08
[00:54]<_kzusvd_>hi
[00:55]<_kzusvd_>how to force a webpage not to show scrollbars?
[00:57]<znysyj>fix your code to not suck
[00:57]<znysyj>:p why do you want no scrollbars?
[00:58]<_kzusvd_>Internet Explorer is showing a disable vertical scrollbar
[00:58]<_kzusvd_>the page content is smaller than container
[01:04]<znysyj>ah
[01:04]<znysyj>will the page content always be smaller?
[01:04]<znysyj>like for people at 800x600 res?
[01:05]<_kzusvd_><body scroll="no">
[01:05]<_kzusvd_>my page is only for desktops with at least 1024x768
[01:05]<20rv>body, html { overflow: hidden; }
[01:19]<fy2nzvrm0>hi room
[01:19]<fy2nzvrm0>I need help
[01:19]<fy2nzvrm0>i am trying call a popup from a iframe
[01:19]<fy2nzvrm0>but IE show me a error
[01:19]<fy2nzvrm0>Denied Access
[01:20]<xrllmmumn>url?
[01:21]<fy2nzvrm0>yes
[01:22]<xrllmmumn>well what is it?
[01:23]<fy2nzvrm0>window.open('mapasite.htm','Mapa','width=550, height=550, scrollbars=no, menubar=no, location=no, resizable=no')
[01:23]<xrllmmumn>the url to your site
[01:23]<fy2nzvrm0>the iframe have a dynamic src
[01:24]<fy2nzvrm0>happy, That is a local test
[01:24]<xrllmmumn>you're outta luck then
[01:24]<fy2nzvrm0>exactly
[02:23]<mnp2dvn>does someone know why i can do to make my forms look same in ie,firefox and opera ?
[02:23]<mnp2dvn>at the moment opera shows all my fonts and the form a bit bigger
[03:00]<mnp2dvn>is there something like a opera.postError function in firefox that is firefox specific ??
[03:35]<2unnnm>any good html cleaners?
[03:39]<20rv>tiny
[03:43]<mnp2dvn>micahf: give it an id
[03:43]<dyrrxp>give the form and input element both the same id?
[03:44]<20rv>s/tiny/tidy/
[03:44]<20rv>tidy.sf.net
[03:45]<20rv>micahf: The only way to associate inputs with forms is to put the input in the form.
[03:45]<dyrrxp>ugh
[03:45]<dyrrxp>cause I'm updating the elements with rjs
[03:45]<txntzrv>micahf, the input must be nested within the <form> tag
[03:45]<dyrrxp>yea they are
[03:45]<txntzrv>all <input> tags inside the <form> tag will belong to the form
[03:45]<dyrrxp>actually, they are select and option elements
[03:46]<txntzrv>same deal
[03:46]<dyrrxp>and they are being put in after the DOM tree is rendered
[03:46]<dyrrxp>with javascript
[03:46]<txntzrv>correction: you are modifying the DOM tree
[03:46]<dyrrxp>so looking at the DOM, they have a null parent form
[03:46]<txntzrv>and it is being re-rendered
[03:46]<dyrrxp>ok, so then can I specify that I want the select elements to be part of the form tags surrounding them?
[03:47]<dyrrxp>cause the DOM definitely isn't catching that part
[03:47]<20rv>One element isn't part of another element's start or end tags...
[03:47]<txntzrv>write yourself a console div to help debugging
[03:47]<20rv>That doesn't makse sense. You insert nodes into other nodes. Put the input type of element into the form element.
[03:47]<dyrrxp>I did
[03:48]<txntzrv>function debug(debugString) { document.getElementById('console').innerHTML+= debug;}
[03:48]<txntzrv>sorry, innerText
[03:48]<txntzrv>not innerHTML
[03:48]<20rv>Don't use "innerText"
[03:48]<txntzrv>that way you can print the code
[03:48]<20rv>It's not widely supported
[03:48]<20rv>Just use a text node.
[03:48]<dyrrxp>hm?
[03:49]<20rv>el.appendChild(document.createTextNode("some message with arbitrary <characters>"));
[03:49]<dyrrxp>man I'm lost
[03:49]<txntzrv>micahf, what I'm trying to say, is get your javascript to display the source html it is displaying in a console div
[03:49]<txntzrv>then you can make sure it is well formed
[03:49]<txntzrv>by for example, copying it into a validator
[03:49]<dyrrxp>oh, I am using firebug for that
[03:49]<dyrrxp>and yes, it is well formed
[03:50]<dyrrxp>it is well formed except that the DOM tree isn't being updated for the whole page
[03:50]<txntzrv>..?
[03:50]<dyrrxp>just the part of the page that I've rerendered since I am using the prototype library :/
[03:50]<dyrrxp>maybe it's a prototype library problem
[03:51]<20rv>That's full of problems, yes.
[03:51]<dyrrxp>maybe it's that I don't know enough javascript
[03:51]<txntzrv>I have yet to meet the person who claims they know 'enough' javascript in the way that you mean
[03:51]<dyrrxp>I'm using ruby on rails, and they push you into using prototype very strong enough
[03:52]<dyrrxp>yea javascript is scary man
[03:52]<20rv>I know enough Javascript.
[03:52]<20rv>And you have to in order to tell what Prototype is doing, afaict.
[03:52]<txntzrv>b0at so you can solve his problem?
[03:52]<txntzrv>nice one
[03:53]<dyrrxp>hm, well then maybe you would know how to tell the browser what this <select> tag is part of the form "theform"
[03:53]<dyrrxp>I just named it "theform" so that it would have an ID
[03:53]<20rv>He's being very vague, using a library I'm not familiar with, and is only giving details as they pop up instead of at the outset.
[03:53]<20rv>I don't think anybody can tell.
[03:53]<txntzrv>aww
[03:53]<dyrrxp>I'm not vague man
[03:53]<20rv>micahf: (a) select is not a tag, it is an element. And you shouldn't be dealing in start and end tags with the DOM or you're doing something weird.
[03:53]<txntzrv>micahf, try some experiments with just plain old html and your own javascript
[03:54]<20rv>(b) An input is part of a form if it is inside the form. Period.
[03:54]<dyrrxp>no it's not
[03:54]<dyrrxp>I'll show you
[03:54]<txntzrv>micahf: you're vague in that you don't know exactly what the problem is yet
[03:54]<dyrrxp>yes I do
[03:54]<txntzrv>nah
[03:54]<txntzrv>you know the symptom
[03:54]<dyrrxp>I'm LOOKING at the DOM tree before and after the thing is rendered
[03:54]<dyrrxp>and it says "form" for the select element







