Hi Mitch,

I'm afraid it is a silly one!

function advmode() (
   $("#Panel").SlideInRight(1000);

};


You've used a parenthesis ( instead of brace { for opening the function
body. Change that and it works as expected :-)

Glen, SlideInRight and similar functions are from Interface elements for
jQuery.

--rob


On 7/20/07, Glen Lipka <[EMAIL PROTECTED]> wrote:

Im a little confused.  SlideInRight and SlideOutRight arent jQuery
functions.
Are these from a plugin you made?

Best thing is to post a simple proof-of-concept page.  then we can help
you debug it.

Glen

On 7/19/07, Goofy <[EMAIL PROTECTED]> wrote:
>
>
> Why wont this work. Its so simple. I just want to call a fuction using
> the onclick event. I want it to move a div called Panel.
>
> I set up the function
>
>                 function advmode() (
>                         $("#Panel").SlideInRight(1000);
>                 };
>
> Then inside a table cell with an image for a button I have this simple
> link
>
>                 <a href="#Javascript;" onclick="advmode()"><img
> src="images/Advanced
> Search Button Wide_No.png" width="250" height="25" />
>
> I must be missing something really basic because this does not come
> close to working. But this does\
>
>                 <a href="#Javascript;" id="PanelButtonOpen2"><img
> src="images/
> Advanced Search Button Wide.png" width="250" height="25" />
>
>                 $('#PanelButtonOpen2').click(function() {
>                 $("#Panel").SlideOutRight(1000);
>                 });
>
> Thanks for any aid I am feeling very silly tonight.
>
> Mitch
>
>



--
Rob Desbois
Eml: [EMAIL PROTECTED]
Tel: 01452 760631
Mob: 07946 705987
"There's a whale there's a whale there's a whale fish" he cried, and the
whale was in full view.
...Then ooh welcome. Ahhh. Ooh mug welcome.

Reply via email to