[jQuery] Re: Help with Test Case for jQuery XSLT Plugin

2009-08-19 Thread LindsayT

I also ran it in Firefox 3.5 on Fedora 10 and it worked properly.  So
what's up with Firefox 3.0.1 for Mac?

On Aug 19, 11:38 am, LindsayT  wrote:
> I'm using a jQuery XSLT plugin to load static content from an XML file
> for my portfolio (http://www.oogeeyot.com)  It seems for some people,
> the content loads correctly, but for others, the user has to select
> the links more than once to get the content to load.
>
> I ran this test case:  http://www.oogeeyot.com/sandbox/jquery_xslt_test_case/
>
> by Johann who wrote the plugin.  He said it was working for him for
> Mozilla 3.0.13, but I don't know OS.
>
> I'm running Mozilla Firefox 3.0.1 on Mac OSX and I'm having to select
> the links more than once to get the content to load.  This isn't the
> case for Safari.
>
> Does anyone have any insight into why it might now work on Firefox in
> OSX?  Is there a caching issue?  If yes, is there something I can
> write in my code to get around it?
>
> Lindsay


[jQuery] Help with Test Case for jQuery XSLT Plugin

2009-08-19 Thread LindsayT

I'm using a jQuery XSLT plugin to load static content from an XML file
for my portfolio (http://www.oogeeyot.com)  It seems for some people,
the content loads correctly, but for others, the user has to select
the links more than once to get the content to load.

I ran this test case:  http://www.oogeeyot.com/sandbox/jquery_xslt_test_case/

by Johann who wrote the plugin.  He said it was working for him for
Mozilla 3.0.13, but I don't know OS.

I'm running Mozilla Firefox 3.0.1 on Mac OSX and I'm having to select
the links more than once to get the content to load.  This isn't the
case for Safari.

Does anyone have any insight into why it might now work on Firefox in
OSX?  Is there a caching issue?  If yes, is there something I can
write in my code to get around it?

Lindsay


[jQuery] Re: Detect Capital Letters

2009-08-14 Thread LindsayT

Thanks guys for your help!  I'll get back to my project over the
weekend and see if any of this works for what I'm doing!

Lindsay

On Aug 9, 2:09 pm, Karl Swedberg  wrote:
> haha, you got me! so, yeah, it would be a bit more work. point  
> taken! :-p
>
> --Karl
>
> On Aug 9, 2009, at 1:55 PM, Michael Geary wrote:
>
> > That would work for you and for me, but would it work for everyone?
>
> > alert( isUpperCase('JÖRN') ? 'good' : 'bad' );  // ;-)
>
> > -Mike
>
> > From: Karl Swedberg
> > Shouldn't be too much work. Wouldn't this do it?
>
> > function isUpperCase( string ) {
> >     return /^[A-Z]+$/.test(string);
> > }
> > On Aug 8, 2009, at 8:34 PM, Michael Geary wrote:
>
> >> If you want to check that the string contains *only* uppercase  
> >> characters
> >> and no "case-less" characters (so that "ABC" would return true but  
> >> "A B C"
> >> would return false), that would be a bit more work.


[jQuery] Detect Capital Letters

2009-08-08 Thread LindsayT

Random, but probably easy, question:  Is there a jQuery function that,
given a string, can detect that it's in all capital letters?

Lindsay


[jQuery] Re: Response not working after page has been loaded by jQuery Load

2009-07-28 Thread LindsayT

Hi Jan,

I'm not sure how much help I can be, but I just got finished doing a
project where I load XML transformed by an XSLT dynamically into my
#content area.  Can you tell me first the goal of the functions you
are writing?  What are you trying to do?

Lindsay

On Jul 23, 1:36 pm, jan timmer  wrote:
> Hello all,
>
> I am trying use the Load function and it looks partly succesful:
> the script code is:
>
> function doCallBack(action, value)
> {
>     if  (action == 'projlokatiemutaties')
>     {
>         var test = $("#ct100_Inhoud__pnlLokaties");
>         var params = "project.aspx?ch=1&ph=1&cb=center&content=" +
> value;
>         test.load(params);
>      }
>
> }
>
> when this code is executed 'project.aspx' is loaded and I am able to
> query the params. This happens in the code behind:
>
>    protected void Page_Load(object sender, EventArgs e)
>     {
>         HandleCallBacks();
>  }
>
> and:
>     private void HandleCallBacks()
>     {
>         string direction = Request.Params["cb"];
>         if (string.IsNullOrEmpty(direction))
>             return;
>         if (direction == "center")
>         {
>             string content = Request.Params["content"];
>             if (! string.IsNullOrEmpty(content))
>             {
>                 ProjectLokaties1.Refresh("", Convert.ToInt32
> (content));
>                 string html = General.Utilities.RenderControl
> (ProjectLokaties1);
>                 Response.Write(html);
>                 Response.End();
>             }
>         }
>     }
>
> Projectlokaties1 contains an XML control and the content is being
> transformed usingXslt. As far as I can see the html variable contains
> the correct value.
> However the Response.Write() operations fails completely. As a matter
> of fact at this point any Response operation fails.
>
> Does anybody know what is going on here, or better have a solution?
>
> Thanks in advance,
>
> Jan