Re: [jQuery] Re: IF. What am I doing wrong?

2009-12-12 Thread Rafał Pocztarski
2009/12/12 morwo lukaszewsk...@gmail.com: On Dec 6, 8:31 am, Rafał Pocztarski r.pocztar...@gmail.com wrote: 2009/12/3 shapper mdmo...@gmail.com: Try using === instead of == This is PHP operator, isn't? And we're talking here about javascript. Yes, I somehow managed to figure it out

Re: [jQuery] How to make ajax call to subdomain

2009-12-10 Thread Rafał Pocztarski
. You only have to make sure that your script returns JSONP, eg. callback(JSON data); where callback is a string specified in the URL and JSON data is just, well, JSON data. Rafał Pocztarski

Re: [jQuery] plugin good structure with params

2009-12-10 Thread Rafał Pocztarski
are optional. Rafał Pocztarski

Re: [jQuery] is there a way to add a class to the body when window is resized below a certain width

2009-12-08 Thread Rafał Pocztarski
function call inside your handler then you can just pass it directly without the anonymous function: $(window).resize(function(){ reSize(); }); can be simplified to: $(window).resize(reSize); Rafał Pocztarski

Re: [jQuery] How to monitor scrolling of a page?

2009-12-08 Thread Rafał Pocztarski
are interested in got visible by comparing it's position on the page to the bottom variable. Rafał Pocztarski

Re: [jQuery] IF. What am I doing wrong?

2009-12-05 Thread Rafał Pocztarski
2009/12/3 shapper mdmo...@gmail.com:  alert($.cookies.get(WCA.Player));  var cookie = $.cookies.get(WCA.Player);  if (cookie == null || cookie == 'Play') {     $(#JPlayer).play();  } Try using === instead of == Rafał Pocztarski

Re: [jQuery] Re: does JQuery have browser bookmarklet development support??

2009-12-02 Thread Rafał Pocztarski
and pages reloading then it gets more hairy, because you'd have to use JSONP or manually inject script tags to load a script from the server, and you'd have to make sure you access the cookies on the server and not in the browser or otherwise you probably won't be accessing the cookies you want. Rafał

Re: [jQuery] Set link(s) to unvisited...

2009-11-29 Thread Rafał Pocztarski
://linkvisitor.mozdev.org/ but you won't be able to mess with the browsing history in JavaScript in any portable manner. Rafał Pocztarski

Re: [jQuery] Best Practices or unobtrusive Javascript

2009-11-29 Thread Rafał Pocztarski
around this but if you just want to include script tags in your HTML without any fancy tricks to load scripts using iframes or xhr evals or injections then move your script tags to the bottom of your page. Rafał Pocztarski