[Moo] Simple menu in MooTools 1.11

5 messages Options
Embed this post
Permalink
charlie-imac-2

[Moo] Simple menu in MooTools 1.11

Reply Threaded More More options
Print post
Permalink

I've inherited a project that is using MooTools 1.11 and need help
finishing my menu.   The menu is suppose to slide in bgdiv while the
menu slides in from the right.  I still have a error when you mouse
over the logo - Marsha Staiger.  I've included a link to the site
where you can see the javascript "menu".  Note, I program in PHP and
MySql not ajax.   Any help would be appreciated.

http://67.199.55.232/marshastaiger/
charlie-imac-2

[Moo] Re: Simple menu in MooTools 1.11

Reply Threaded More More options
Print post
Permalink

Forgot,  the menu is not suppose to show until you mouse over the
logo.  Then it is suppose to slide in from the left and cover 80% of
the browser window.

On Oct 27, 8:02 am, charlie-imac <[hidden email]> wrote:
> I've inherited a project that is using MooTools 1.11 and need help
> finishing my menu.   The menu is suppose to slide in bgdiv while the
> menu slides in from the right.  I still have a error when you mouse
> over the logo - Marsha Staiger.  I've included a link to the site
> where you can see the javascript "menu".  Note, I program in PHP and
> MySql not ajax.   Any help would be appreciated.
>
> http://67.199.55.232/marshastaiger/
Fli7e

[Moo] Re: Simple menu in MooTools 1.11

Reply Threaded More More options
Print post
Permalink

You use "page.x" but never ever define "page" anywhere (from what i
saw by fastly looking at menu.js).

I think you should define page like

this.page = window.getSize();

so a.page.x will give you the window X-Size (as you send "a" as a
reference to "this" to your callback function.

Just my 2cent ...

On 27 Okt., 13:49, charlie-imac <[hidden email]> wrote:

> Forgot,  the menu is not suppose to show until you mouse over the
> logo.  Then it is suppose to slide in from the left and cover 80% of
> the browser window.
>
> On Oct 27, 8:02 am, charlie-imac <[hidden email]> wrote:
>
>
>
> > I've inherited a project that is using MooTools 1.11 and need help
> > finishing my menu.   The menu is suppose to slide in bgdiv while the
> > menu slides in from the right.  I still have a error when you mouse
> > over the logo - Marsha Staiger.  I've included a link to the site
> > where you can see the javascript "menu".  Note, I program in PHP and
> > MySql not ajax.   Any help would be appreciated.
>
> >http://67.199.55.232/marshastaiger/- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -
charlie-imac-2

[Moo] Re: Simple menu in MooTools 1.11

Reply Threaded More More options
Print post
Permalink

Thanks, didn't make a difference.  Still getting a error.

On Oct 27, 3:50 pm, Fli7e <[hidden email]> wrote:

> You use "page.x" but never ever define "page" anywhere (from what i
> saw by fastly looking at menu.js).
>
> I think you should define page like
>
> this.page = window.getSize();
>
> so a.page.x will give you the window X-Size (as you send "a" as a
> reference to "this" to your callback function.
>
> Just my 2cent ...
>
> On 27 Okt., 13:49, charlie-imac <[hidden email]> wrote:
>
>
>
> > Forgot,  the menu is not suppose to show until you mouse over the
> > logo.  Then it is suppose to slide in from the left and cover 80% of
> > the browser window.
>
> > On Oct 27, 8:02 am, charlie-imac <[hidden email]> wrote:
>
> > > I've inherited a project that is using MooTools 1.11 and need help
> > > finishing my menu.   The menu is suppose to slide in bgdiv while the
> > > menu slides in from the right.  I still have a error when you mouse
> > > over the logo - Marsha Staiger.  I've included a link to the site
> > > where you can see the javascript "menu".  Note, I program in PHP and
> > > MySql not ajax.   Any help would be appreciated.
>
> > >http://67.199.55.232/marshastaiger/-Zitierten Text ausblenden -
>
> > - Zitierten Text anzeigen -
Oskar Krawczyk

[Moo] Re: Simple menu in MooTools 1.11

Reply Threaded More More options
Print post
Permalink
In Moo 1.1, you have to do:

this.page = window.getSize().size; (http://docs111.mootools.net/Element/Element-Dimensions.js#Element.getSize)

___

Oskar Krawczyk
http://nouincolor.com


On Thu, Oct 29, 2009 at 16:55, charlie-imac <[hidden email]> wrote:

Thanks, didn't make a difference.  Still getting a error.

On Oct 27, 3:50 pm, Fli7e <[hidden email]> wrote:
> You use "page.x" but never ever define "page" anywhere (from what i
> saw by fastly looking at menu.js).
>
> I think you should define page like
>
> this.page = window.getSize();
>
> so a.page.x will give you the window X-Size (as you send "a" as a
> reference to "this" to your callback function.
>
> Just my 2cent ...
>
> On 27 Okt., 13:49, charlie-imac <[hidden email]> wrote:
>
>
>
> > Forgot,  the menu is not suppose to show until you mouse over the
> > logo.  Then it is suppose to slide in from the left and cover 80% of
> > the browser window.
>
> > On Oct 27, 8:02 am, charlie-imac <[hidden email]> wrote:
>
> > > I've inherited a project that is using MooTools 1.11 and need help
> > > finishing my menu.   The menu is suppose to slide in bgdiv while the
> > > menu slides in from the right.  I still have a error when you mouse
> > > over the logo - Marsha Staiger.  I've included a link to the site
> > > where you can see the javascript "menu".  Note, I program in PHP and
> > > MySql not ajax.   Any help would be appreciated.
>
> > >http://67.199.55.232/marshastaiger/-Zitierten Text ausblenden -
>
> > - Zitierten Text anzeigen -