[jQuery] Re: Div and Button display as active and open only on certain pages

2009-07-03 Thread Takaya213
closed on the other pages. Charlie Tomlinson wrote: > > > shot in the dark here $("#overlay").show(). ?? > > Takaya213 wrote: > > > The button image has 2 states an on when it is active and an off when it > is > inactive. I am not t

[jQuery] Re: Div and Button display as active and open only on certain pages

2009-07-03 Thread Takaya213
modal and give a > better description of what you mean by button="off". Does this mean > disabled, or css change? Seeing what you are working with would make > finding the solution much easier > > Takaya213 wrote: > > > Hi Can anybody help me please? >

[jQuery] Re: Div and Button display as active and open only on certain pages

2009-07-03 Thread Takaya213
Hi Can anybody help me please? Thanks -- View this message in context: http://www.nabble.com/Div-and-Button-display-as-active-and-open-only-on-certain-pages-tp24286826s27240p24318591.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] Re: Div and Button display as active and open only on certain pages

2009-07-01 Thread Takaya213
n involved solution like parsing url or would a simple > solution like adding class to body like "myOverlay" and use that as > selector in code to run overlay functions? > > Takaya213 wrote: > > > Hi > > I have a DIV overlay that I want to show as open

[jQuery] Div and Button display as active and open only on certain pages

2009-07-01 Thread Takaya213
Hi I have a DIV overlay that I want to show as open only on certain pages but not on others (it is on all pages). The button that is related to the DIV must also display as on when the DIV overlay is open and in the off state when it is closed. This must happen on page load. e.g. DIV open, but

[jQuery] Re: Menu Hover and Selected

2009-04-16 Thread Takaya213
I'm afraid you will have to eat your shoe, it doesn't work. :-(( http://www.njwebdesign.co.za/ victorg84 wrote: > > > Small correction.. > > var activePage = window.location.pathname.substr(1); > $("a[href="+activePage+"] img").trigger("mouseover"); > > -- View this message in context:

[jQuery] Re: Menu Hover and Selected

2009-04-11 Thread Takaya213
That's ok, we all misunderstand things at sometime or other. Unfortunatly this still removes the selected state of the button. Maybe it is due to the way that i am giving the button its selected state. victorg-2 wrote: > > > Ah, guess i misunderstood. > > A way to handle that could be to c

[jQuery] Re: Menu Hover and Selected

2009-04-11 Thread Takaya213
Nope, not quite what I was looking for. I want the one that is selected (page that you are on e.g. Home) to stay selected when one hovers over it, and the others to show a hover and then change back to the unselected state, but the one that is selected (page you are on) to stay selected. vict

[jQuery] Menu Hover and Selected

2009-04-11 Thread Takaya213
Hi I have the following jQuery code, but it doesn't seem to work 100%: $('.nav a img').hover( function(){ if($(this).attr("src").indexOf("_on") == -1) { var newSrc = $(this).attr("src").replace(".png","_on.png");

[jQuery] Scrolling a Div

2008-12-08 Thread Takaya213
Hi All I am trying to scroll a single div (can't have other divs with id's, etc) left (previous) and right (next). It is just a single div by itself with content in it, i just want the next and previous buttons nothing more. Please if anybody could help urgently! Thanks -- View this message

[jQuery] Re: Serious help needed thanks

2008-11-11 Thread Takaya213
> On Nov 6, 6:19 am, Takaya213 <[EMAIL PROTECTED]> wrote: >> Hi >> >> I have a div, which has tabs that changes the divs in the area below it, >> show/hide effect. Now inside the div that is changed by the tabs it needs >> to >> scroll the content of t

[jQuery] Serious help needed thanks

2008-11-06 Thread Takaya213
Hi I have a div, which has tabs that changes the divs in the area below it, show/hide effect. Now inside the div that is changed by the tabs it needs to scroll the content of that specific div with next and previous buttons each div having its own contents that needs to scroll. The tabs when cl

[jQuery] Help needed please!

2008-10-14 Thread Takaya213
Hi All I was wondering if anybody could help me please. I have several divs on a page that show.hide according to an image button that is pressed. 1. The buttons need to hover but the one that was clicked needs to stay in the hover/selected state. 2. The button that is selected, doesn't need to

[jQuery] jQuery Help Please

2008-10-14 Thread Takaya213
Hi All I was wondering if anybody could help me please. I have several divs on a page that show.hide according to an image button that is pressed. 1. The buttons need to hover but the one that was clicked needs to stay in the hover/selected state. 2. The button that is selected, doesn't need to