Re: [jQuery] Mac OS X Widgets?
Hey, who needs Java and Flash as long as we have JS and the canvas element. :-) http://mindshareprojects.com/canvas/weaving.html Fredi Ⓙⓐⓚⓔ wrote: Jobs said javascript YES! http://pogue.blogs.nytimes.com/2007/01/13/ultimate-iphone-faqs-list-part-2/ On 1/11/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: they aren't even committing to javascript on the phone... hard to believe they wont! On 1/9/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Today has been a big day for the mac, and the iphone is about 6 months away. It runs Safari and a mini version of OS X. And it supports widgets! Widgets can be written in javascript, and can run un-encumbered by the normal ajax cross host security restriction! So to get back on target... Has anyone written any jquery widgets? -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/Mac-OS-X-Widgets--tf2949832.html#a8378013 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Great AJAX RSS aggregator using jQUery
David Olinsky wrote: I found this on Digg, then viewed source and was pleased to find that it uses jquery :) http://www.osxcode.com/feedsearch/ digg article (I mentioned jquery was the JS framework used in the 3rd post) http://www.digg.com/design/Cool_AJAX_RSS_Feed_Aggregator#c4170361 We're also deep into a fulfillment project at work, and using jQuery extensively throughout the web app. --David Ok, so that's why my inbox is full of jMe requests. I'm surprised my cheap ($5) hosting service is getting through this. ;-) Fredi -- View this message in context: http://www.nabble.com/Great-AJAX-RSS-aggregator-using-jQUery-tf2778782.html#a7754823 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Great AJAX RSS aggregator using jQUery
Matt Stith wrote: Its not now! Site seems to be down. :O I expected the site to go down much earlier, like 5 minutes after being on the digg frontpage. ;) Surprisingly digg wasn't the problem. After it was on the digg frontpage for almost half a day and still pretty stable, deli.cio.us and several other social bookmarking sites started to put the link on their frontpage as well and that was the point where it all got down ... well, what should I say ... $5 per month just wasn't enough. ;) Just a few days ago I was thinking to submit the site to digg on my own, but decided against it as I was sure my site wouldn't be able to handle the traffic, after all you can't really expect much for $5 if there are companies that have special packages just for such cases of being dugg or slashdotted. So much about 'unlimited traffic' ... :p Btw, I had a meeting with a client at exactly the time my site gave up. I actually showed him one of my creations I hosted on the same server, entered the next url and it was over ... at least I got some free beer after it happened. ;) Fredi -- View this message in context: http://www.nabble.com/Great-AJAX-RSS-aggregator-using-jQUery-tf2778782.html#a7768846 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Efforts to Convert Folks to jQuery
Rey Bango-2 wrote: Guys, some of you may know of my efforts to get jQuery more exposure. My inbox says yes. ;-) My two cents: 1. There really should be a main menu on the frontpage (Download, Documentation, Community, Plugins, Tutorials ...) 2. A page where jQuery code is compared to code of other libs (real world examples) 3. jQuery Site/Project of the week on the frontpage ... and maybe plugin of the week Fredi -- View this message in context: http://www.nabble.com/Efforts-to-Convert-Folks-to-jQuery-tf2774482.html#a7746952 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Efforts to Convert Folks to jQuery
Chris Domigan wrote: 1. There really should be a main menu on the frontpage (Download, Documentation, Community, Plugins, Tutorials ...) I believe there is. In the page footer, yes (and linked inside the frontpage text), but there should be a real menu near the top of the page. I honestly didn't see those footer menu links the first few days I started with jQuery. Fredi -- View this message in context: http://www.nabble.com/Efforts-to-Convert-Folks-to-jQuery-tf2774482.html#a7747499 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] NEWS: jQuery-powered Osxcode.com in Ajax Magazine
Rey Bango-2 wrote: Fredi announced his new jQuery-powered feed aggregator osxcode.com just yesterday and I'm pleased to say that Ajax Magazine just picked up on his site and gave him some press. You can check it out here: http://ajax.phpmagazine.net/2006/12/jme_feed_aggregator_10_beta_re.html Congrats Fredi! Rey... Now this is a wake-up message I like. :D My clients will not like that, but guess I'll have to take some time away from them for the next version. ;-) Fredi -- View this message in context: http://www.nabble.com/NEWS%3A-jQuery-powered-Osxcode.com-in-Ajax-Magazine-tf2759055.html#a7696298 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] My first jQuery project has reached open beta!
John Resig wrote: I really dig this. I think the UI is very well designed and the animations are very tactful and well-placed. My only suggestion is the make the 'Post' feature more prominent - that feature, alone, makes this very worth while (reminds me a lot of reBlog). So, when are you releasing the source? ;-) --John Thx for the comments. Will think about a way to better highlight that feature. :-) About the source. Well, there's currently no admin and install feature. To add new feeds, you have to directly add them to mySQL with phpMyAdmin or something similar. I'm definitely planning to release the source, but not before those two features are finshed. Right now it looks like I will be busy with client work for quit some time, so no idea when that will happen. Fredi -- View this message in context: http://www.nabble.com/My-first-jQuery-project-has-reached-open-beta%21-tf2747085.html#a7672746 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] My first jQuery project has reached open beta!
Hi, First a big thank you to everyone on this list that helped me with the problems I had and of course a really big thank you to John Resig and everyone that helped him on jQuery! I started with this project three weeks ago to learn jQuery and for that I think it came out pretty well. (If you wonder why the tool is already indexing for half a year, it's because I've taken that part from on older php project I never finished) Here's the link to the tool, it's a feed aggregator with some unique features (especially the post button): http://www.osxcode.com/feedsearch/ The JavaScript is currently not optimized for speed or size, but I will work on that in the coming days, not that it's now slow or huge, but there sure is room for optimizations. ;-) Additional information about it can be found on my blog: http://www.osxcode.com/ Hope you like it. :-) Fredi -- View this message in context: http://www.nabble.com/My-first-jQuery-project-has-reached-open-beta%21-tf2747085.html#a7664253 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] My first jQuery project has reached open beta!
Tom Holder-2 wrote: Well done... beautifully implemented... but, I think you need an elevator pitch if you want the tool to be used as it's perhaps a little over designed to be genuinely useful. Just my 2 pennies worth. There will be different templates in the future and you will be able to config the tool, like disabling the animation, setting the live search delay, excluding sources ... Fredi -- View this message in context: http://www.nabble.com/My-first-jQuery-project-has-reached-open-beta%21-tf2747085.html#a7665408 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] My first jQuery project has reached open beta!
Chris Domigan wrote: Wow, really stunning. Congrats. Chris Thx. :-) Btw, I already have a pretty big list of features for the next version. One of the main new features will be user accounts where you can store, edit and share your item collections. Collections can be made public so other visitors/members can browse through them and if they like a collection, they can (digg like) bookmark them. Fredi -- View this message in context: http://www.nabble.com/My-first-jQuery-project-has-reached-open-beta%21-tf2747085.html#a7668121 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] How can this not work? (Safari Problem)
Klaus Hartl-3 wrote: Is it maybe this bug: http://jszen.blogspot.com/2006/02/safari-quirk-copying-innerhtml.html -- Klaus Yes, that's it! :-) This is my new code and it works without a hack: function showgreenpage(pagename){ if (currentpage == spy){ clearInterval(spyinterval); } if (pagename != currentpage){ $(#greenboxcontent).slideUp(slow,function(){ var gbcontent = $(#greenboxcontent).html(); $(#greenboxcontent).html(); $(#+currentpage+_page).html(gbcontent); var opcontent = $(#+pagename+_page).html(); $(#+pagename+_page).html(); $(#greenboxcontent).html(opcontent).slideDown(slow); currentpage = pagename; $(#g_pagename).html(mypages[pagename]); generatetoollinks(); if (pagename == spy){ loadspyresults(); spyinterval = setInterval(loadspyresults,2500); } else if (pagename == stats){ loadstats(); } }); } } Fredi -- View this message in context: http://www.nabble.com/How-can-this-not-work--%28Safari-Problem%29-tf2721195.html#a7615625 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] How can this not work? (Safari Problem)
Nobody? I really have no idea. The content I want to target is there if I do a html() for the whole 'greenboxcontent' container, but as soon as I want to target something in it, something that I previously loaded into it with HTML from another div ... nothing. And it's really just a Safari problem. Every other browser has zero problems with my code. Damn, I'm frustrated! :-( Fredi Subway wrote: Hi, Have a look at this code: function showfeedinfos(feedid){ $.get(getfeedinfo.php, {feedid: feedid}, function(feedinfo) { $(#f_item_+feedid+ .feedinfo).hide().html(feedinfo).slideDown(slow); deblur(); }); } On every browser I've tested, this works without any problems, just in Safari not, it just doesen't show anything. It actualy reaches the inside of the function, but for some reason it doesn't fill the div with the loaded content (the variable feedinfo has the content as an alert test revealed). This is the html where the extra info is loaded into (I just removed the rest of the info that's in there): div id=f_item_47 ... div class=feedinfo/div ... /div It's from my first jQuery project: http://www.osxcode.com/feedsearch/ Funny thing is that if I change the id=f_item_47 part to class=f_item_47 and the jQuery part to a class as well, than it works in Safari, but with a very big lag, so not really a solution I want to use. Any ideas? Fredi -- View this message in context: http://www.nabble.com/How-can-this-not-work--%28Safari-Problem%29-tf2721195.html#a7601884 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] How can this not work? (Safari Problem)
It doesn't even get that far. Just targeting anything inside the greencontent div already stops jQuery from going along the chain. For example: $(#f_item_+feedid).html(); Even this returns null. Fredi dave.methvin wrote: $(#f_item_+feedid+ .feedinfo) .hide().html(feedinfo).slideDown(slow); Could this be related to the display:none bug in Safari we just discussed on another thread today? Try removing the .hide() from that chain and see what happens. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/How-can-this-not-work--%28Safari-Problem%29-tf2721195.html#a7604000 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] How can this not work? (Safari Problem)
Brandon Aaron wrote: On 11/29/06, Subway [EMAIL PROTECTED] wrote: Nobody? I really have no idea. The content I want to target is there if I do a html() for the whole 'greenboxcontent' container, but as soon as I want to target something in it, something that I previously loaded into it with HTML from another div ... nothing. And it's really just a Safari problem. Every other browser has zero problems with my code. Damn, I'm frustrated! :-( Heh ... Safari gets me pretty ticked sometimes too. Have you tried to just simplify things and see if you can maybe narrow down the issue. Perhaps a simplified test case will shed some light on the issue and make it easier for the list to dig into. -- Brandon Aaron Yeah, guess I really have to re-create that part in a simple form to narrow down the problem. Fredi Fredi -- View this message in context: http://www.nabble.com/How-can-this-not-work--%28Safari-Problem%29-tf2721195.html#a7604089 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] How can this not work? (Safari Problem)
Brandon Aaron wrote: On 11/29/06, Subway [EMAIL PROTECTED] wrote: It doesn't even get that far. Just targeting anything inside the greencontent div already stops jQuery from going along the chain. For example: $(#f_item_+feedid).html(); Even this returns null. Does it give any errors? Although, usually Safari's error messages are less helpful than IE's. -- Brandon Aaron Nothing. Not even a spinwheel, just nothing. (However, the spinwheel comes up pretty randomly because of something else I wasn't able to pin down) Fredi -- View this message in context: http://www.nabble.com/How-can-this-not-work--%28Safari-Problem%29-tf2721195.html#a7604392 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] How can this not work? (Safari Problem)
Brandon Aaron wrote: Heh ... Safari gets me pretty ticked sometimes too. Have you tried to just simplify things and see if you can maybe narrow down the issue. Perhaps a simplified test case will shed some light on the issue and make it easier for the list to dig into. Ok, I've removed anything that isn't of importance to this problem: http://osxcode.com/feedsearch/index.test.php It still works in anythin except Safari. If you click on FEEDS and than on the [i] button, it normaly shows some extra information, not so in Safari. To test it further, I've added some alerts: function showfeedinfos(feedid){ if ($(#f_item_+feedid+ .feedinfo).html() == ''){ alert(#f_item_+feedid+ .feedinfo == ''); $.get(getfeedinfo.php, {feedid: feedid}, function(feedinfo){ $(#f_item_+feedid+ .feedinfo).hide().html(feedinfo).slideDown(slow); }); } else { alert(#f_item_+feedid+ .feedinfo != ''); alert($(#f_item_+feedid+ .feedinfo).html()); $(#f_item_+feedid+ .feedinfo).slideUp(slow, function(){ $(#f_item_+feedid+ .feedinfo).html(); }); } } Interestingly, Firefox goes into the if clause at the first [i] click and Safari choses the else part. Now don't ask me why. Fredi -- View this message in context: http://www.nabble.com/How-can-this-not-work--%28Safari-Problem%29-tf2721195.html#a7605094 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] How can this not work? (Safari Problem)
Brandon Aaron wrote: Have you tried to just simplify things and see if you can maybe narrow down the issue. Perhaps a simplified test case will shed some light on the issue and make it easier for the list to dig into. Ok, I removed all the effects as well, still no difference: http://osxcode.com/feedsearch/index.test3.php The whole HTML: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1 / titleOS X Code (r,s) - jMe - Feed Aggregator - OS X, Web 2.0 Programming/title link rel=stylesheet type=text/css href=defaultstyle.css / script type=text/javascript src=jquery.pack.js/script script type=text/javascript function showgreenpage(pagename){ if (pagename != currentpage){ $(#+currentpage+_page).html($(#greenboxcontent).html()); $(#greenboxcontent).html($(#+pagename+_page).html()); $(#+pagename+_page).html(); currentpage = pagename; generatetoollinks(); } } function generatetoollinks(){ var myoutput = ''; for(page in mypages) { if (currentpage == page){ var myclass = toollinksbg; var myaction = ; } else { var myclass = toollinksbgs; var myaction = ' onclick=showgreenpage(\''+page+'\'); '; } myoutput = myoutput+'div class='+myclass+' javascript:void(null); '+page+' /div'; } $(#toollinks).html(myoutput); } function showfeedinfos(feedid){ if ($(#f_item_+feedid+ .feedinfo).html() == ''){ $.get(getfeedinfo.php, {feedid: feedid}, function(feedinfo){ $(#f_item_+feedid+ .feedinfo).html(feedinfo); }); } else { $(#f_item_+feedid+ .feedinfo).html(); } } $(document).ready(function(){ mypages = new Object(); mypages[items] = Items; mypages[feeds] = Feed List; currentpage = items; generatetoollinks(); }); /script /head body div id=toollinks/div div id=greenbox div id=greenboxcontent original content /div /div div id=items_page class=hiddeninfo/div div id=feeds_page class=hiddeninfo div id=f_item_31 javascript:void(null); pics/infoicon.gif div class=feedinfo/div /div /div /body /html I have simple no idea why this isn't working ... and I really don't think I'm doing anything special, it just wont work. :-( Fredi -- View this message in context: http://www.nabble.com/How-can-this-not-work--%28Safari-Problem%29-tf2721195.html#a7606665 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] How can this not work? (Safari Problem)
Subway wrote: My first jQuery project: http://www.osxcode.com/feedsearch/ Ok, I kinda found a solution ... ok, better call it a hack. It's a very small hack, but that doesn't change the fact that I don't really like it. This is what I added before I target the content that I insert into the 'greencontent' div: $(#greenboxcontent).html($(#greenboxcontent).html()); Is there a better way to do this? And well, I guess I better add a browser check to only do this with Safari. ;-) Fredi -- View this message in context: http://www.nabble.com/How-can-this-not-work--%28Safari-Problem%29-tf2721195.html#a7610427 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] How can this not work? (Safari Problem)
Hi, Have a look at this code: function showfeedinfos(feedid){ $.get(getfeedinfo.php, {feedid: feedid}, function(feedinfo) { $(#f_item_+feedid+ .feedinfo).hide().html(feedinfo).slideDown(slow); deblur(); }); } On every browser I've tested, this works without any problems, just in Safari not, it just doesen't show anything. It actualy reaches the inside of the function, but for some reason it doesn't fill the div with the loaded content (the variable feedinfo has the content as an alert test revealed). This is the html where the extra info is loaded into (I just removed the rest of the info that's in there): div id=f_item_47 ... div class=feedinfo/div ... /div It's from my first jQuery project: http://www.osxcode.com/feedsearch/ Funny thing is that if I change the id=f_item_47 part to class=f_item_47 and the jQuery part to a class as well, than it works in Safari, but with a very big lag, so not really a solution I want to use. Any ideas? Fredi -- View this message in context: http://www.nabble.com/How-can-this-not-work--%28Safari-Problem%29-tf2721195.html#a7588434 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Safari problem with html() ... possible bug?
Jörn Zaefferer wrote: Check out the metadata plugin[0]! It provides different quite elegant and unobtrusive ways to place and read extra data from your markup and is well tested. [0] http://jquery.com/dev/svn/trunk/plugins/metadata/metadata.js?format=txt -- Jörn Zaefferer http://bassistance.de That looks interesting. Will give it a try, thx. :-) Fredi -- View this message in context: http://www.nabble.com/Safari-problem-with-html%28%29-...-possible-bug--tf2704812.html#a7546401 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Safari problem with html() ... possible bug?
Klaus Hartl-3 wrote: You could access the comment node, it should be a node as every other node. Here's an outline (not tested): var nodes = $('#s_item_6').get(0).getElementsByTagName('*'); for (var i = 0; i nodes.length; i++) { var node = nodes[i]; if (node.nodeType == COMMENT_NODE) { alert(node.nodeValue); break; } } Not sure if that is supported by Safari at all... I get a 'COMMENT_NODE is not defined' error message (in Firefox). This is my implementation: $(.msgentry).click(function(){ var nodes = $(this).get(0).getElementsByTagName('*'); for (var i = 0; i nodes.length; i++) { var node = nodes[i]; if (node.nodeType == COMMENT_NODE) { hiddeninfo = node.nodeValue; break; } } }); Well, it wouldn't be very difficult to change the code so I could access the info in hidden divs (or spans), but I'm still interested in the HTML comment solution ... if possible. Btw, if anyone is interested in helping me beta testing my app next week, please let me know. More infos: http://www.osxcode.com/2006/11/23/beta-testing-for-jme-web-20-feed-aggregator/ Fredi -- View this message in context: http://www.nabble.com/Safari-problem-with-html%28%29-...-possible-bug--tf2704812.html#a7543579 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Safari problem with html() ... possible bug?
malsup wrote: I get a 'COMMENT_NODE is not defined' error message (in Firefox). This is my implementation: Replace COMMENT_NODE with the number 8. Error gone, but I still don't get the HTML comment. Well, I'll just put the info into a hidden div for now. Fredi -- View this message in context: http://www.nabble.com/Safari-problem-with-html%28%29-...-possible-bug--tf2704812.html#a7543749 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/