but childNodes[2] gives me a TextNode I know that the nodeType of a textnode is 3 while an element is 1 I was
should web sites have RSS choice?
What does that question mean?
different formats ?
Is there any way to detect back and forward navigation through in-page anchors? Like from #one to #two?
hello everybody
is there a actionscript3 channel on freenode?
anyone good with VB here?
I'm trying to see which Francesco Balena book to get
I do it by using an interval that watches the location.hash for changes
Woosta, ugh…I really hope I don't have to do that
no
you do
are you sure there's no other way?
Yes
woosta, what interval do you set?
delay in ms I mean
Woosta, why location.hash?
hey everyone
MONO`, I'm not everyone, but hey
Is there a way to modify the request in the browser memory? (I am thinking of changing the value remembered for a field in the form - or adding a new field using javascript)
heh, what's up darkfrog ?
just dealing with the frustrating world of JavaScript.
you can add fields with js just fine, but you cannot alter "saved form data" in the browser memory (you can once it's in the field ofcourse)
what's the maximum GEt url length?
you think workin with Javascript is frustrating? try making a custom os that works on a lappy -.-
ok how do I add a field?
MONO`, via linux?
2083 chars in IE (which, afaik, is the browser with the lowest amount)
making linux via windows haha
MONO`, vmware?
no
I'm trying to add history and bookmarking support to a flash framework. :-p (http://www.jseamless.org)
I think I win. :-p
7zip, linux.tgz [file system], bzImage [kernel], syslinux.cfg [set boot options], syslinux -ma J: to make it boot, and edit.com
it boots to a black screen when it should boot to bash -.-
MONO`, http://www.linuxfromscratch.org/ :-p
i'm bored, do you expect me to read?
[anything longer than a couple lines =p]
reading is the best way to learn
dude like i said - i'm bored, do you expect me to read more than a couple lines? lol
I'm actually installing VMware on my Vista box right now….it doesn't like it very much.
lol
sry missed your question, you an add a field by creating it with the DOM and appending it to the form
crap…gotta reboot
l8r
like: var oInput = document.createElement( "input" ); oInput.name = "newfield"; document.getElementById( "myformid" ).appendChild( oInput );
but what I want is to modify an existing request. I have forwarded to a new page and when THAT page is refreshed the old form data is just submitted again. But I would like to be able to add a new field before that…is that possible?
sure, there are various ways to do that, easiest would be to have a server sided script (e.g. PHP) add the field
I use symfony right now (dont know if you are familar with it) and I add a field using the a setRequest method. But the field I add is gone when I refresh the page…then it's back to the original submitted form!
but ofcourse you can also add the field in the onsubmit event handler. it all depends on your exact needs (e.g., is the field fulled automated, or does the user has to fill in things)
I'm not into symfony, so dunno about it
ok, but right now my understaning is that when I modify the request using a serverside command, I only modify the request as far as the server host knows. If the user presses F5 (refresh), the original request is still send…
ah, I think I'm starting to understand the problem now
so you have a page where somehow additional data/fields is/are added which is lost when a user refreshes?
yes!
hi
if a user clicks anywhere on my website how can i alert a hello box?
I think you'll need some means of tracking the user and the field/data you add, so you add it again when the page is refreshed
document.onclick = function(){ alert( "hello" ); };
^^ though it's silly to do
hm, ok, do you have an idea as to how it can be tracked?
well… cookies come to mind if it's very user specific data (which doesn't need security), otherwise you could use sessions (which implies access to and knowledge of server scripting)
ok, thanks…I think I can quite easily create a session for it
Woosta i mean is RRS a standard for sites other than blogs too?
nice , good luck bonaldo
*RSS
Hi !!!
one question… have "LI class="inline"a href="#" onClick="javascript:changeCont('_2'); return false;"Data-1/A/li" … need not show url down.
You know if as3 bytecode content is as easily disassembled into as3 code?
bah, disconnected…
can i ask a question regarding compatibility of javascript between firefox and ie
?
f00zle why silly
is there any way to check my jscript code for browser compatibility?
install some brwosers, and check it
i already did that..but it doesnt help..that much
i run it on firefox and inspect it with firebug
everything is called properly
i run it on ie
and one part it doesnt work
idan can i give you a direct link to see the problem.maybe you can gimme a hint if you see what it doesnt work
?
debug it in ie then.
how can i do that?
is there anything like firebug?
microsoft script editor
u can use firebug in IE.
need not show url in browser… helpme, Thanks
http://www.getfirebug.com/lite.html
expl more.
have one url where call to javascript… need not show url in browser (bar status down-left)
why do you have urls with call to javascript?
javascript is not urls
"LI class="inline"a href="#" onClick="javascript:changeCont('_2'); return false;"Data-1/A/li"
(up is where call to javascript code)
(sorry by bad english, i am talk spanish
gpy thanks
window.status = "foo" ;
UserReg_CL "LI class="inline" onclick="changeCont('_2')"Data-1/li"
where set ?
mmm…
hmm, if I've done "a = new B()" how can I get 'B' from a?
Thank gpy and Gozzy
(hi from Viña del Mar - Chile)
gpy r u there?
a.constructor.name
(will not work in khtml, because khtml is broken)
can I rely on there being an a.constructor at all?
ofc, there's always a constructor.
actually I'm being thick
I'm trying to differentiate between null and a real object (since both return "object" for typeof) but I'll just check for == null
ugh, i can't remember the DOM property/function/whatever that returns the string made up of the text in a particular element.
yes, that would be the way to go.
GarethAdams, your you can just do (if ob) {…}
(where 'ob' is the name of the object)
of course
with a lisp syntax
if(ob) { } is what we do in js
that's not really lisp syntax
"almost"
it's closer to c
not really
lisp doesn't even have curly braces
I was talking about where you put ur freaking parentesis.
om*g
you can do if(foo){…} exactly in c, you can't in lisp
you'r not listening
now if you want to talk about js in general, then yes, it's more like lisp than c
(if ob) - was the origin of my remark
no the freaking curly braces
darnit, how the heck do you get the un-marked-up text that's in a DOM node
yes
which calls the same function, how can use 'this' to figure out which one I clicked on?
anyone? :/
hmm. i know there ought to be a way to do it, but i'm not sure how
try having the function do alert(this); at the beginning, just to see what 'this' actually refers to in that scope
it's "window object" .. whatever that is.
if (obj == document.getElementById('a1')) {…}
yup, don't you mean "if (this == document…)"?
function func(obj) {… if (obj == document…) {}}
yup, that's what I tried to avoid, using id's
a href="#" onClick="func(this)" /
aha
function func(obj) {… if (obj.href=="#") {}}
i was sort of close
)
I tried obj.style.font-weight = bold ..
which gave me errors..
fontWeight
well, "color" didn't work either so
it said that obj didn't have any style properties
am i really going to have to drive to work to get my DHTML definitive reference, just to find the DOM method to get un-marked-up text from a DOM node?
first, you need assign style to it
oh
it worked
I couldn't use 'this' inside the function..
coludn't
bah
I need id's anyway :/
hm, would it work if you did onClick="this.func()"?
and then referred to 'this' in the function?
this has no func()
so?
func = fuction () {…}
doesn't that allow you to attach func dynamically to any object?
but you can make scripta1.func = func; a2.func=func;…/script
is it possible to send a post to a different server using ajax?
(different than the one from which the javascript came)
chessguy_brb cant u get the un-marked-text by using .innerText?
how can i get the parent element of something?
.parentNode
ah, thanks
can anyone please help me trace a compatibility problem
between firefox and IE in jscript
?
shadowman, just paste code, link to an example and you're more likely to receive help
don't ask to ask for help
http://www.stratigoscostas.gr/catalog.php
select the third line
the problem is that the div in the right part of the page is updated in firefox…But it is not updated in IE. It is updated only one in ie but then it stops…
http://pastebin.co.uk/18749
this is the html code
of the photo.php file
Gozzy, that's not the method i was looking for. let me check
breakerfall…can you check it
please
shadowman, I can't access your site
www.stratigoskostas.gr/catalog.php
if you click on the third line
you will be redirected to the page that the problem occurs
what third line?
it has an underlined word
then another word
and another word
the third one
”¿º¹¼±ÃĹº¿Â
ok
have you done some trace debugging to narrow your problem?
i debuged it in Firefox..which is working fine.. As you can see i added the firebug lite
but i cannot debug it in IE
why?
for what I know is that all the functions are exucuted properly. The only problem is that the items () function is called (or at least is called succesfully only the first time)
i dunno
perhaps someone with IE would be better suited to help
ah, textContent
in firefox everything works fine…and is called fine
the crazy part is that the database queries are executed correctly
even in ie
i think that it has to do with the get.elementbyID('').innerhtml
uhh
get.getElementById ?
it should be document.getElementById
unless get is a reference to a DOM node
document.getElementById('checkout').innerHTML = ajaxRequest.open("GET", "showitems.php", true);
that's what i use
to throw the showitems.php results in the div checkout
is it correct?
anybody ?
no
the .open method doesn't directly return content
at least, not to my memory, hold on
yeah, shadowman, open doesn't return what you want
oh
let me send you pastebin of a standard ajax looking call, if you're using native js and no libs
yeaps..i am not using any libs
thanks breakerfall
shadowman, this is a standard looking request http://pastebin.co.uk/18750
old actually :/
note, ignore where it sets the href to javascript; - this is pretty old code hehe
unote, ignore where it sets the href to javascript; - this is pretty old code hehe/u
anyway, you call your open method, then you attach an event handler to the object
"onreadystatechange"
ok i am going to test it right now…hope it works
breakerfall
it says:xmlHttp is not defined
items()photo.php# (line 172)
onreadystatechange()
shadowman, xmlHttp is my XHR object
the equivalent to your ajaxRequest
so you would replace xmlHttp with ajaxRequest
ok got it..silly me
never simply copy and paste code without understanding it :p
ask if you need it to be explained further
breakerfall
i did it but nothing happends
well, it happens asynchronously
so the rest of your code is going to run, before the request has finished
so in all likeliness, you will need to make your script wait until the ajax call was successful, before continuing
breaker fall i use the ajaxRequest.onreadystatechange = function(){
ok, then perform the rest of your tasks in that function
only if (xmlHttp.readyState == 4 && xmlHttp.status == 200) is true
… ?
bosie, as a property, or using getAttribute
i thought so too, but its always saying "undefined" ?
document.getElementById('mylink').href;
or document.getElementById('mylink').getAttribute('href');
yes it works on href but not on bosie
if i set it myself (setAttribute) it works
well, use valid attributes
hehe yea well the idea is to pass information on from rails to javascript …
without using an array
use JSON
yea yea
Or declare your own DTD and convince MS to understand WTF you're talking about
speaking of DTDs
I was thinking of using DTDs for creating multilingual goodness
would that work cross browser?
MS ignores custom DTDs
you know, defining multiple DTDs for each language, which contains defined entities, then calling each specific one based on lang
uhh
even IE 7?
afaik
I can't imagine they'd allow custom DTDs and not understand XHTML
that kinda blows
well, it really kills that idea of using them for multilingual sites anyway
Can someone give me a reminder of IE7 supports :hover on any element
*if*
Hi, I am using a function call on an mouseup event
its looking like that:
document.getElementById('com_link').onmouseup=updatePosition;
I would like to give a layer name as parameter to the function to call
updatePosition('foo') ?
is it working, i dont know?
what's a layer name.
lets say, messageBox
id?
yes id
why would you want to do that?
I want to use the same function to multiple layers
you could just use "this" anyway
yeah
how?
Byron, could he call "this" in the function since its onmouseup, or does he have to actually specify the parameter with (this)
in function updatePosition() { var layername = this.blablabla ; }
could he do that?
psh, i still dont know what hes referrin to when he says layer name
dono
na, thats not really want i want.
I am using a script to move a layer
what's a layer.
link?
there are more than one of these layers
hey, are we here in kindergarten or what?
they cant all have the same id
..
layers are div tags my little follows
Eh?
no they're not.
are you using Dreamweaver?
_Byron, no they cant
little fellow?
Layers being called divs is 1990ish i believe is it not?
theGZA, No, I am writing my scripts by hand
use modern terms.
squitta, your using dreamweaver?
no
don't use 1990s terms
you're moving elements around in the web page, yes?
not LAYERS
theGZA, how are they called today?
dont call them LAYERS
containers?
elements?
do you know what an element is?
…
if not, im out
or well then i have a couple of elements which can get moved
and I want to have a small element showing theire positions
Now I am performing the update as soon as i let the left mousebutton go
This would be 200x easier if you linked to the page.
theGZA, what does that mean if i linked to the page?
You want to have a link to the script?
try putting an alert(this.id) in your updateFunctino
yes ok, I think i could get you now!
_Byron thank you very much!
eh?
lol that it?
I checking back, and then I am going to tell you compangeros!
_Byron, no, it did'nt work
hmm so you need to pass the element to the function
yes I am trying
document.getElementById('com_link').onmouseup=updatePosition(this)?
_Byron, okay it was very easy now )
document.getElementById('com_link').onmouseup=updatePosition('test');
this was working
that will not work.
you'r calling updatePosition with one argument 'test' and assigning whatever returned as the onmouseup handler.
fatbrain so where will the problem apear?
appear
?
we really need to know what your trying to do, as theGZA was pointing out
Mh ok, in my case it just does what I want
Yeah, I had an very brand knew idea, i guess its not found anywhere allready
I bet it is
search harder.
so i decide to swallow about it?
Or shall we make it a commercial product?
oh mein gott!
weltschmerz Du arme Seele!
but you people can check out the website, http://www.ejackup.com
Please tell me how it is in IE or use a mozilla firefox
But only members can see the script
so simple is that )
does anyone know if the onload event fires for image objects?
make a script section at the end if the page
and perform the function call from there
that doesnt really answer my question
yes its true
just try
I shortly figured out, that even onclick is working on the body tag, which can be really something very cool!
lol.
its not the body tag
its an element
and onclick works on any element
false = 0; - true
false = null; - false
why
==, i mean.
eh?
shouldn't it be =
not ==
argh
yeah..
== is the comparison, = is the assignment
is there anyway i can check if an image hosting object has finished loading besides setTimeout etc..
duno
i was hoping image.onload would fire
it does/
just seems to fire whether the image has loaded or not
eh, the question was why false == 0 returns true and false == null returns false
arg this is frustrating
null is the only special case.
What's a forum ?
what the!
fatbrain what's a forum ?
: learn to google
A forum is a whole site ? or a section of the site e.g. Discussion , Movies , Problems etc. ?
http://www.google.co.uk/search?q=forum
http://www.answers.com/forum?cat=biz-fin
how could i get something like this ( http://img368.imageshack.us/img368/3236/flotantescentradosfp3.jpg ) using css ? (setting the floating element in the center, from the main)
is indexOf a ideal way of checking the presence of 'foobar' within a string?
!== -1
sure.
as in "yes it is"
and settle with != instead of !==
hey everyone
please. how could i get something like this ( http://img368.imageshack.us/img368/3236/flotantescentradosfp3.jpg ) using css ? (setting the floating element in the center, from the main)
Please dont repeat the questions.
try #css
also, try a different channel, since it's not javascript.
lol.
Is your container fixed width?
… in #css nobody help me -.-
Nexus
go to #css
ask them to unban theGZA
and ill help ya there
not a good enough reason to bring it to ##javascript.
XD #javascript is about programming
lalala
yeah, asking them to unban theGZA will be futile, and bringing channel issues to other channels is usually impolite
gpy, really ? XD
Nexus.
is it fixed width
answer zeh question gawdammit
i cant understand what Nexus what despite the nice illustration and all
Nexus fails at getting help.
Ignore time
Nexus fails communication.
rofl, yeah
…
answer my mother fucking question that i fucking asked you right above do you fucking speak english ))…
dont fucking … me
hahaha i dont understand nothing XD i speak spanish =p
wait a minute, translating………………
:P
hmn.. ok, gpy thx…
Ok. do you want to center something? do you want to float 2 elements?
wtf?
what did he do lol
mind your langauge.
this is just because there is a very nice spanish cheese i use to buy.
thank god.
baha ok
hmm.
1, use the backend to spit out a #id on the body tag, read that attribute with the current framework tools, and use that to determine what category im browsing, or: 2, i use native js to indexOf the url.
:|
Wow.
http://www.cleanishappy.com/
the above was a question, reuqest for pointers.
1.
why
Cause stone cold said so
not a good reason enough.
location.href.indexOf('category/javascript') != -1
//true
thats a oneliner to determin what page im at.
determin what page your on?!
and of course i just wanna spit the related links to the page.
oh my…
oh my at what
im playing with my personal blog, not ready, etc. i use the del.icio.us JSON api to get my links as an object.
that object is an array of objects, urls, descriptions,etc.
ok… whatever floats your boat man
I try to keep my websites alive for non-js-clients as well
i can spit those out, np, but i get them ALL, i dont wanna show js links on my css pages. etc.
I also try to keep em "cool" enough to work with the text-based clients.
so, i was thinking of spitting stuff relative to what page im on.
text-based.
bah.
text-based only when the content "may" require that.
like for a website like wikipedia or a online newspaper then it should be handle text-based clients.
yes
but my personal host blog is no newspaper or wiki
and its just my shitty links
=D
no, I bet that's the reason you'r not putting extra effort making it work with text-based clients
some text-based clients support javascript host tho, and that's nice
wich ones?
elinks and some other which name I dont remember
elinks gets the javascript support from spidermonkey libs
ok, well, thats 0.00000001% of my visitors.
indeed.
making it not worth the extra effort
I'm off, shower and some beers
have fun peeps
hm, ok.
se u.
im having an lasanga
and writing js, while u are out drinking beer and stuff.
q!
:P
err
:wq!
JsonML anyone?
http://www.ibm.com/developerworks/library/x-jsonml/
Hi, is there any way to get something like a backtrace fom a JS exception?
aka the callpath which caused the exception
utf-8 text output from php to screen through JS shows ????
but childNodes[2] gives me a TextNode, I know that the nodeType of a textnode is 3, while an element is 1, I was wondering how I can make it so that if the node type doesn't equal 1, it should move on to the next sibling until it is 1 and then alert it.. anyone?
So far I have… var second = ul.childNodes[2]; while (second.nodeType != 1) { second.nextSibling; } .. but thats making it go forever
\o/
You are confused by geckos whitespace nodes?
Use ul.getElementsByTagName('li')[1]
Can you still find a way of doing it with childNodes and checking the nodeType?
I'll use your method, but I'm still curious as to how I could've done it that other way
Yes. But why would you?
to learn.
Is there anyway I can sort of hide a div until the onload script shows it, but without making it hidden using css?
generate it with JS, but don't add it to the dom until it's ready
but then it will never be there if the user lacks JS support
e.g. document.createElement then later when it's ready el.appendChild
Well why are you trying to hide it in the first place?
_Byron, hey you have been right with the this.id thing
I just had to change back the function call to a document.getElementById(element).onmouseup=updatePosition;
and give the event handler as parameter to the function
liek
function updatePosition(ev) {
if there content is there without JS, then why not show the div and progressively enhance it?
then this.id was returning the name of the layer
*the content
or how about using JS to remove it first thing before doing anything else?
el.removeChild could be the first thing in your onload script
has anyone ever had an issue with IE and insertBefore?
Grr, silly Google maps API
oh?
well it's not stupid
the only problem I've actally had is that the map can't initialise itself properly if it's not visible
does anyone use "for-in"
Hrm, anyone know if you can have multiple networks open at once with miranda-im irc-plugin?
thats a js q?
If you can't determine if it was or not, then you probably shouldn't use a computer.
webben, I hide it now onload… but you see it like 0.2sec before the javascript is loaded.. and that's what I try to remove
webben, nothing serious, just me being pedantic
nothing wrong with beeing pedantic
hello
Hello lnxnt
Script Debugger
I think there's a "firebug for internet explorer" than you can download somewhere
(havn't tried it myself so proceed with causion)
hi there !
Don't you have to embed the script in the page itself?
what is firebug good for?
fatbrain:I don't think its a regular plugin
firebug is great for debugging js
the internet explorer developer toolbar?
hehe, I just googled for ie crap and that's what popped up
uncheck "disable script debugging"
i'm triing to make a script that makes animated tab menus (animated, i mean that i want to slow motion the height of my dropping tabs…)
I dont really bother much for IE, I write my scripts for Mozilla / Safari, and just try em out in IE, usually they work just fine
dut it doesn't work ….
I'm off, drunk on wine, need to play some guitar hero 2 before I pass out
I unchecked that
http://rafb.net/p/U7X5fR50.html
that is my script ….
psh
uhm
why do u have return function() { }
i want something like … http://www.apple.com/itunes/ (tips,downloads) menu
is there a point to that?
hmm
right side?
well i was thinking that will return my function content into the settimeourt (first that was in the incr; calling funck)
oh left
this is my first version … http://rafb.net/p/wWlLnZ53.html
it is showing … but …. not slow enough
use Strict dtd at least man
pspad sucks if its generating that
… IN WEST PHILADELPHIA BORN AND RAISED.. PLAYGROUND IS WHERE I SPENT MOST OF MY DAYS
any ideeas?
how do you test if an element has focus using javascript?
"Minnesota, born and raised. The library is where I spent most of my days"
me is back
Romania, born and raised. The f***'n country where I spent most of my days…
LOL
…is still loading the link for the thing I posted…
http://hb.lycos.com/hb.js
check that out
You can set some var, like "activeFocusElement" with the onFocus event.
so, onFocus="activeFocusElement=this.id;"
http://www.current.tv/community/thread/19330642.htm?start=21 CurrenTV is the s**t.
look at post #40 for the song
thanks BradleyB
wow.
Ratatouille is going to be an ownage movie
…what?… why would you say that?
apple.com/ whatever
http://www.apple.com/itunes/
trailer below
damn
I require to use javaScript variable for storing html code which contains "
What is the escape character so that " is understood to be part of the variable?
\ ?
you can escape it with \ or you can try to write "string" + chr(ascii code of ") + "string"
What is the escape character so that " is understood to be part of the variable? Sorry got disconnected
you can escape it with \ or you can try to write "string" + chr(ascii code of ") + "string"
cstextile1
Got that Thanks
** solved my problem too. my question is no longer valable
Actually I have PHP Variable which has the HTml code and now I want to echo in the form of javascript code i.e. echo 'var a='.$output. Is there any PHP function which will take care taht no problem is created
maybe you are thinking to
addslashes($output)
also you can try echo 'var a=\"'.addslashes($output).'\"';
Thanks Again
Ya I read this http://in.php.net/manual/en/function.addslashes.php
hewn you are askinking / programing php, try #php
***kewn === when
Ya I am using that channel but actually I had JavaScript question and then again I had some doubt so I asked PHP query
what's your take on ajax based components in UI frameworks like struts and JSF?
I'm not very fond of them because I perfer to write the JS myself
it's a fun language
But it is better to use such framework as they take care about Browser issues
I guess that
is right
but I also find I can do more creative things writing it myself?
I'd imagine afaik (or whatever library he's using, if any) does too
yep.. I have about 6 years of js experience… I pretty much know the quirks, the work arounds, using object detection, etc
plus, we use jQuery
Which one is better jQuery or Prototype?
define "better"
I like jQuery as it's more lightweight
I think prototype is bloated and it modifies the behavior of core js objects in ways I do not like
but you'll think prototype is the best thing since sex if you love ruby with a passion, because it essentially turns js into ruby
insin:I mean easy to use & less browser related problems
(i.e. me gusta)
jquery is better
does anyone want to take a look at a web project that I've been working on for a few weeks now, but haven't yet shown anyone? It's not done yet, but I'd like to get some feedback from someone.
sure if you'll give me feedback on mine
I'll take a look
http://www.telparia.com/solitaire/
Invalid argument" for statement "myb.setAttributeNode(myb_color1);"
in IE
they're both easy to use and they both take care of the common browser inconsistencies for you
it works fine for firefox
woah cool
http://andrewdupont.net/2006/05/18/javascript-associative-arrays-considered-harmful/ (it's an interesting article, anyways)
does it work for you?
yeah works in FF
I used for something in something_else… and of course that didn't work
I've tested under all browsers, and it works in all, just never tested anywhere other than my machines
what do you think of it? any good?
associative arrays?
you mean Object?
yeah pretty sweet, playing it now
whatd you do it for?
It's not done yet, doesn't handle resizing the window while playing, no options, different decks or other games built yet
oh.. prototype's dumb assoc arrays
I did it for fun
yeah… add something to the language that it already has to an unrelated object
sheesh
haha nice
nope, not prototype's associative arrays… people using associative arrays (hashes as an array) and javascript not blocking them.
what did the 37 Signals guys think was wrong with just doing something like var stuff = {name:'james', age:22, FooBob:33};
any feedback? Anything look wrong/ugly to you?
nope works like it should so far, gonna see if i can win
nothing… they just added properties and and using a for loop or an associative array (bad hash) like many people do does not work with the extensions to array that prototype adds
I plan on implementing some crazy cool animations when you win, but right now all it does is say 'you win!'
oh yeah… js Array can be used as a hash because it prototypes Object… but the behavior is inconsistent
what are you gonna do with it?
it should still work if you use hasOwnProperty
it's pretty . (I'm still loading- on dial-up)
you knwo what would be cool, to make a shit load of games, and sell ad space like on the cards
it's actually just about the misuse of Array instances as mapping
Going to finish it, add more decks, more games, and just announce it all over the place for people to play
lol, yeah
people could advertise at like 50% opacity on the card
sorry about the high bandwidth you need, it's only during loading, after that you should be good. I did it so you can have pretty cards
nah, I just want lots of people to play and have fun
that's fine
ads would ruin things
yeah but it would give you money
firebug doesn't work
I just installed the extension but when I click open firebug or open firebug in new window nothing happens
did I kill your net connection? rofl
You prob. need to enable it, lnxnt.
Click the firebug icon, and add the site to the allowed list.
nope, it was just my brother. I have our dial-up across two laptops with ad-hoc wireless. He's on windows and I'm on Linux, lol.
ahh hehe
Thanks for trying it out, I appreciate it. I'm glad you don't hate it
allowed sites and nothing happend
sure sembiance, let me know when you got more
i'll show you my project in a min
not as cool looking
I have less time now a days because I have a girlfriend (my first one ever, got her about 4 months ago) but I'm finding a good balance between code and girl
haha nice
i have to balance two lives… college baseball and coding
it's a good thing that you're not treating her as an object, or anything
they dont mix that well
show us a photo
no.
horny fuckers.
lol.
http://www.telparia.com/yosemite/
no no
Thats odd. Try clicking the green checkmark on the bottom right
I'm a girl
ooo.
ah
I know the 'got her' thing sounds funny, but I didn't mean it that way
uI know the 'got her' thing sounds funny, but I didn't mean it that way /u
lol
I don't think I could ever date a JavaScripter of the opposite sex.
Too much competition.
Me either. I hate javascript.
she doesn't code
mmmm!
(actually I probably could)
*smooch*
did you see the pictures okay?
I use my athlete status to get girls, leave the coding side for the 3rd date or so
nice
thanks You are a cute couple
thanks It's the first relationship for both of us. We met through match.com
I think the disconnect stopped all transfers… I've been at 24% for the past like 10 mintues
minutes*
ahh hehe, yah, I might have to look into fixing bugs when your net connection drops during the loading
stop smooching
Okay, okay.
you can help debugging my script instead
luckilly that's just preloading images, so if you refresh the page it should kind of start where it left off
well, the idiot trying to play the game should just reload
BradleyB:
hey Sembiance
found a glitch
Make sure that firebug is enabled, and the site you're debugging is on the allowed list.
?
one of the 3 showing cards in the deck stayed flipped over
Perhaps try to restart FireFox
oh, that's good
only happened once
so you hit deal and it moved three cards over but one stayed upside down?
probably didnt fire the flip event or something
yeah
Also, try calling "console.log('your message here');" in your JS, it should log to FireBug
k, I'll put it on my list of things to fix. thanks
if you can find it
like i said it happened once so
hopefully it won't be too hard to track down. I'm doing a lot of animations and I kind of just expect them to work, so if they fail I'm pretty sure I don't handle it correctly and try again or skip the animation and just swap out the card. I'll take a peek
did it load up for you yet?
I had to load from the begininning
yes, but the first 24% should have went a lot faster
it's a 19, but if the game's half as good as this loading screen, then I'll be happy
at*
I never tried it in low bandwidth conditions before. Let me know if the percent complete continues to stick or if it goes up
hiya
'lo semb
you have to understand that I'm probably only downloading with 14.4kbps, it's a 42.2kbps dial-up connection across ad-hoc @ ~1mbps with lots of inconsistent packets
yup, can do.
Want to take a peek at a web project I've been working on for the past few weeks? It's not done yet, but it's working enought that I wanted to get some feedback from some folks
mmm, k
http://www.telparia.com/solitaire/
is it right to install firebug as an extension? Maybe it is also a standalone program and I don't know that
no, extension is good. firebug is yummy
the standalone is useful for browsers that aren't Firefox :p
did it load up okay for you? do things seem to work okay for you?
yeah
the background looks like a floor, though
a floor far underneath the cards
it doesn't look like a wood table
I just grabbed whatever pattern I could find on the net that tiled well and looked somewhat nice
bI just grabbed whatever pattern I could find on the net that tiled well and looked somewhat nice /b
it's far from finished. I'd like to support additional patterns and custom ones (you just enter a URL and it uses that, either pattern or wallpaper)
but that's a ways away on my to-do list
yeah, heh
anything else you think is stinky?
REEESIO
hm
wtf is this poker thing
OO
not really
Damn nice lol
you think once it's finished people will use it? My goal is to have people play it and make people happy
im already using it
lol
are you speaking of my solitaire page?
probably - there might be more motivation if you keep stats or something
Yeah.
with this particular solitaire it's not exactly as much about skill :p
score board
but still
or whatev
;p
the images seem to be distorted, is that by design?
aye, I can gladly keep stats, but cheating is very possibly as this entire thing is offline capable, so the client is in the hands of the enemy
cheating is always possible
I have on my to-do list to improve the card images. Right now they are scaled to give you the biggest sized card for the screen, but that results in some icky looking cards in some resolutions
having nice looking cards at multiple resolutions is a big goal of mine and I'll be working on that some more
~[ Sembiance ]~ once you finish this you should use your skills for something productive, either make life better via opensource or make some cash baby
do you like it?
yes
im playing it now
theGZA is almost never impressed
but this is impressing
hehe thanks
oooh…. oooooooh… it's pretty… but one of my cards didn't load… probably dial-up
it's not done yet though!
how in the world do you even start coding one of these things?
yui
whats so special about yui
and I how do I flip the cards from the deck? Click them? It's not working in Konqueror (it might work in Firefox, though)
widgets
hm?
i dont use YUI, but i know its basically a bunch of set of widgets
hrm, it works in konq on my system, but I'm running the latest version of konq. Yah, clicking should flip three from the deck
ahh… wait never mind; I think that I just needed to place a window over my K window
I designed it so it will be very easy for me to make more solitaire games in it, my goal is to add a LOT of them
Next I'm going to work on getting additional decks up there, and making it so you can choose between 'Nicer Looking Cards' or 'Larger Cards'
Not sure which option I'll have be the default
anyways, thanks all for the input
argh
i'm stuck
hmm what can i move
i lost too
lala
whats up
nice
i'm almost done
fuck shit
now i'm really really stuck
I have on my To-Do list to implement some really cool 'Win Animations' so you feel really good when you win and get rewarded, but I haven't done that yet. So right now it just says 'you win!'
i came so close
fuck.
son of a bitch.
im telling you sembiance
you should get some sponsors, you could give away coupons to winners
keeps them playing
Right now if you want to start a new game you just need to refresh, but soon I'll have a 'New Game' option or something so
and then advertise on the cards
won't ruin the game
and you could bank
do it or im stealing your code.
Maybe on the empty space at the bottom of the wood
;P jk
I need a black cover 2
Fuck!!!!!!
which you eventually cover up with cards
right now I'm not thinking ads or money, I just want to make people happy and have people play it. I also want to make it the best damn thing I can (lots more game types, decks, features, etc)
So far you folks have racked up 27 plays
I see. Just a thought, I dislike ads myself. I'd rather absorb the hit on the materials and take the time to code it correctly
I don't ever plan to advertise on it
even better
hmm freenode…
:P
sembiance
http://img168.imageshack.us/img168/250/almosttp3.jpg
so I was nervous showing people, I was afraid they would be like 'dude, this sucks, why did you even bother' but I've been pleased with what you folks have said
can i make a move?
lol
i'm stuck
How is it working?
sembiance?
you look like you've lost
Sembiance makes some cheatcodes
on my to-do list is to detect when it's impossible to win and inform you
well, that's because it's awesome
alt+iwin
Also on my to-do list is some additional menus such as 'Cheat'
but maybe that's hidden or something, dunno.
make an RPG
make Halo Browser Edition
rofl
you drag master chief around? rofl
$('#carbine').each( function() { shoot(bullets); });
LOl
No
I have the greatest idea ever
Make a porn one
Hell yes.
fuck y eah
hella money
GREEDYNODE FOR LIFE
well
you'd have to have 2 versions
1 for males, 1 for females
the default is for males
censor all the penises
4 versions
and then show big tits on the queen and shit
rofl
male, female, soft, hard
i dont know
:p
Fetish.. Non fetish
how can I know the display value of an element?
innerHTML?
.value ?
oh
no
input.value ?
no no no
.firstChild.nodeValue ?
so you had mentioned that you wanted me to look at something you've done?
sure if you'll give me feedback on mine
obj.style.display
the display value… I mean, if it's set to none
value ATTRIBUTE?
O
or it is actually displayed
wymetyme
did u see my screenshot
can i move anywhere?
i'm fvcking stuck
the display value which is changed by Element.toggle
dont wanna restart
didnt look hold on
Goetmet
http://img168.imageshack.us/img168/250/almosttp3.jpg
are you using any libs?
jquery?
prototype
oh
prototype
var display = $('element').style.display
oh
"a" at 71.6.194.243 pasted "t" (1 line) at http://erxz.com/pb/3482
tthanks
~[ Sembiance ]~ gimme a min and i'll show
just a weboffice app for my job
not nearly done
"YOU ALL SUCK" at 71.6.194.243 pasted "MONKEY BALLS" (1 line) at http://erxz.com/pb/3483
"YOU ALL SUCK" at 71.6.194.243 pasted "MONKEY BALLS" (1 line) at a href="http://erxz.com/pb/3483"http://erxz.com/pb/3483/a
*errors
*MONKEY
fuck
can't even make a proper joke
its ok.. jokes aren't really appreciated here anyways
I sure don't appreciate them.
i just uninstalled vista on my new laptop
vista + dell bloatware == slow comp
true
well, I'm off to eat some pizza with my girlfriend, later everyone
is here some inuindo in there?
lol. nice, adidos
*there
(whoops, I thought I was in #ruby-lang/ #rubyonrails)
i figured you were just adding to an array in php
in irb (interactive ruby) if you typed that (something == something else), you get a return of true, and returns are always prepended in irb with '='
so if I define this.variable = 1; in some function foo() { … }
i can't access that variable outside of that function, ever?
you could
foo.variable
foo.variable?
heh
wierd, doesn't work here
you have to make a new instance of foo
Oo
myfoo = new foo;
myfoo.variable
i believe
var foo
* var myfoo = new food
dammit
foo
baye
hey everyone
guys, how can I stop a javascript execution?
remove it
in what?
I need to make a javascript script stop at some point of the script
why
what do you mean by why ?
the reason?
that's the way I design it to work basically
but I am missing that function
it's just a validation scritp
do you understand what I mean?
oh break!
ye
return works also
long time not doing anything with javascript
is there a way to findout actual image size from javascript
?
i have http://my.server.com/someimage.gif
is there a way to get just the width, height of that image?
w = document.getElementById("img").width;
or something
with a javascript?
yeah
google add contents to select with javascript
Oo
great
but what if that image isn't loaded in the current page
then you cant access it iwth javascript
hehe
yes you can.. I don't remember how
you could maybe check it with an ajax query
hmm
mmk
foo = new Image();
foo.src = http://my.server.com/someimage.gif ?
w = foo.widht
?
that might work perhaps
That should be the width defined by the img's attribute
not the /actual/ width of the image in its file
nor the actual width it's displayed at
(which would be affected by CSS)
you are gonna have to use a serverside script to get the files real dimensions im pretty sure
w = document.getElementById("img").width;
works fine
..height also
sure .. if the width is accurate, there is /no/ guarantee it is accurate however
depends ofc on how accurate one need it to bee
could anyone please help me, i think this is right but it doesnt work onclick="var compra=document.facturar.articulos; compra.options[compra.options.length + 1] = document.facturar.cod_ser;
i have only done that for scaling down or up images in a viewer ince
once
work if there is an external script imported?
do a function and call it from onclick
ok
is loaded an event handler for DOM objects?
or only the page itself?
j,
hm
onload is for the page itself
cool, thanks
um
dom becomes ready earlier
is there a javascrip debuger for IE, alike Firebug?
u can run firebug in IE
google for firebug lite
Oo
not 100% of the firebug
but u get the console
and can se what your stuff returns
firebug light is nothign like firebug
it doesnt throw very descriptive errors
something else about it, it still doesnt work
for the error problem, install a debugger, such as MSE:
you can log to it and se what your elements and objects returns, its useful
`js mse
install the Microsoft Script Editor to debug in IE: http://erik.eae.net/archives/2005/07/04/21.49.50/
that script editor is kinda whack.
ofcourse
its for IE
it HAS to be whack
there is a pay ware firebuggish thingy for IE that seems good.
cant rememnber its name now
is that the thing that displays line # and char # where there is error?
but it was 100 dollar something
function add_compra(form){
form.articulos.options[form.articulos.options.length + 1] = form.cod_ser;
}
onclick="add_compra(this.form);"
it shows you the line
uea
yea
and that's all
heh
and tells you the error message
that's a significant hurdle, considering IE often tells you the wrong file
hm
well
width: "900px",
Object Required
wtf
using MSE?
yea
have you changed the page?
well yea
and reloaded IE browser a couple of times
anybody?
page works fine in Firefox
heh
i found the error, i missed the important part
form.articulos.options[form.articulos.options.length] = new Option(form.cod_ser.value,form.cod_ser,true,false);
whoa, so many options
hey guys what if i want to set a option with an space i mean can i do new Option(form.cod_ser.value+" "+form.cant.value,form.cod_ser,true,false);
?
how can i concat strings?
tag
or the whole page?
MSI debuger that is
i am a a php programmer and need to be able to add and subtract forms on the page. Any links to tutorials and where should i start learning javascript?
thank you
you're welcome, my pool of knowledge is unlimited it seems
work if there is an external script imported?
first dont put javascript in the href
a href="#" onclick="yourscript"
is that function in the external script?
eh?
eww, href="#"
use a button
that bitch put solitaure down
im pissed
down for updates
yes
it is in an external script
input type="button" value="Do something" onclick="doSomething();"
then you have to style the button :X
yeah, if you want it to look different, of course
~[ owlcat ]~ you ask how to make it work? I dont understand exactly what you mean.. to make the function fire onclick, then do what either I or deltab said
w u g
cool, thank you.
why can't you kill the onclick attribute
?
what do you mean
document.getElementById('foo').onclick = function() { dosomething; }
much cleaner.
oh
yeah you can do that too
onclick ATTRIBUTE is gay
what goes in the value, theGZA? The script location?
did you ask him?
No
it doesnt have to be input
that value is what the button says
it can be any element with an ID
like "click me"
right
most use "submit" as the value
depends on what it is
Oh. Cool. So, theGZA, what I want to do is have the function stored in an external script, linked by a script type="text/javascript" src="script.js"/script, not have the function inside the link.
rrright
so then put it in external
ok
and dont forget to add the event handler after the document has loaded, or the dom has loaded, whichever
theGZA, what is that?
onclick ..
that's the event handler
it won't work if the document hasn't loaded or the elements/dom tree hasn't populated
Can't you feel teh love tonight -_-
laff
hey guys how can i check if a var is numeric?
is_int ?
err
numeric..
hm
typeof ?
if (typeof == 'integer' ) ?
err, number
rofl
seriously what can i use
okey it worked
but i have a problem, if getting the var from http how can i cast it to integer?
document.form1.cnt.value
hi
I'm trying to create a small script for the greasemonkey extension for firefox, and I'm trying to remove the 'referral' part of all links from a page..
so how can i cast a value to integer
the problem is that the 'referral' part has a post id and a thread id that change.. can I use a regular expression in the .replace(str,str2) method
ah, nevermind — I found a simpler way to do it
if(typeof(Number(form.cnt.value)) == "integer") why is that not working?
what is Number?
parseFloat(form.cnt.value)
parseInt too or not?
i think
it keeps saying not number
if(typeof(parseInt(form.cnt.value)) == "integer"){
alert (typeof(parseInt(form.cnt.value)))
see what that gives
damn it was number
damn, the problem now is that even if i send text it will say number
do this
if (!isNaN(parseFloat(form.cnt.value))) { // was a number
so cool, thanks a lot
np
will that work for if(!isNaN(parseFloat(form.cnt.value))0)
?
how is shell debuggin shell for firefox?
0) {
oops
0) {
quick would probably be
0) {
i used indexOf
I don't get what you're trying to do
how can indexOf replace what wymetyme's code does?
anyone here got experience writing jquery plugins?
O_o
#jquery might exist
it does
no1's anwsering
everyones asleep i think
im 'johnresig' on aim ;p
nlogax should be active in #jquery
guy practically lives there
lol
Woosta, are you on during week days?
yes .. I'm here 100% of the time
really.
hmm
well can someone have a look at this, im all confused, i think i need to make a global array and store all my image objects in there… http://pastie.caboo.se/76983
time
Mm
time
4, Baghdad: Sun
`js time
Mmm .. that machine needs ntpdate running on it
4pm in la
yup
that's what it will give once I run ntdate
time
heh
time
6, Baghdad: Sun
Died when the time changed to the 'future' .. decided the server had gone away I guess
heh
Any major areas around the planet I'm missing that can't be easily inferred from those?
Mm .. should change the order to start at the IDL I think
time
9, Baghdad: Sun
bah
rehash
OK
time
syntax error at (eval 1005) line 8, near "'Asia/Baghdad'
… 'London'"
BAH
rehash
OK
time
9, Los Angeles: Sat
nearly there
nothing between 8am and 1pm .. maybe I need NZ in there
hawaii
imho it should be the reverse order, but that's probably just my north-centricism
more likely to be your americentrism
time
3, Hawaii: Sat
I'm not American, but I am used to seeing west-to-east presented left-to-right
ahhh
where are you?
I can see an option to post it in that direction so that the numbers 'increase' .. but instead I've gone with the daylight
time Australia/Melbourne
Time at Australia/Melbourne: Sun 13:17
elements ?
Done.
or does it have to be between head
sure
Nup, can put it (almost) anywhere
oh, fine
thanks
UK
Surprised you didn't want me to start at greenwich then
I consider the Americas, Greenland and Iceland to be west of me
so from the IDL, east around to the IDL again
i want to create rows of same of data in form at the click of a button
initially there will be one row.. but on clicking the button… another row will be displayed
the form elements will be mapped to JSF Bean
how can i do that?
hey guys, i need to execute a js function just before i submit a form, will onClick do it for me?
onsubmit
oon the form
ok thanks
it didnt show the alter msg before the submit
alter?
alert?
:P
arlet?
lol
yea i ment alert
ment? mint? mont?
`paste @ jmoncayo
paste: Paste links, not code: http://erxz.com/pb/ http://pastebin.parentnode.org/ http://paste.css-standards.org/
what element are you assigning the onsubmit to?
"jmoncayo" at 71.6.194.243 pasted "i want to execute this before i submit the form" (8 lines) at http://erxz.com/pb/3485
does it looks good?
no
damn
whats wrong
paste ur html
your "form" i mean
heheh
there's no .concat() unless you're using VBs
"jmoncayo" at 71.6.194.243 pasted "the form" (10 lines) at http://erxz.com/pb/3486
result=compra.options[i].value+"!";
i found that .concat on a js web
and it worked before
hehe
is not built-in, so, must have been a custome method
are there any built in js methods for merging arrays
ok
well
there's a .concat() but is an array method
not a string one
ohhh
anything else beside it?
a=[1,2,3]; b=[4,5,6]; c=a.concat(b); c.toString()
1,2,3,4,5,6
everything else looks ok
it wont alert me
that means is something else
well… paste your call to the function
or the relevant markup and js
I have a text file on my server. Any way I can use Javascript to save the file onto someone's computer?
lol
i already did paste
well
that's not it then, it should
whats this textfile for ghhhty
It's a story.
couldnt you just use a cookie
no dice, no access to write a file by design
Because if I link to it, it simply shows the text.
I'm trying to make the the save dialog show up.
force mimetype?
yea
Alright, I'll google that
force the MIME by means of Content-Type http header served when the specific file is being clicked/requested
or just use different extension (one that isnt supported by default by everybrowser)
Alright., thanks
..
?
I said thanks
so, you have a typo on either
always a typo
damn
thanks a lot
no problemo amigo
muchas gracias
de nada =P
hey little problem else, it alerts true! but no the value
well
you had a wrong .concat() before ^_^
what's the function doing anyhow?
"jmoncayo" at 71.6.194.243 pasted "the form" (8 lines) at http://erxz.com/pb/3488
well, all started because i needed some kind of list box where i could add or delete items, so the only way i found to do it was js and select, now the problem was that i needed to send all the items i added to list box to my php function, but with select i could only send one value. so i
created this new function to concat all the values and send them as one with a hidden input
it all started with a big bang!!
or is it with a SHA BANG!
lol
so what could be wrong in the script now?
concatenate all values?
yes
and submitting them as a hidden one? sounds I N S A NE
why? don't you only need the selected value?
because one admin can dynamicly add new items, so the user can choose all those items and reserve them
i found the problem
so dumb
to which line does the error refer to in IE debuger?
is it the actual html document file, or the javascript section in the document?
imho, all html file
hmm
newb question (php programmer first js program) document.write(h3Additonal Head input name="addhead1" type="text"/h3) how do i make addhead1 be a variable?
in PHP?
no js
docuemnt.write("h3…input name="+ addheadVariable +" type=…/h3");
ah thank you
hmm
oh.. ok
)
heh
"docuemnt"
)
so docuement allows adding variables and document doesn't?
joking
ha. ha.
hello, how do you fix the png problem in explorer 6? (the transparency problem)
`ie pnghack @ Techdeck`
Techdeck`: ie pnghack: www.mongus.net/pngInfo/ , http://xrl.us/jywg , devilock: http://urlx.org/web.archive.org/0035a , MSDN reference: http://xrl.us/sygd. Also see `png
gamma
thanks
Woosta, which one do you recommend on using?
anything
IE sucks. Stop bending over to support it
no difference?
haha
tell me about it
but I work for a web development company, I can't 'not' support it
wish I could be like talks.php.net
if you use IE they kick you out :p
Hang on .. you work for a web-dev company and you're asking in a JS channel how to fix IE's png? Surely one of your co-workers will already have a library installed in your project repository to handle it ..
yeah one of them did have a fix, but I'm not at work atm
I took my day off and I'm working from home
)
*burp* make it a gif *burp*
I wish I could
but the designer is being stubborn :p
That's what I did on one of my sites .. an IE CC that replaced *.png with *.gif
oh
you mean really convert them or just rename them?
eh?
nvm, stupid question
yup
ok hold on, I'll try the first solution, let's see how it goes
hmmm
Woosta, why does it use a transparent 1×1 gif?
what for?
hehe
IE let me know when there's some javascript error but FF doesn't
the png hack deal works
can I change this behavior?
in FF
CommandPrompt, but why is there a 1×1 gif?
what do you mean?
that ruins the whole point of png
so, just use that I gather, IE7 png support is not full, but decent enough for many alpha pngs
Techdeck` because that's hwo it work
when there's a javascript error IE displays a yellow exclamation icon at the bottom left
but FF doesnt tell anything
error console
from what I understand (the designer explained), .png images can be half transparent, if you use a transparent gif, doesnt it ruin the opacity level?
maybe I'm wrong..
Techdeck` read the code and work out how it all works
ok
The links aren't going to be there if they don't work
thanks Woosta and CommandPrompt
thanks Woosta
Woosta, how do I use the png fix for background images?
it seems it doesn't affect them for some reason
Read the damned docs
there's nothing about it in the pnghack docs
anyone knows?
hehehe
no true
I don't see anything about it..
they do indicate and give instructions on how to apply it
they also point out how it works too
theres a css hack
I applied it and it works, just not for background images
no, not for backgrounds .. there are other things to do for the backgrounds, but you'll probably have to do it yourself
I don't think is meant for bg images
Once you understand how the hack works, it will be easy to do it for backgrounds
ah
I see
heheh
let me have a look
in short, you will end up using an IE conditional methinks
you can, for IE alone, remove the img from the background, as background image, and put it on the foreground, give the containing box, position: relative; and stick the img on the foreground in it, with position: absolute;z-index: -1;top: 0; left: 0;
z-index: -1; on an abs pos box, in IE drops it on the background, and apply png stuff on it
stick all that in an IE conditional
that might work, but it's horrible :p
must be a better way
?
heheh
we're talking Internet Explorer here
horrible and IE go in the same line
heehh
how do you make draggable elements?
true but still :p
i just got AJAX working, which is exciting.
check the distribution libs for any drag subroutines
well, then i'd wonder how the subroutines work.
you don't just set an element as "draggable"?
using a lib, yes
Techdeck`: try this Techdeck`:
crap lol try this http://pastie.caboo.se/77003
wow nice Byron, let me try
can I private message you Byron?
so I won't piss Woosta off :p
ok
does anyone know a way to check if an image is loaded without using a timed event?
onload only seems to work on opera
apparently ie supports onreadystatchange
as for mozilla…?
both joke(maybe)
yeh onload fires in firefox, but way before the image has loaded
Techdeck`: how did that css work for ya?
Byron, Private messages from unregistered users are currently blocked due to spam problems,