| |
| |
| |
|
Page: 1 2 3
Comments:
<0> ... <0> Two lines above "* Ci40 has left #javascript" <0> "...and I've tried only having one up at a time" <1> Ah. <1> Sorry, missed that part. <0> Nps =) <1> FYI, The links are already registered ind document.links, so there's no need to look up all the A tags. :-) <1> At a glance I can't see anything wrong though. <0> Which script was I looking up A tags in? <0> oh <0> I must have had a blonde moment >.< <0> Do you have FF installed? <1> It's my primary browser in fact. <0> Could you see if my JS works for you in it? <1> Sure. <0> www.joechilds.info
<0> If you rollover the vertical strip on the very right, it should slide out <0> Also hovering over the hexagons should bring up a tooltip, and rolling over the menu options for Portfolio and Contact should swap an image into the tab in the top-right <1> It does. <1> That works too <0> O...k. Time to fire up FF again <0> OH <0> I bet I know what it is <0> Lol...I'm a creting <1> Except your preload isn't working. :-) <0> *cretin <0> Lol...that's such a bad mistake to make >.< <1> Js disabled? :-) <0> Yeah, my mate had a site that had an annoying script on it, so I disabled it in FF <1> Hehe. <0> i feel stupid lol <0> How could I fix my preloader? <1> Declare a new Image() for each image should do it. <1> Changing the src probably happens too fast or something like that. <1> Gimme a min and I'll dig up mine. <0> Ah, so like, instead of imageHolder.src=preload[i]; I should use var imageHolder[i].src = preload[i]; ? <0> After declrating imageHolder as an array <1> http://www.html-channel.com/pastebin.php?id=4 <0> Ah, I think I see the problem with mine <0> imageHolder = new Array(); instead of *var* imageHolder... =P <0> Although it's still not preloading <0> http://pastebin.com/738056 <0> Anything glaringly obvious there? <2> imageHolder.src = preload[i]; --> imageHolder[i].src = preload[i]; <0> Ah, thanks. Missed that one <0> Yep, that's working now =) Many thanks <2> cool <0> OK, one last question, about regex <0> Tried to write a Regex to check to see if an email address was valid structure <2> harder than it sounds heh <0> I found =P <0> Just pastebinning it now <1> There's probably many thousand hits if you google for "e-mail regexp" hehe <0> http://pastebin.com/738064 <0> Well, the code is for my portfolio site, so I'm trying not to copy other peoples code. This is the first time I've asked any help on it, and it's cos it's too frustrating, sitting in front of JS and thinking "WHY doesn't it work!?" =P <0> Well, I have to go now, but thanks a lot for all your help, Pilum and RoBorg. VERY much appreciated =) <0> Hi everyone <3> is w3c validator good? cause it tells **** i think <4> good <3> Line 349 column 76: there is no attribute "PLUGINSPAGE". <3> in an object <3> o.O <1> Quite right. <3> and many many more <1> There isn't. <4> correct <3> well, why is it in use? <1> Because someone got creative and invented their own attributes? <4> i didn't write your page, couldn't tell you <3> then if i got objects, which require pluginspace and wmode and blablaabla, im not w3c compliant? <1> What kind of objects are those? <3> flash <3> or windows media, depends on a page <1> Never hears of flash requiring pluginspace? <4> there is a standards compliant way of doing that <1> s/?// <3> there is no attribute "TYPE". type="application/x-shockwave-flash"
<3> [Torgo]: where can i read bout that ? <4> i myself use <4> <object type="application/x-shockwave-flash" data="/img/official.swf" width="220" height="75"> <4> <param name="movie" value="/img/official.swf" /> <4> <param name="loop" value="false" /> <4> </object> <3> why do i get theres no attribute type then ? <4> shrug <4> what dtd? <3> dtd ? <3> oh <3> "-//W3C//DTD HTML 4.01 Transitional//EN" <4> works fine for me <4> i just wrapped that fragment with markup and submitted it <4> came back valid <3> is it veryvery bad if i dont alt images ? <4> anything that causes you to be invalid is bad <3> oka <3> y <3> thanks <4> unless you like spending time hunting down weird errors later <4> http://nomorepasting.com/paste.php?pasteID=62868 <4> that validates <3> okay, thanks [Torgo], i need some sleep now.... <4> np <5> hi there <5> how are you? <5> basically i used dreamweaver to create a website <5> and i used some javascript rollovers <5> but if i use the xhtml transitional 1.0 my internet explorer popup blocker pops up <5> if i use the html 4.01 transitional then everything works ok <5> what can i do to prevent the popup blocker besides turning it off <6> hi, just wondring, if you have a uncommon font and use it in html, if the user droesnt have it in his pc, what's an alternative to be sure that theuser will hvae the font in his pc to be able to view it. place a script to download the file automatically? <3> arial <3> and dont bother ppl with downloading fonts <6> my client needs this font <6> they have this <link rel="fontdef" src="coprgtl.ttf"> but it doesnt seem to work <6> aah only works with .pfr and not .ttr <6> and for netscape <3> your clint is 2000000 ppl who will see the page without the font ? <6> yessss <7> can anyone please help me? problom: http://pastebin.com/738881 <7> guys? <7> Pilum? <1> Hm? <7> any chance you can help out on a little matter? <1> Depends on what it is... <7> i built a code and it's ok exept one case <7> and i don't know how to solve that case <7> if you could take a look: http://krayot.net/Bug.htm -> press submit without selecting and after that, select and then press submit again <1> Firstly you have nothing with name="F1", secondly you should use the document.forms collection when referring to a form, and thirdly, in your case you should p*** this.form as a parameter to the function rather than look up the form reference inside it. <7> emm <7> how do i set F1 = this.form? <7> like.. <1> You don't. <1> It is already set. <7> explain <1> From the perspective of the button, this.form == document.forms['F1'] <7> ub the button i do: onclick="return selfcheck(this.form)" <1> function selfcheck(F1) { <7> oh <7> changed the 2 subjects.. <7> now there was a third one <7> "you should use the document.forms collection" <7> never worked with it <1> Because like many who start learning js nowadays you've jumped right on the hype of using all those fancy DOM methods rather than finding out the basic indexing which is always done by the browser. There are several object collections being registered for the page, and it is much more efficient to use them than to use the getXXbyYY() methods. <1> document.forms is a collection (in essence an array) which contains references to all, if any, forms on a page. <7> where can i learn about it <1> Hm. Looks like mozilla's DOM page is down atm. <7> ok. <1> http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/collections.asp <1> That's for IE. <1> You'll find most of them to be crossbrowser though. <8> hey everyone
Return to
#javascript or Go to some related
logs:
#AllNiteCafe #javascript #php 12WHAT WORLD WAR II COMMANDER HAD THE FORENAME ERWIN? pizda goala #networking 2.2.2 gentoo apache solaris 10 netgear ma311 pixelview ubuntu #teens
|
|