Re: Wikipedia API Parser

2012-12-16 Thread Raymond Camden
They have a pretty simple API - http://www.mediawiki.org/wiki/API:Main_page . Here is a quick example: http://en.wikipedia.org/w/api.php?format=json&action=query&titles=Adobe%20ColdFusion&prop=revisions&rvprop=content "> On Sun, Dec 16, 2012 at 10:49 AM, Richard Steele wrote: > > I want t

Re: SOT: jquery hide

2012-12-16 Thread Steve Milburn
I think you are right. I seem to recall being able to set display:none on an element and then just call .show() when needed. This would negate the need of calling .hide() in the document.ready() function. On Sunday, December 16, 2012, Scott Weikert wrote: > > I believe the jquery show()/hide() f

Re: SOT: jquery hide

2012-12-16 Thread Andrew Scott
John, The correct and best practice way is to use display:none on all the divs that you want to use as show hide, especially if you want them hidden as the page loads. There is no known method that will allow the browser to hide elements on the page when loading, they take the instructions by the

Re: SOT: jquery hide

2012-12-16 Thread Bryan Stevenson
That is exactly what the $(document).ready(function () is for ;-) When the DOM is loaded - do this stuff to it Cheers On Sun, 2012-12-16 at 13:23 -0600, John M Bliss wrote: > This seems to work but looks clunky to me. Better solution(s)? > > .mymenuclass { > visibility: hidden; > } > > >

Re: SOT: jquery hide

2012-12-16 Thread Scott Weikert
I believe the jquery show()/hide() functions use the display attribute and not the visibility attribute. Not long ago I switched over from using Prototype to jQuery and had to recode hidden divs to use those jQuery functions. On 12/16/12 12:38 PM, Steve Milburn wrote: > My personal preference

Re: SOT: jquery hide

2012-12-16 Thread Steve Milburn
My personal preference would be to use the display CSS attribute instead of visibility. Also, I would include that setting in a different class that I will not need after the page loads, say "myHiddenDiv". Finally, utilize jQuery chaining so you don't have to scan the DOM twice. So your code wo

Re: SOT: jquery hide

2012-12-16 Thread John M Bliss
This seems to work but looks clunky to me. Better solution(s)? .mymenuclass { visibility: hidden; } $(document).ready(function () { $( "#mymenu" ).hide(); $( "#mymenu" ).css("visibility", "visible"); }); On Sun, Dec 16, 2012 at 1:09 PM, John M Bliss wrote: > Hi! I'm using jquery

Re: SOT: jquery hide

2012-12-16 Thread Steve Milburn
Try giving your div a class that includes display=none. This will prevent it from being displayed while the page is initially rendered. You can then remove that class in your document.ready() function. HTH Steve On Sunday, December 16, 2012, John M Bliss wrote: > > Hi! I'm using jquery to show/

SOT: jquery hide

2012-12-16 Thread John M Bliss
Hi! I'm using jquery to show/hide div containing primary nav. The problem is that, on "heavier" pages, the code below does not perform the initial, "ready" hide fast enough so you can see the nav flash on before it's hidden. What's the best way to address this issue? $(document).ready(funct

JVM heap space issues w/CF9

2012-12-16 Thread Scott Weikert
Hey all, Hoping one of you guys who are CF folks but also know something on JVM and heap memory management (and how CF affects heap usage) can shed some light on my situation. Basically my server (CF9 on Linux) has been having heap memory issues from the get-go. And this is after moving every

Wikipedia API Parser

2012-12-16 Thread Richard Steele
I want to pull pages for individuals from Wikipedia and insert them into a website. Has someone come up with a way to do this with Coldfusion? Thanks! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Co