@# Quotes DB     useful, funny, interesting





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



Comments:

<0> actually, I can
<0> uploading now
<0> this is somewhat elaborate, but I'll try to make it simple
<0> for the moment, I'm using Google and some other random sites as place holders, but I'm only concentrating on "billboard project": http://undftd.com/test.html
<0> here's what's happening: test.html contains an iframe with scrollbars disabled. That iframe contains a really white frame pointing to slider.html. slider.html contains 4 iframes butted up against each other side-by-side to appear as one seamless page (the first iframe points to Google so I can distinguish the pages as I work on them)
<0> s/white/wide/
<1> Why aren't you using 'this' in your objects?
<0> because this keeps referring to the window
<1> So you use "thisFadeObj" instead?
<1> Heh.
<0> when I use this and alert it, i get "Window Object"
<0> I'm gonna try switching to this to see how it affects things
<1> http://www.sitepoint.com/article/oriented-programming-1/3
<0> I hate it when my code doesn't display and error AND nothing happens
<0> s/and/an/
<0> aarrrgggh!



<0> oh my god
<0> I'm such a moron
<0> the past few hours were a total waste because I was p***ing "previousBoard" instead of "boardNumber" to the fadeUp() function, which is just pointless
<0> ok, now if you reload you can see what's SUPPOSED to happen
<0> wow, restricting functions to the objects themselves rather than p***ing the objects to the functions solves SO many issues
<0> all this because I want to emulate the Flash version of the site w/o Flash
<1> Neat.
<0> thanks, so it's working for ya?
<0> woops, minor issue in MacIE 5
<1> If working = slide show thingie then yes. :-)
<0> heh
<0> the goal is to recreate all of (and more): http://undftd.com/undftd.htm w/o Flash. But I'll stick to flash for the bg music
<1> Good riddance. :-)
<2> Pilum: do you know something with onload atribute in <img> tag in Opera ? it seems not working
<2> FF and IE works fine opera doesnt
<0> dude, if I can make my photo album: http://samrod.com/photos I can make that
<0> pssh, Opera
<1> pieg: onload is not defined for img in the standards, so you cannot count on it working.
<2> where can i find onload reference ?
<0> pieg: I just loop through and check ( img.width > 0 )
<1> http://www.w3.org/TR/html4/index/attributes.html
<2> i just wanted to do image preloader, is there any other way to do that ?
<2> samrod: ?
<2> damn, only faremset and body ?:/
<0> pieg: yeah, Safari doesn't yet support imagName.complete (but I've filed a bug on it and they're working on it) so instead you can check imageName.width > 0
<0> imageName referring to the Image object
<2> what the width gives me ?
<0> pieg: if the image is not loaded, the width will be 0
<2> ah
<0> and will remain 0 until it's done loading :)
<0> pieg: here's an image loader I made in JS: http://calientebeauty.com
<2> alrighty but how to involve the function then ?
<0> um
<0> function isImageLoaded() { if ( imageObj.width == 0 ) setTimeout( isImageLoaded, 200 ); else return true; }
<0> but be careful. If the image is missing, you'll get stuck in an infinite loop
<0> which is actually cool 'cuz the browser will continue checking until you drag the image to the right location or rename it to the correct name or whatever
<2> and where do you start the function ?
<0> pieg: wherever you need to check if the image is loaded, just check out the code for: http://calientebeauty.com
<2> the main file ?
<0> http://calientebeauty.com/js/main.js
<2> :/
<2> why im so stupid in js...
<2> i just got one omage, a graph generated by php, i wrote a simle finction that changes visibility with onload, i could do the same with checking the width but i dunno where or how to start checking loop, i **** cawks....
<0> heh
<0> Plum: are you on a Mac or PC?
<0> I mean Pilum
<1> PC.
<0> and which browser did you view my page with?
<1> Firefox
<0> ah
<0> think you can check it out in IE?
<0> I'm on a Mac
<1> Not on this PC.
<1> PC doesn't neccesarily equal Windows. :-)
<0> heh, is that your immaculate box?
<0> ah
<0> what's yer CPU?
<1> I do have a windows computer, but it's busy atm.
<0> how's the sliding performance on yer Linux box?
<0> I mean, is the horizontal sliding between pages smooth?
<1> Intel(R) Pentium(R) 4 CPU 2.40GHz



<2> i can check it in ie
<0> pieg: http://undftd.com/test.html# thanks :)
<1> Sliding is not entirely smooth, but nothing to complain about either.
<0> ok, cool
<0> thanks Pilum
<2> nothing works neither in IE and opera
<0> pieg: DAMN I hate M$!!!
<2> gogle shows and no changes after clicking links
<2> it's not my fault!!!
<0> Pilum: at first I was sliding a DIV which was forcing the browser to do the work until I figured it'd be much smoother and more efficient forcing the OS to scroll a frame left & right
<0> pieg: any errors pop up?
<2> yup
<0> well, at least that's good
<2> access is denied
<0> oh, that's 'cuz of Google, hold on a sec...
<0> I'll change it to a blank page or something
<0> pieg: ok, now try
<2> still acces denied
<2> line 42 char 52
<2> but
<2> i never know where the problem is when ie tell me the lines
<0> ok, NOW
<2> no error and nothing happens
<0> pieg: nothing happens when you click "billboard project"?
<2> yup
<0> that's just mean
<0> pieg: and no errors either?
<2> in opera the links are smaller and blinking cursor works in line with link
<2> nothing likke that in ie
<2> no no errors
<0> man
<0> wait a minute, does this page work for you: http://markwoollen.com/pastwork.html ?
<0> pieg: do you see the QuickTime logo to the right of the list items when you move your mouse over them?
<2> with eeror but yeah
<2> yup
<2> and i got an error after clicking
<2> no movie shows
<2> Object expected
<2> brb
<0> pieg: oh crap
<0> pieg: do you have QuickTime installed?
<3> How can I import another JS file from a JS file?
<0> Sammuray: just document.write a script tag
<0> at least that's what I do
<3> nop
<3> then the vars won't work
<0> write
<0> they work afterwards
<0> s/write/right/
<0> I'm out of it tonight
<0> afaik, there's no other way
<0> unless, maybe, I'm just guessing....
<0> if you point a hidden iframe to the JS file you want
<0> point it using JS, and have that JS file callback the main JS file
<0> but then you'll have scoping issues, which is what I spent all night figuring out
<4> how can you p*** arrays in a function?
<0> myFunction( [ one, two, three] )
<0> or simply: myFunction( myArray )
<4> i see thanks!
<0> np
<0> thanks for all your help Pilum!
<3> how can I get the value of a GET var in JS?
<2> back
<1> window.location.search
<1> And play around with substrings.
<5> hi everybody ? is there anyone that can answer a question ?
<6> i wondering if msie got more cache than firefox
<7> maybe
<6> i making some ajax command, and it doesnt work the same in msie
<6> is there a way to work around cache ?
<8> add a random number to the querystring
<9> set your headers, or append the timestamp to the url
<6> i do it with php,
<6> that line header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#fedora
#skype
tarevision
#linux
PCIMCI linux
Heavens to Mergatroy
hacked by aleks phpbb
il-kitten
#linux
#AllNiteCafe



Home  |  disclaimer  |  contact  |  submit quotes