« first day (101 days earlier)      last day (4834 days later) » 
00:00 - 18:0018:00 - 00:00

6:08 PM
Now I know,
I add elements before...
jeje
 
0
Q: Load External Page Into a Div From Table Row Click

WillingLearnerI have an external page that I wish to load into a div. I want this external page to drop down from the top and bounce animate in when it is loaded. This external page has a close button, that upon click, closes the external page contents, and refills the original content that was in the div be...

 
6:39 PM
Please
look
If the searched word is in the end of the string It dosen't split it,
how can I split it two?
 
post a working example not just dump the code :)
 
How can I split using the \n
new line char
.split("\n")
dosen't work
I cant post all the code, so it will not run,
or, how can I split using a word as a separator
I another way that this : .split(" " + word + " ")
 
try running it daniel
notice how it does nothing :)
 
sorry,
;)
Can you tell me
how can i split using a word
I another way that this : .split(" " + word + " ")
?
!!!
I can't use var textNodes = this.nodeValue.split(new RegExp("[\\n | \\s]+"+objective+"[\\n | \\s]+"),"ig");
 
7:06 PM
Ugh that stuff is unreadable
whats wrong with .split(" " + word + " ")
 
one thing I dont like about the UI when you go to a chat room. Is the "Loading Chat Room" screen. It just looks dull
 
new RegExp("[\\s|^]"+word+"[\\s|$]", "igm");
Your checking for ^ or $ which is start and end of string. If you use the m flag then ^ and $ also test for end and start of lines
 
7:30 PM
what do the m flag
?
Ok so, how can I make a split with a regExp?
 
7:48 PM
split on it? your original split didnt work because the "ig" flag is suppose to be inside the new RegExp ( ) not inside the split ( ).
var splitter = new RegExp("[\\s|^]"+objective+"[\\s|$]", "igm");
this.nodeValue.split(splitter);
 
8:01 PM
MASHING F5 HARDER MADE IT WORK!!!!!
 
@Nathan ... ?
 
@Raynos don't tell me you've never seen it happen
 
Ab
any1 from london or uk
 
@Ab I think there are a couple in here
 
8:18 PM
Thankssssssssssss @Raynos for all the help
that work
 
8:34 PM
Hey there @Karem
 
Im using $.ajaxFileUpload() and when I ajax the fileupload i want to pass a extra param with it too. Im only passing a param called "file" with the file you are uploading in it..
The settings look like this:
url:'photo.php?mode=upload',
secureuri:false,
type: 'post',
fileElementId:'file',
dataType: 'json',
success: function (data, status)

tried adding data: { param : '1' } but it doesnt pass anything..
 
has no idea
you need to ask someone else in here...
doesn't use jQuery
 
oh
okay
 
Hmm
let me look at ajaxFileUpload
 
What do you want to see?
 
8:47 PM
Oh the source code of the plugin. Reading it.
 
@Karem I cant see a way to do it. The only thing I recommend is use something like valums.com/ajax-upload
Because it does it out of the box and looks nicer :P
 
hi, need some javascript ajax user to help me with something
right now, load a page withing the content of id="content"
 
@Raynos can you pass params with that and damn it uploads nice actually
 
i need to do that, plus, the id="mainHeader"
 
8:59 PM
@Karem yes. Look at the options param
 
@Raynos after reading I saw you could
@Raynos seems like people have trouble with it in the comments, ff 3.5
 
@Karem not my problem :D
 
@Raynos true..ha!
 
@Omegakenshin that looks like a mess and does manual hackery. Why don't you use something like $.load to load some html into a container.
 
@Raynos nevermind thank you very nice, will try to implement it to my site tmrw
 
9:03 PM
@Raynos its a plugin for wordpress, and it loads content good, buy my header its o another div, upwards, so, i loads well the page, but the title still "Home"
 
@Omegakenshin did you say wordpress? Get out. That sounds horrible and clunky and I'm not going to try and hack around wordpress.
 
@Raynos .... thanks for your help... just have to say, that you don't want to... anyways thanks for trying...
 
@Omegakenshin Sorry, a bit harsh. I don't like wordpress.
 
@Raynos I understand that ^^ I will look another way
 
In all honesty I can't really follow what your doing. I don't know where it's wrong or how to get it to work.
 
9:11 PM
hehe.. well it works
i just want to add a field,
it loads content from id "content" and need + "mainHeader"
 
WordPress is one of the least hacky things I find myself hacking upon in the real world.
Most of the things I have to work on are Totally Enterprise.
 
@Nathan What should u recommend to use?
 
9:27 PM
@Omegakenshin I recommend WordPress actually, if you need a blog or CMS. It has a healthy community and ongoing development.
 
@Nathan OK Great, and Drupal?
 
I think WordPress has more development steam than Drupal and is easy for users but I have very little experience with Drupal... In context: my company uses Microsoft CMS 2000, which makes all the PHP CMSes look AMAZING.
And brilliantly clean
 
@Nathan hehehe well thanks ^^
 
