@# Quotes DB     useful, funny, interesting





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



Comments:

<0> somebody could helpme to do a search function
<0> somebody could helpme to do a search function?
<0> somebody can help me to do a search function?
<0> Into a html file
<0> somebody can help me???
<1> no
<1> bah. http://www.cbetta.com/blog/index.cfm/2006/1/23/the-father-of-ajax
<2> microsoft. ;s
<3> lol
<4> hmm, why would a page report that my doInit function isn't defined, yet it is defined in a file specified within a <script> tag?
<4> body onload="doInit()"
<4> <script type="Javascript" src="entity.js"></script>
<4> entity.js includes definition of doInit()
<4> <body onload="doInit()">



<4> and yet Javascript console in Firefox declares that doInit is not defined.
<3> I don't know
<4> and it used to work. that's the other fun part.
<4> ok, finicky thing wanted type="text/javascript"
<5> Is anybody aware of a good workaround for the Safari bug that causes image dimensions to stretch when doing jscript image swaps?
<6> ooooh i like filters
<7> NeoFu7ure: the cargo is out! :p
<6> cargo ?
<7> I am watching 24 ;P
<7> hhahaha
<6> cool :D
<6> its very good
<7> sound like you want me continue to spoil it for you :p
<6> OH **** ITS ON NOW AINT IT
<6> AGAGAGGAGAHHH
<6> ep5
<7> YES
<6> BASTARD
<6> DONT SAY A WORD ELSE ILL REMOVE YOUR ACCESS TO x MEAHAHAHHAHA
<7> hahahaaaahhaaa
<6> i want the mpeg
<6> (ill have it in mins after its out)
<7> NeoFu7ure: is finished
<8> Guys, I'm needing to find the width of an <a href> element. Help me! First of all, that is considered an element, right?
<1> read it's offsetWidth
<8> Torgo, does it measure what's inside the tag, or the text between the <a> tags?
<1> the tag
<8> odd
<8> OK
<8> thanks
<9> is it possible to read a .htm file using ajax?
<1> yes
<9> any tutorial you know of?
<1> tons, just google
<10> morning guys
<10> i got this: mainMenuItem("manutop_b1",".gif",21,97,loc+"home.htm","","HOME",2,2,"manutop_plain");
<10> this is a menu inside a folder called /manutop/
<10> and its looking for the "home.htm" inside /manutop/home.htm, but it should look for it in /home.htm
<10> any idea how to change it ?
<3> heh
<11> salutations matinales / morning greetings
<12> how can i disable the auto complete in a textbox?
<3> autocomplete="off"
<12> tnx
<11> no (x)html valid
<11> not*
<13> hi
<13> i have in CSS:
<11> hi
<14> Hi. :-)
<13> td { color: #ffffff; }
<13> ow :)
<14> I wasn't lying to you y'know.
<13> how do i change it in JS
<11> element.style.color = '#012345';
<13> element? ... td { color: #ffffff; } sets the color for ALL td's in the page...
<13> so what would element be?
<14> If you do want an easy solution, I suggest using cl***es.
<14> element would be objRef as I told you.
<14> You could put a cl*** on body if you want.
<14> Like body.cl*** td {



<13> this to be placed in the CSS in the header?
<14> Yes. And have multiple cl***es so you can change with document.body.cl***Name='whatever';
<14> Should do the trick.
<13> but then i'd still have to add cl***="name" to every TD, not?
<14> No.
<14> Seems that you have a few things to learn about css too.
<14> .cl*** td { /* applies to all tds which decend from the element with the cl*** */ }
<13> ow sorry, i overlooked the park where you said to set the cl*** on the body
<13> park=part
<15> Hi guys I need a help to do a search
<14> You need us to google for you? >:-)
<15> no I need to build a function to search words into htmls files
<13> and then replace them?
<15> No just search and point
<15> like this...
<14> Use a pastebin if you're going to paste code.
<15> I have a html page with two frame into the top frame I have a form where the visitor write the word
<15> and into de html in the middle frame I have to point the wrote word
<14> Play around with substring and indexOf on the innerHTML of the content container.
<15> I don't develop in Javascript could you give me a template?
<14> http://devedge-temp.mozilla.org/library/manuals/2000/javascript/1.5/reference/string.html#1193137
<15> Thanks guys
<13> indexOf is the scrolled bit?
<14> Scrolled bit?
<13> what does indexOf stand for ?
<14> Read the page and find out.
<13> as i understand , alexandre wants the page to scroll down to the part containing a specific word
<14> He has to find it first.
<15> Yes
<15> That's right NL-X
<13> ok, sorry... i was thinking too far ahead
<15> No you are right I need to scroll
<13> yeah, but find it first... says pilum
<14> I'd suggest you find the word, put it into a <span> which you can style for highlighting, and get position of for scrolling.
<15> How I do this
<15> So into the top frame I right the function, how to target into the middle frame
<15> So into the top frame I write the function, how to target into the middle frame
<13> it will be difficult to accomplish though :/ ... using innerHTML you will search on <tags> as well... and innerTEXT might leave out important parts of the page...
<14> Don't repeat yourself.
<13> make public functions :P ? or is that too much C++ ?
<14> Can't tell you for certain how to target your frame without knowing the frameset, but generally top.frames['framename'] does the trick
<15> To much C++!
<14> NL-X: JS is very different from c++
<13> ino :D
<15> It's my first job with JS I work with PHP
<14> Yada yada.
<14> I hear that a lot lately.
<14> And it's irrelevant.
<14> If you have a good grasp of PHP, then the basic workings of JS should be easy.
<15> How to get the form variable?
<14> Now you're thinking in serverside terms though.
<14> document.forms['fomname'].elements['elementname'].value
<14> Except if it's a select box
<15> Right, now how I put this into the middle frame?
<15> I get this from the top frame
<14> Why would you?
<14> You don't have to put any script at all in the middle frame.
<15> No I get the variable from the top frame to search into the middle frame
<13> i think pilum means to say, you should write your function in the top frame... from the top frame the function accesses the innerHTML of the middle frame
<13> but i wonder if the (newest) browsers are kind enough to give a frame the contents of another frame...
<14> Indeed.
<14> They are.
<14> Those rules haven't changed since I started doing js to my knowledge.
<13> (especially if you are working on different domains)
<14> You were never allowed to access a different domain.
<15> tks, sorry
<14> If both pages aren't on the same domain then your plans are futile in any case.
<13> well... thats where the 'public' function comes handy
<13> then you will need to write the function in the middle frame, to be accessed by the topframe
<15> it's the same domain I'm trying to write here I'll be back
<13> the function for the middle frame could be as easy as getInnerHTML() {} ...
<14> NL-X: You won't have access to any function if it's not the same domain
<13> well, im not pretty accurate in my memory at the moment... might be i'm mistaking... but i'm pretty sure there was something with MSIE and allowing access between frames for EITHER functions, EITHER vars... but it wouldnt allow both
<14> Must have been a bug if that was so.


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

ru hugry
#linuxhelp
ubundu vnc
httpd.conf with mod_cband
#MissKitten
#windows
#php
#networking
flocillin uses
#c



Home  |  disclaimer  |  contact  |  submit quotes