@# Quotes DB     useful, funny, interesting





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



Comments:

<0> onmouseover="this.style.backgroundColor='#EFEFFF;'" onmouseout="this.style.backgroundColor='#FFF';" - im getting invalid property value on IE and nothing on FF, why?
<1> Microsoft ****s
<2> why
<2> gill gates is god
<2> bill
<1> :P
<1> Hello NeoFu7ure
<1> how are you?
<2> he made his money! i dont mind being an *** if i become as rich as him
<2> ntb
<1> yes why not
<1> its just a point that "microsoft ****s" comes to everyone who uses php, mysql and Firefox, (at least where I work)
<3> how i put a x
<3> on my chanel
<4> with a marker
<3> how i have one sk8ing?



<5> hi
<6> hi
<5> CSS question (sorry for this)
<5> i need to make something like google suggest and i don't know how to position the suggest DIV from CSS. i tried position: absolute; z-index: 10; but i don't know how to get the top and left of the INPUT field (witch is not positioned absolutelly)
<5> any ideea ht311 ?
<6> offsetTop and offsetLeft, if it is position absolutelly, style.top and style.left should have stuff there too
<5> basically what i want is to position an element relative to other element witch is NOT it's parent
<5> offset. thanks
<5> doesn't work well
<5> it does position it but not well and in IE si diffrent than in FF
<5> is it about body padding or margin?
<6> cause the box is differen in both
<6> and you are not using standard mode in IE
<5> what you mean standard more in IE?
<6> http://www.quirksmode.org/css/quirksmode.html
<5> ok
<6> http://www.redmelon.net/tstme/box_model/
<5> in FF doesn't position 'left' the right way
<5> i mean though is 45 it puts it at 0
<6> you can't complaint FF on that
<6> is your problem
<5> seems it's from JS...
<5> because if i set it from CSS works
<6> learn some more about css postioning
<5> document.getElementById('suggest').style.left = document.getElementById('search_keywords').offsetLeft;
<5> you see anything wierd?
<5> in IE works in FF doesn't (wierd)
<5> the value is 45
<5> if i set it manually from CSS works
<6> you need a unit, css noob
<6> :D
<5> doh i'm stupid
<5> what about getting the height of the input
<5> document.getElementById('search_keywords').height works only in FF
<6> offsetHeight
<6> ....
<5> =))
<5> lol
<5> maybe i should read more about JS and make a cheat sheet or something :)
<6> no, you need to know more about dom and css
<6> those are not js
<6> people always confuse
<5> now is perfect
<5> ;) thanks mate
<5> i neet to start digging into jquery and prototype because i want to build this PHP framework witch has AJAX and DHTML support everywhere it is suitable and usefoul
<6> ...
<6> not sure a library is good for you at this point
<5> i go to bed. i'm smashed
<5> thanks again
<5> bye
<7> trying to find some info on how to make one layer visible and the current one hidden, any one got a good doc i can read?
<8> Ugly_Duck u want it to switch everytime on an event?
<7> SufiBlade: when i click on one, it closes the previous
<7> like you see in menu's
<7> opens one layer, showing menu content, then when ya click on the next, it closes the previous layer
<7> or sets the style to hidden
<8> but menus work on mouseover and hide on mouseout
<7> i would like onClick""
<8> well you have to set display:none to hide a div/layer
<8> do you want to do it the easy way or do you want to learn how to do it?



<7> i am stuck on how to get the id of the first layer
<7> all layers will be set to hidden
<8> can you paste the code www.pastebin.org
<7> http://pastebin.ca/100465
<7> i can show and hide a layer
<7> i cant work out how to close the previous layer
<8> you need to make a new function called showHideLayers(layerId)
<8> whats the id of the other layer? can you paste the HTML too
<7> 1 2 3
<7> haven't thought of giving them names
<8> well will the names remain constant?
<7> unless i change them sure
<7> if i add any more i'll just make it 4 5 6 etc
<8> ok why cant you make a function that does the show/hide thing in one go. if (layerId == "layer1") {document.getElementById(layerid).style.display == "none"; document.getElementById(Otherlayerid).style.display == "inline";}
<8> if you show the HTML, it might make it easier
<7> kk.
<9> hey can anyone help me
<7> i broke my html
<9> im trying to add a search engine to my site
<7> http://ricki.jones.nz.cx/temp.php
<7> SufiBlade: you still around?
<7> ok, work.. bbl
<10> I'm learning JS and could use some help.. suppose I've got an image called Image5 and I want to adjust it through javascript, but I want the 5 in it's name to come from a variable.. I would expect something like "Image + i + .height = 50" to work, but it doesn't.. what should I do instead?
<11> hello people
<8> heya
<7> SufiBlade: ya still around?
<7> how do ys return an id to a function
<11> <img src="" id="test" onclick="myFunc(this.id)" />
<7> ahh... the whole this. thing
<7> thanks
<7> Aquel: ok, how about if i'm about to click on <img src="" id="test" onclick="myFunc(this.id)" />, but i want the id of the current <img src="" id="test" onclick="myFunc(this.id)" /> if one exists
<7> onclick="myFunc(this.id, current.id)"
<8> no no
<7> there is so many differnt ways to do things in JS, its confusing me to bits
<8> you must have one id...
<7> i guess mainly because i dont do enough of it, i normally deal with php
<7> ok, so return one id, then a for loop to make all the other layers hidden?
<7> so then its a matter of getting all the ids of the layers
<8> well
<8> if you can show your HTML, maybe i can suggest an other way without using IDs
<7> http://ricki.jones.nz.cx/temp.php
<7> thats what i was working on
<7> its been messed with while i've been trying different things
<8> yeah but you dont even have a layer called layer1
<8> but here is one way to do this:
<8> you can set a cl*** for all the divs that get hidden/shown
<8> and when the link is clicked, make a function to get all those divs and hide them, and send the function the id of the div you want unhidden and make it unhidden
<7> right, thats basicly what i wana do, but trying to figure out it out in js is not that easy for me
<8> is it possible to change your HTML a bit?
<7> yeah, thats only a test to get it working
<8> make a seperate div containing the divs that appear/hide
<12> http://freelance-job.blogspot.com/ username:p***word p***word:username
<8> example: <div id="allDivs"> <div id="2">..... etc etc
<8> oops make it like this: <div id="allDivs"> <div id="2" cl***="showHideDiv">..... etc etc
<8> then you can either gather all the divs using the cl***name, or by doing document.getElementById("allDivs").getElementsByTagNames("div")
<7> hahaha.. got one closing and opening which is kewl
<8> <a href="#1"
<8> whats that?
<7> nothing.. blank
<8> did u get what i said above?
<8> then you can either gather all the divs using the cl***name, or by doing document.getElementById("allDivs").getElementsByTagNames("div")
<7> trying it out
<8> i prefer to use the cl***name
<7> Hmm... busted it
<8> hang on
<7> set all of them hidden, then the one i want visable
<8> yep!
<8> tell me if u figure it out
<8> or i'll try to send u somethin in the next few mins
<7> take a look at what i've got now
<7> i found some old code that does what i want
<8> mm nothing
<7> Hmm..
<8> http://pastebin.ca/100697


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

villageladies uk
*** Error code 1 psybnc
#MissKitten
#asm
#linux
#networking
sikose to
DocumentError 404
#c++
#windows



Home  |  disclaimer  |  contact  |  submit quotes