@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> Woo!
<0> Only took 55 minutes
<1> LOL
<0> [21:37] <2> http://mondialwatch.com/site/test/test.html [21:43] <0> The PHP file isn't returning XML
<0> 6 minutes from getting the real page to giving the answer though
<0> 49 minutes wasted :)
<2> yep sorry
<2> but all was in the js ajax script
<1> just give us a working page next time, we can't run the script with our eyeballs
<1> actually, most of the time we can, just can't do that if your script look fine
<2> ok
<0> Doesn't help that I've never used HTTPRequest ;)
<3> is there any way to reposition the scrollbar inside a div?
<1> no
<3> ....
<3> that ****s



<1> no
<3> a scroll bar outside the resize bars?
<3> next you are going to tell me that it is possible to add resize bars to a div
<3> are you?
<1> you need to get your windowing gui basic knowledge
<3> yes or no
<3> God man is it so difficult!
<3> Can I add resize bars to a div?
<1> clarify
<3> ... you know... a browser's resize bars?
<1> since there is no resize bar in html
<3> so there is a scroll bar, but not a resize bar...
<1> scroll bar is not part of the html. but it just show itself if there is a overflow of content
<3> a resize bar also is not necessarily part of the html
<3> :-(
<1> there is no resize bar or handle in html at all (only if you count the one in frames)
<1> my point is since there is nothing, you are building all these by yourself, what is the problem having it inside or outside/
<1> ?
<3> you can make a scrollbar appear
<1> that's true
<3> I suppose I can add another div that will force a scrollbar
<3> inside the main div
<3> :-)
<1> why don't you take the "resizebar" outside?
<3> because it will make all the range calculations difficult
<3> i want everything inside the main div
<3> for neatness
<1> as long as you understand what you are dealing with
<3> :)
<3> how can I set the text inside a p DOM element?
<4> document.getElementById("the_id").innerHTML = "whatever";
<3> okay, issue.
<3> Mozilla causes shearing on a div that scrolls
<3> Anyone know why that is so?
<4> because it's graphics engine is a POS
<3> any ideas on how to fix it?
<4> nope
<3> why would a scrollbar make the images so crazy all of a sudden?
<3> is anyone here ....
<5> guys, is there a way to put the whole html content of document in a var ?
<5> as string..
<3> yes
<3> ktin, you still there?
<3> you need to use XMLHttpRequest
<5> yes
<3> theobj.br_resize.onmouseover = function() {if (curmouseevent==0) {this.style.cursor = "se-resize"}}
<3> theobj.br_resize.onmouseout = function() {this.style.cursor = ""}
<3> oops
<5> lol
<3> http://xkr.us/code/javascript/XHConn/ : asynchronous
<3> flyingsoft.phatcode.net/XHconn.js : synchronous
<3> make that http://flyingsoft.phatcode.net/XHconn.js : synchronous
<3> or even
<3> make that http://flyingsoft.phatcode.net/XHConn.js : synchronous
<3> there we go
<5> i take it the async method retrives anything?
<5> even binary files
<5> ?
<3> you should use my synchronous modification if you know what's good for you!
<3> no
<3> sync and async are not like that...



<5> but no method in DOM to get the whole current doc in a var?
<3> first, the xmlhttprequest thing does retrieve pretty much anything
<3> i'm getting to it
<3> async means you get your variable after a while and your code continues running
<5> yup
<3> sync means your variable finishes and your code starts running with the whole thing
<3> so you should use sync if you have any sense...
<6> async you need to set the onstatuschange function
<3> yes
<3> my modification makes it so much easier
<3> myConn.connect("iconlist.txt", "GET", "")
<3> oXML = myConn.xmlhttp
<3> oXML is your string
<3> well, oXML.responseText is your string
<3> or, myConn.xmlhttp.responseText
<3> before that you do: var myConn = new XHConn()
<5> beautiful
<3> here is a page where I implement it:
<3> http://www.flyingsoft.phatcode.net/test4.htm
<3> i load in a comma separated array
<3> of 131 kb
<3> KB
<5> thx bud
<3> :)
<5> do the IE users get any prompt when stuff like this gets parsed: try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }
<5> like if they dont have activex enabled..
<3> i have no clue
<3> i just modified it enough for it to work as sync.
<3> i don't know what try {} means
<3> but I am guessing that stuff breaks if it's not enabled
<5> looks like another way of IF..Else..
<5> lol
<5> ok another q...
<5> can a script from a foreign_document loaded in an IFrame, access the DOM of the document in which the IFrame is loaded?
<3> i dunno
<3> i think there are special communication things that you need to do
<3> but i dunno
<3> try freenode
<3> or efnet
<3> but don't say ajax in efnet or they ban you
<5> hehe
<3> also don't call their mod bots dumb***es or they perm ban you
<5> :)
<3> :-|
<5> u good with php?
<5> er.. better ask that in another channel..lol
<5> thx for help
<3> i know php but i am a newb with it
<6> you can execute functions throught an iframe... with something like document.getElementById('idofyouriframe').namedfunction(222);
<6> im not sure if it works for iframes not in your superdomain tho
<5> u meantioned onstatuschange earlier... does that go in <body> tag?
<5> <body onstatuschange=...
<5> oh n/m u meant the onstatuschange of the ***ync xmlhhtp obj
<5> a note about XMLHTTP:
<5> agamemus's page said: sURL - String - The string that specifies the path to the resource to connect to. (Note: Cross-domain scripting is explicitly denied with XMLHTTP for security reasons. You may only access files within the same domain as the host file.)
<5> i just tried it and it gets cross domain pages
<5> the quote from this page: http://xkr.us/code/javascript/XHConn/
<5> haha - for Internet Explorer - it does....
<5> just tried on FF and it doesn't!
<5> further proof of the bughole IE browser is
<5> guys is there a transition effect that can slowly make the old page dissapear and the new page appear?
<6> on IE maybe, but not standard
<6> its a meta i think in IE
<7> yep
<7> there are css filters too
<7> boiss_ try looking at the MSDN website...search for transition effects
<6> ktin: do what SushiBlade said :P
<5> hehe
<5> is there a javascript reference anywhere, in .chm format ?
<5> just function reference
<8> Hello everybody - can ask a small question regarding the combobox
<8> hello?
<9> hey
<9> can I send a parameter to a function which is being called on an event?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #javascript
or
Go to some related logs:

glibc detected *** double free or corruption (!prev): 0x
frnster ana
#AllNiteCafe
#linuxhelp
#MissKitten
#linux
fb.modes 1440x900
#linux
#linux
#chatzone



Home  |  disclaimer  |  contact  |  submit quotes