@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info


Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5



Comments:

<webchick> ok
<webchick> it's working
<RoBorg> you sure? heh
<webchick> yesh
<webchick> http://www.postcreation.co.uk/test
<furtive> oh i got it
<RoBorg> ooh me too now
<RoBorg> nowwww I remember
<RoBorg> right so errm what was the question?
<webchick> yay
<webchick> ha ha
<webchick> ok
<webchick> you rollover each of the big grey buttons
<RoBorg> ok
<ht311> still nto working for me
<webchick> and "advertising, fashion, lifestyle, personal"
<RoBorg> give it another half hour ht311 ;)
<webchick> when you goto each section I want "advertising, fashion, lifestyle, personal" to stay static
<webchick> if that makes sense
<RoBorg> you want it to just stay as "fashion" for example, or you want it to return to "fashion" when the mouse is moved off on of the other buttons?
<webchick> I want it to return to fashion
<webchick> hello?
<RoBorg> try this
<RoBorg> http://www.html-channel.com/pastebin.php?id=2
<RoBorg> I didn't test it so it might not work
<webchick> mmm
<webchick> where do I put that code huni?
<RoBorg> replace the menuSwapOff function you already have in the head
<webchick> ok
<webchick> I'll have a play
<RoBorg> oki
<sal`> hello
<RoBorg> lo
<sal`> is that "remember me" stuff under the login form done by javascript or serverside?
<furtive> cookies ... so a little of both
<RoBorg> it probably just saves some data to a cookie - usually you'd want the server to pick it up
<furtive> sorry, what roborg said
<sal`> ok, thanks
<CHESU> hello guys
<CHESU> \d in RegExp works?
<RoBorg> yeah
<CHESU> or i must use [0-9]
<CHESU> but i should put in the sentence \\d right?
<RoBorg> errr depends exactly what you're doing, but normally you'd just use \d
<RoBorg> e.g. var matches = '123'.match(/^\d+$/);
<CHESU> i sue witj regexp
<CHESU> new RegExp("([0-9]{1,5})+((\\.){0,1})([0-9]{0,2})"); <---
<CHESU> i dotn know why i cant put a . in a field
<CHESU> i wnat to put a number
<CHESU> maybe with a . and 2 decimals or maybe not
<RoBorg> you only want it to match like 123.45 and 123, but not 123.4?
<CHESU> 123.4 mmmm
<CHESU> first start with the dot
<CHESU> please
<CHESU> i dunno what's wrong
<RoBorg> yeah you do need to double backslash it in quotes
<CHESU> i use this method in a real time when i put each number in the field
<RoBorg> the RE you have there isn't anchored
<RoBorg> and is rather strange
<RoBorg> new RegExp("^\\d+(\\.\\d\\d)?$"); try that
<CHESU> let me see
<CHESU> i use the method or call the method with onKeyPress , not after when i put all the numbers
<RoBorg> ok...
<CHESU> your sentence no work
<CHESU> :(
<RoBorg> worked for me.. what's not working about it?
<CHESU> well i use firefox, maybe is a problem?
<CHESU> 1.5
<RoBorg> no, I'm using FF 1.5 too
<CHESU> jesus!
<CHESU> can i copy my function here?
<RoBorg> paste it to http://pb.html-channel.com
<CHESU> ok
<CHESU> do it
<RoBorg> errk
<CHESU> where?
<RoBorg> I think you're confused about what keychar is
<CHESU> mmm ,
<RoBorg> it's the code of the key that's been pressed... it will always be an integer - never a have decimal point or be anything else
<CHESU> oh damn always see the code of the character
<CHESU> not the value
<CHESU> but how works with letters?
<CHESU> [a-z]
<CHESU> ie when i put a name
<RoBorg> var myChar = String.fromCharCode(keychar);
<CHESU> let me see
<CHESU> mmm i am confuse
<CHESU> var keychar = String.fromCharCode(key); alert("es " +keychar);
<CHESU> if i type . appaer a .
<CHESU> if type a 3, i see a .
<CHESU> 3
<RoBorg> oh yeah.. I misread the code
<RoBorg> it's past my bedtime
<RoBorg> sorry
<RoBorg> but still
<RoBorg> the RE won't do what you want because you're only checking a single character
<RoBorg> if you use new RegExp("[\\d.]"); it'll kinda work
<CHESU> and the RE all right?
<CHESU> yes u right
<CHESU> so not exist a solution?
<CHESU> i see code but without regex
<RoBorg> not like that, no
<RoBorg> you need to look at the whole value
<CHESU> and are not few lines
<RoBorg> you're doing this for an <input type="text"> ?
<CHESU> yes
<CHESU> onKeyPress
<webchick> back!
<RoBorg> wb
<webchick> it didn't work Bo:(
<webchick> I ****
<CHESU> can u help me?
<RoBorg> yeah
<webchick> merci bo
<CHESU> regex cant fail me
<RoBorg> it's not the regex that is the problem
<webchick> ?
<RoBorg> you missed a whooooole middle part there webchick
<webchick> sorry. I **** at this. My mate did the menu
<webchick> i did the graphics, basic php and css
<webchick> and my mate is away
<webchick> what did I miss?
<RoBorg> CHESU: http://www.html-channel.com/pastebin.php?id=4
<RoBorg> just me helping CHESU
<CHESU> let me see
<CHESU> ok
<webchick> ok
<webchick> give me a shout when you're ready
<webchick> :P
<RoBorg> webchick which page did you put that code on?
<webchick> well i'm using php includes
<RoBorg> mmm I don't see it in any of them
<webchick> so I just put it in advertising.php to test it
<webchick> I removed it
<webchick> there was an error
<RoBorg> :|
<Nutzz> hi
<webchick> any ideas?
<Nutzz> I'm new to javascript and would like a little hand working out what some code I have come across does
<RoBorg> yeah I think i see the error webchick
<webchick> yeah?
<RoBorg> webchick: http://www.html-channel.com/pastebin.php?id=5
<webchick> okie :)
<webchick> i'll try put that in advertising.php to try it out
<RoBorg> err oops
<RoBorg> change html to php in there
<CHESU> RoBorg, what i should put in str in html code?
<RoBorg> CHESU: err what do you mean?
<webchick> okie


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

lemming bots undernet
#AllNiteCafe
#linux
sikmekistiyorum
mirc trivia bil malti
#linux
#MissKitten
#php
consergy
#MissKitten



Home  |  disclaimer  |  contact  |  submit quotes