@# Quotes DB     useful, funny, interesting





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



Comments:

<0> error expected identifier in line : function isCl***(obj, cl***) { ... someone have an idea?
<1> maybe 'cl***' is reserved?
<1> unlikely tho
<0> no :S
<0> ah
<0> it works :)
<0> thanks
<2> cl*** is a reserved word
<3> it sure is: http://javascript-channel.com/wiki/show/JavaScript+Keywords
<0> yep
<4> HI
<3> hello
<5> does IE have a `limit` on the size of a var in js, before it ****s itself?
<2> I doubt you will ever come close to the "limit"
<6> 2 gigs on string data
<5> this var is 2035 characters (including spaces)...and IE is halting on that line, saying 'unknown runtime error'



<5> FF handles it great
<6> nomorepasting.com
<5> thats why I didnt paste my URL yet :P
<5> http://www.nomorepasting.com/paste.php?pasteID=68454 <-- its one line, 2035 chars long
<6> try breaking it in half
<6> this sounds like a limitation of the scritping engine, not the var length
<5> first half, then the 2nd half being: .innerHTML = .innerHTML = 'the rest';
<5> like so?
<2> yup. seem the parser choke on a long line
<6> or just add a " + line feed "
<5> I broke it into multiple lines...the line that is erroring out now contains a <ul> tag (as the first thing), and that is what is causing the error
<6> are you closing the tag?
<5> yes, in the next line
<2> what is "who_desc"
<5> http://pastebin.ca/166503
<5> ht311, <p id="who_desc">
<6> urg
<5> torgo: i know that is messy, I'll clean it up once I get this UL issue resolved
<6> http://pastebin.ca/166504
<5> still the same error, on line 36 (which is the start of the document.getElement...
<6> paste the whoel thing in context
<2> or give a live url
<5> torgo: http://pastebin.ca/166509
<5> failing on line 8 in that post
<5> whcih means it oculd be 8 9 10 11 12 or 13
<6> what is the error reported
<5> 'uknown runtime error'
<5> unknown*
<5> Line: 36, Char: 2, Error: Unknown Runtime Error, Code: 0
<5> I've checked for non-supported chars, and didnt see any
<5> "<ul><li>Private piercing and tattooing lounges that provide ultimate comfort to the client." + <-- but that is where i have narrowed the error to
<7> run your page through http://validator.w3.org/
<5> At first I thought I would need to escape the / in </li>, but then I noticed I have a </b>, and that isnt causing errors
<7> no
<5> well, the validator is pulling the javascript correctly, and not erroring out
<8> anyone know how to prevent a link from being selected when you click on it?
<7> jaytea, yes but it's a headache cross-browser
<8> aw
<7> if you are using domapi, just call domapi.disallowSelect(element)
<8> how about IE only then
<2> funny got a bunch of services.
<2> NaNNaNNaNNaNNaN
<2> err, after the .... services " + ....
<6> reminds me of fridays' wtf ;)
<2> hehehe
<6> http://thedailywtf.com/forums/thread/90530.aspx
<2> blah, my bad, I modified the code wrongly
<5> I dont see why a <UL> would cause this error
<6> i think that's a red herring
<6> give us a link
<5> to? pastebin?
<6> the page
<2> seem you hit a real ie bug to me ..
<5> torgo: not live yet :\ running locally
<6> can't help you then
<5> tried it on 3 diff machines, FF works, FF works, Konqueror works, IE fails
<6> only seeing bits and peices makes debugging impossible
<2> http://gljakal.com/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/
<6> spot on
<5> ht311, lemme read that, and give it a shot



<2> hehe, IE is doing the right thing, [Torgo] is right
<6> although a <p> is not an inline element
<2> oh, that true ...
<2> I think I saw this before
<6> so, try a div instad of a p
<6> oh!
<5> I have the <P> in a <DIV>
<5> heh
<5> which was the only way to get it to display correctly (layout issues) ... I'll messa round with the layouts more I guess
<6> the real problem is that you cannot put block level elements in a p
<6> that's right out of the html 4 spec
<5> right before the <ul>, I put a </p> .. so that the UL wouldnt be in there...then a <p> after </ul> ... still errors ... perhaps it cant render it correctly inside of the script?
<5> s/render/parse
<6> no, you cannot do that
<6> you have to change the container to a div
<8> is there a way to retrieve the full URL of another window?
<5> the <p> is in a div .. so, i ended the p, so the UL was in the div only...then started a new p after the ul
<8> including all properties like http://url/file?thing=ball&bla=bla
<2> stop thinking like document.write
<2> innerHTML, is inner!
<6> jaytea, only if your code opened it, and it is from the same domain
<5> #$%^&* thats right ... i hear ya
<8> my code opened it ye
<8> what's the method? :P
<2> jaytea, check out the location object
<6> Steakk, and learn about += :P
<6> and i'm not even going to mention the marquee
<5> oh, i know... but, its $client, not me. if it were me, I woulda been doin this the right way.
<2> <blink>[Torgo]</blink>
<5> the marquee is a scrolling image map of all things
<6> urg
<5> It looks slick, I'll admit...but, there are better ways to go about it
<6> <marquee><blink><h1><font> .........
<2> [Torgo], some domapi user working on a vb.exe cgi last night, render the whole page with Send(" ....
<5> okay, so on the HTML layout side, where who_desc is in a P which is in a DIV...I have to find a way to rid myself of that P, right?
<5> www.steakk.com/pictures/help.png <-- thats how it should look, and in order for me to get it to look like that, I have to use <P>, dont I?
<5> btw, that image is align right, and the p is align lef
<5> t
<2> change the who_desc to a div
<5> already did
<2> it work?
<2> yes it work
<5> it now displays the UL correctly, yes. but, now the JS cant access the <img src=... id="picture"> tag in that div
<8> how do you halt processing in javascript
<8> oh, 'return'?
<8> hm
<8> is there a way to perform a return but end all calling processes too
<5> getElementById("pictures") has no properties
<5> the <img src... id="pictures" is located in the <div> of who_desc
<2> jaytea, there is not such thing in js
<8> okdok
<8> i found a page about the location object :p but no info on how to refer to another window
<2> read the window.open, keep a hold of the window referen from the return from open
<2> Steakk, sound like you did something wrong again
<8> can JS not refer to another window if it didnt create it, but rather, if its parent window created it
<2> window.opener
<3> hehe, there's a natural language date/time parser for Ruby called "Chronic"
<2> very good name indeed
<5> ht311, http://pastebin.ca/166532 <-- that has the javascript, as well as the HTML in question there...notice in the javascript, i changed who_desc to who_desc_div, which is the higherlevel container of who_desc
<2> furtive: such as?
<3> that you know weed linguo?
<2> oh, I was thinking about this http://en.wikipedia.org/wiki/Chronic_%28medicine%29
<2> and date and time scare me
<3> hehe
<2> Steakk: where is who_pic
<5> ht311, completely diff top level div(if that makes sense) ... that one works perfectly
<2> I have no idea what's going on in there until seeing it
<5> I just uploaded it a minute ago ... www.bodyritualink.com/new/brock.htm ... put the .js within the html for simplicity
<2> someone release nethack for ds
<5> disregard the other nonsense and BS code in there...just getting it working now, will clean later (as that is usually the way it works, heh)


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#apache
#chatzone
#linuxhelp
What product was advertised by the first commercial to portray nudity on us tele
ek pappi de
#teens
#c++
#mirc
#linuxhelp
#linuxhelp



Home  |  disclaimer  |  contact  |  submit quotes