@Nathan are you actaully support wordpress or having a laugh?
 
Sheesh, nobody takes me seriously here.
 
Tek
9:34 PM
lmao
 
@Nathan because you use "wordpress is good" and "everything I work on is enterprise" in the same sentence
 
@Raynos WordPress is 1) hacky oldschool PHP 2) lightyears ahead of Microsoft CMS 2000 3) not really so bad if you don't look at the code
MS CMS 2000 is Totally Enterprise, if you get my meaning.
I need to go back and add <irony> tags to like everything. Oh, here:
WordPress is one of the least hacky things I find myself hacking upon in the real world. Most of the things I have to work on are Totally "Enterprise".
 
@Nathan i'm the kind of meh. I'll write it from scratch kind of guy
 
Tek
That site is annoying
refresh doesn't change the URL
 
@Nathan it's still hacky. So much PHP is bad PHP. Just like so much JS is bad JS
 
Tek
9:38 PM
=/
 
@Raynos I gathered. I worked with a guy who spent 6 months rewriting an HTTP client in PHP because he didn't like the "dirty" code that was available. I'm an unscrupulous "latch on to anything good especially if it's alive and progressing" kind of guy
@Tek the homepage is randomized, but there are permalinks. Compare also enterprise-html.com and enterprise-css.com
 
@Nathan I'm a dont use PHP guy :)
 
Tek
@Nathan Damn I missed the permalink button.
 
And holy cow, the megadollar web apps our company buys are full of JS exactly like those Enterprise examples.
 
Tek
I <3 PHP :D
 
9:42 PM
...
 
woo, 1500 rep. I feel special.
@Nathan really ;_;. can you hire me to make it not shit?
 
hello everyone

can anyone of you help to understand the concept from browser to server. In this particular scenario explained here http://stackoverflow.com/questions/4786103/understanding-activex-plugin-http-request-from-browser-to-server-flow
 
@MNadeemShaikh dont use activeX
 
then wht is the alternate @Raynos
 
@MNadeemShaikh something compliant and not microsoft only
 
9:50 PM
@Raynos - Can you please give some example
 
@MNadeemShaikh I have no clue what application your using that requires activeX
 
@Raynos I can't hire anyone unfortunately. I mostly try to implement things that don't suck and hope users can tell the difference, and hope they can convince management to pay attention to the difference.
 
Nor what your doing with it
Do you guys know if any of the regulars are based in australia
 
I think australians would be on at a different time of day.
 
I have plug-in that written in C++ that ineracts with a usb device
 
9:52 PM
@MNadeemShaikh impressive, but it doesn't sound very JavaScripty?
 
its a legacy application and the end users are using it in IE only
but i have this new implementation done recently
and want to understand
why the HTTP request behaves differently
in Approach 2
 
@MNadeemShaikh I couldn't tell you I'm afraid
 
@Raynos - Thanks for trying to help
 
@MNadeemShaikh you have two <object> tags in the first example
 
yes
but if i add two same object tags via innerHTML
then only 1 request goes
have verified this the request via HttpAnalyzer tool
@Nathan Any idea
 
9:57 PM
@MNadeemShaikh have you tried wrapping two objects in a div rather then body in the first example? It might be that.
 
@MNadeemShaikh sorry I didn't see the second <object> in Approach2
 
@Raynos Nope its not the wrapping issue
 
In theory a browser should ignore the URL after '#' when deciding whether to GET or retrieve from cache.
so the URLs should be equivalent.
 
@Nathan The URL is same for both the approaches
 
@MNadeemShaikh Beats me.
 
10:04 PM
Approach 1 and 2
<object codebase="http://localhost/abc.cab#Version=4,0,0,0" ...>
<object codebase="http://localhost/abc.cab#Version=3,1,0,0" ...>
 
ahhhhhh activex
 
What @IvoWetzel says
@MNadeemShaikh alternatively pretend that your legacy application has been deprecated with the latest update to IE and you cant do anything about it. Then write a useful alternative.
@IvoWetzel got a job yet?
 
Nope
Should finish up my website, but making content is boring...
lets focus on more awesome CSS3 extras!
 
What's that? If you can't impress them with substance, dazzle them with CSS?
 
@Raynos thats not possible, cannot think of an alternate
Anyways thanks guys for trying to help.
 
10:46 PM
can anyone help me?
 
We can try
 
ok...
0
Q: Load External Page Into a Div From Table Row Click

WillingLearnerI have an external page that I wish to load into a div. I want this external page to drop down from the top and bounce animate in when it is loaded. This external page has a close button, that upon click, closes the external page contents, and refills the original content that was in the div be...

 
@Nathan Sure! Or make your front page 14 pages long and cluttered with duplicated and useless stuff
 
@IvoWetzel are you talking about SO.com?
 
no
talking about sites like pcgames.de
 
10:58 PM
dazzled Nice.
 
guah
concerning the .de site, I'd say that 75% of all german websites look like that page
cluttered with tons and tons of stuff I don't want to know, just so that they can pack more ads in there
 
