| |
| |
| |
|
Page: 1 2 3
Comments:
<0> :) <1> ah, 'cause they use span <1> here's what you do <0> yeah I had to change it to textarea textbox to get what I wanted <1> in the onclick, change it so that it p***es the name of your textarea: e.g. onclick="ClipBoard('text1')" <1> sorry, use id instead <1> then in the function, change it to this: function ClipBoard(objId){holdtext = document.getElementById(objId); //rest of code stays same....} <1> hmm... there's more to it then that...the code in that example is terrible <1> heh <1> ****ing microsoft <0> lol <1> but you must get what I mean at that point. <1> give me a minute and i'll put something on a pastebin <0> yeah... hehe, gotta love ms <0> okie dokie <1> your stuff is already in a text area though, right?
<0> textarea textbox, yup <1> there, msged it to ya <1> you could merge the first two lines in the function if you wanted to. <0> ok brb <1> here's one that works in firefox: http://la.ma.la/misc/js/setclipboard.txt <0> <BUTTON onClick="ClipBoard('ID');">Copy to Clipboard</BUTTON> - here is the code for my button, every time I click it now IE spits the dummy and says "Error: Object expected ; Code:0" <0> here is my code for the textarea textbox <TEXTAREA ID="text1" COLS="100" ROWS="27" WRAP="VIRTUAL"> <1> 'ID' != "text1" <1> try ClipBoard('text1') instead <0> k <0> by the way do I need to put that script in the head section of the page (as usual) or does it need to appear in the body section <1> it can go in either, but best practice dicates you leave it in the head <2> meep <1> hi fatbrain <0> ok, because it's still complaining about object expected <2> Hello furtive. <1> |edin| post your code to http://www.nomorepasting.com <1> bwahahaha:: http://www.farkimages.com/uploads/ba3f089249.jpg <2> haha <0> http://www.nomorepasting.com/paste.php?pasteID=57449 <0> the html> actually has <html> in my html page, that's just my mistake with copying and pasting it across <1> hmm.... |edin| you're making me repeat myself <1> 'ID' != "text1" <1> <button onclick="ClipBoard('text1')" <1> that's what you want <1> you're p***ing the id of the text aea you want to copy, and that id is 'text1' .... not 'id' <2> furtive: delete a folder in linux? <1> rmdir dirname <2> non empty one? <1> rm -rf ./dirname <2> ah, thanks <1> don't forget the ! <1> err . <3> nooo <3> rm -Rf ./dirname <2> ya, I know <1> hehe <3> case sensitive <2> NeoFuture: no <1> depends on shell <1> and os <3> yes buy Rf works on all ;) <1> yup <3> rf dont work on all <0> <BUTTON onClick="ClipBoard('ID' != "text1");">Copy to Clipboard</BUTTON> -> ok this is the code for my button now but it doesn't copy anything when I click the button <0> :\ <1> holy **** <1> <button onclick="ClipBoard('text1')" <1> you're p***ing the id of the text aea you want to copy, and that id is 'text1' .... not 'id' <3> swearing <3> dont say cunting nasty ****in words ***hole <1> do you understand |edin| <0> yep but after putting it back to <button onclick="ClipBoard('text1');" IE's bitching about object required :\ .... heh, bummer <1> you have more than one text area with id text1 ... id is supposed to be unique. and your html is badly formed, you have a --> with no opening <!-- <1> stop being so sloppy <0> opps <0> sorry, its been a long time since I did any coding <4> 'morning <0> ok I got it now, my damn function was missing an ending } <1> heh
<1> get a text editor that warns you about those things ;-) <0> I had to remove a lot of the text in the textbox to cut down the number of lines <0> and eventually I put in new lines everywhere and I found the error <0> darn it <0> what kind of text editor? I use notepad <1> ultraedit is a good one. SciTe is not bad. <0> cool, but how do I remove my paste id now? <0> I don't need it anymore <4> read the console in FF or turn on error notification in IE <0> by the way is there any way to remove the - that appears in the title bar of IE <4> no <0> eg Test Page - Microsoft Internet Explorer <0> I've managed to get rid of the Microsoft Internet Explorer <0> part except - <4> you hack the registry? <0> yep <0> safely, of course <0> :) <4> useless for other people to see the site <0> well this page I'm building is a page I'll definately be using personally a lot, like all day as part of doing my job <0> its a small thing but its annoying to me anyway <4> should be just a hta then <3> http://www.pipelinecard.org/ <4> http://www.randomperspective.com/page.asp?1news/2/099 <5> can you tell me please, how to put text in a cell? <5> or what is the name of the value of a t <5> td <0> with regards to heading tags, eg <h1></h1> is it possible to remove the new line it creates? <1> either give the td an id or reference it through document.getElementById('tableId').rows[x].cols[y] <1> you can add text with either .innerHTML or via the text node: http://72.14.207.104/search?q=cache:EG4DLFdsDoQJ:www.howtocreate.co.uk/tutorials/index.php%3Ftut%3D0%26part%3D25+javascript+insert+Text+Node&hl=en&gl=ca&ct=clnk&cd=1&client=firefox-a <1> |edin| format the css for h1 <1> change it from block to inline <5> ok <5> i use id <5> i want to do mm_changeprop(), document.tdid.text <5> but it did not work <1> we don't support dreamweaver or flash functions here <5> me either <5> i just want to do javascript <5> nobody know what is the property name of the text of the td ? <1> i told you what to do <5> i just need the word <5> i didnt find it <1> search for this: .childNodes[1].firstChild.nodeValue <1> and try. we're not here to spoon feed you. <4> you jsut told him to use innerHTML already. ..... I feel like kicking someone <5> i got so many trouble to speak english, sorry, <0> ok I got my heading to appear on the same line as my button but they're side by side, which css command puts a certain space after the heading? <1> you need to put in between. If you need more than one then you should put a span between and use a loop and .innerHTML. You could also use spacer images of varying sizes. <1> </sarcasm> <0> makes the code look messy I thought there was a css command <0> like spacing-right: 3x <0> so it places 3 spaces after the heading <6> i would like to have a counter to see how many times a certain picture is viewed.. is that easy to do? would it be made in javascript? <1> no. serverside. <6> im new to making websites.. would you happen to have something that does that already? <6> :S <1> depends what serverside lang you're using <6> my website hosts accepts almost anything <7> may I recommend asp to begin with then <6> i'd take anything..except im barely new to htlml...imagine asp... <7> Alex_|: For a detailed HTML guide go here: http://www.ncdesign.org/html/ <7> go find some tutorial for asp then <6> thanks <8> you probably already have a log on your server that logs every request for that pic <8> which you can count <1> yup <6> humm ok i'll check with them then, thanks for the help <7> hmm someone who codes html for food :-) <4> that's what people said html will cure world hunger <1> <table> fills me up just fine. <4> I hate management issues, the monkeys don't feel motivate enough. and they are muslim , i can't bring them to a pub and buy them beer <4> may be i can buy some danish flag and let them have some fun to burn it
Return to
#javascript or Go to some related
logs:
#linux ubuntu destination host unreachable squid #AllNiteCafe #linux xiz-zobb trid Exception! java.sql.SQLException: Before start of result set at com.mysql.jdbc.R #java #AllNiteCafe rape taiwangirl klit dalnet
|
|