German Web Design Hint #2: Minimize HTTP requests by putting EVERY BIT OF CONTENT YOU CAN THINK OF on the front page.
 
:D
Hint#3: Make all links work via JS, so those pesky NoScript users get annoyed
Hint#4: If you're a government website, look bad arbeitsagentur.de
 
"they won't fund us or take us seriously if our website looks good."
 
var re_date = /^\s*(\d{1,2})\.(\d{1,2})\.(\d{2,4})\s*$/;
if (!re_date.exec(s_date))
return alert("Falsches Datum: '" + s_date
+ "'.\nAkzeptiertes Format ist dd.mm.yyyy.")
var n_day = Number(RegExp.$1), n_month = Number(RegExp.$2), n_year = Number(RegExp.$3);
uh...
 
11:16 PM
@jAndy how do I get to ECMAland?
 
@Raynos ECMALand? Is that the place where Closures grow on Trees?
 
@Raynos: haha.. you need to get the enlightenment :p
 
Oh, well I won't let him in :P
 
I think by "enlightenment" he meant "jQuery"
 
haha
hahahaha
Resig is the Devil!
Or... well
At least his path is one that may mislead the younger ones
 
11:20 PM
na, not exactly.. jLand is a different part of the wonderful world
 
no it has a wrapper function. $.goto("ECMAland");
 
0
A: jQuery .data() to store id for later access.

RaynosIf you must get it later without id simply iterate over every object in the DOM and check whether it's your div. for (var i = 0; i < document.getElementsByTagName("*").length; i++) { if ($(document.getElementsByTagName("*")[i]).data("isMyDiv")) { var myDiv = $(document.getElemen...

This guy was taking the piss. So I gave him a good answer :)
:D Has someone implemented $.goto yet?
 
there was a JS goto for sure... somewhere....
 
Something along the lines of parse source. goto line by using eval :)
Shouldn't be hard to implement.
 
a goto ?
 
11:28 PM
@jAndy yes. It'll be useful. All those function calls are expensive
 
make sure to implement the raptors too
 
it would be living hell to keep track of all scope chains and garbage collect the rest.. I guess
 
@Raynos Sure, extremely expensive, especially when inlined
 
btw, is Mr. Craver (is it save to speak out the name?) on vacation or something ?
I can't believe I come even close to him in the top jQuery ranking
 
I guess he's just busy working on the SOs
They locked him up in the basement where he optimizes SQL all day long...
At least, that's what the legends tells
 
11:31 PM
I see
so, one could say he turned into a database slave
 
more a troll
watching is precccccccccccioussss datas
 
one statement to rule them all
 
DROP TABLE *;
or is it tables in this case? :P
 
DROP DATABASE
!
 
"DROP $something"; // make sure auto register globals is turned on
 
11:36 PM
ay, the guy who offered somekind of a job and was downvoted like hell :)
 
WillingLearner
I guess the post was around -14 ? when it was deleted
anyway, it didn't sound too bad
 
I wish i could see deleted stuff :( needs 10k rep or something right?
 
@david better get busy!
 
not in this case, it was deleted by an admin. no one can see it anymore (beside other admins/mods probably)
 
11:40 PM
@Nathan i need more people to ask simple questions i can snipe
 
my problem too
 
i thought 10k rep was pretty much admin status?
 
ask @Ivo
 
@jAndy nah....-10. Dudes are too vicious around here it seems. Could you get at me personally?
 
what was the question?
 
11:42 PM
"is elvis alive?"
 
my contact info is in my profile
should i take that as a no?
 
@WillingLearner: oh that was no response to you
 
oh ok.... yea....
 
@WillingLearner: however, I'm pretty busy with my current job so I'm afraid - I'm no candidate
 
@jAndy i see
do you think you could probably help me with my latest question then?
ive yet to see anyone give me any response and ive had it up for quite some time, and im sure your jquery skills are pretty strong
 
11:46 PM
@WillingLearner: if it was a 5 liner or something I would give it a shot, right now I'm so damn tired, I need a sleep
but I'll have a look in about 7 hours (promise) first thing I'll do at the office :-)
 
is it the "Load External Page Into a Div From Table Row Click" ?
 
@jAndy umm....its not 5 lines, but its not that long either i dont think. Maybe a paragraph of code
@david yes....that problem
im trying to click on a table row, and have the external page get loaded into a div
 
q: "Do complex numbers really exist?" comment:"It would be deliciously ironic if this got closed for not being a real question."
 
just trying to figure out if im the market for aid on this issue
well?
 
Unfortunately people are lazy, and they only really answer questions on this site if the question is interesting
your question kinda sounds like work :(
 
11:58 PM
@david damn....i thought this place was to solve complex or harder than normal issues? If the problems were simple, would the council of the experts be so necessary?
Im trying to do basically this:
 
00:00 - 18:0018:00 - 00:00

« first day (101 days earlier)      last day (4834 days later) »