Where are you trying to load the other page? Are you trying to do
something like
'Contact Via Ajax' tabs demo, but separate the the mouseover action
from the
clicking?
On May 21, 12:07 am, Martina <martina.l...@wineselectors.com.au>
wrote:
Basically i want the tab hover effect to show the div content which is
like a blurb about different pages and when you actually click on the
tab you actually go to that page
<jsjqueryem...@gmail.com> wrote:
> Where are you trying to load the other page? Are you trying to do
> something like
> 'Contact Via Ajax' tabs demo, but separate the the mouseover action
> from the
> clicking?
> On May 21, 12:07 am, Martina <martina.l...@wineselectors.com.au>
> wrote:
> > Has anyone else successfully been able to do this or know how I might
> > try?
> > On May 19, 9:57 am, Martina <martina.l...@wineselectors.com.au> wrote:
> > > I have some jQuery tabs which are using the hover effect to change the
> > > tabs.
> > > Can I also use the onClick event to actually link to another page?
> > > If so how? This is my code which is adding the hover effect;
Basically i want the tab hover effect to show the div content which is
like a blurb about different pages and when you actually click on the
tab you actually go to that page
<jsjqueryem...@gmail.com> wrote:
> Where are you trying to load the other page? Are you trying to do
> something like
> 'Contact Via Ajax' tabs demo, but separate the the mouseover action
> from the
> clicking?
> On May 21, 12:07 am, Martina <martina.l...@wineselectors.com.au>
> wrote:
> > Has anyone else successfully been able to do this or know how I might
> > try?
> > On May 19, 9:57 am, Martina <martina.l...@wineselectors.com.au> wrote:
> > > I have some jQuery tabs which are using the hover effect to change the
> > > tabs.
> > > Can I also use the onClick event to actually link to another page?
> > > If so how? This is my code which is adding the hover effect;
From my understanding of your question, there's no native way to do
it
because your href can only do one thing -either load content (or
blurb)
from the page or ajax, or open the link in a new window. There's no
way
to do both as is because you're trying to make one href item do two
things.
However, there's an easy hack around it:
This assumes every tab needs to link to an external page- the title
attribute
is used to hold the page to go to on click. The '.tabs()' call gets
the
mouseover for blurb loading, and a separate .click() function handles
the
actual page loading.
$("#tabs").tabs({
event: 'mouseover'
});
$("#tabs > ul > li >a").click(function(){
window.location=$(this).attr('title');
});
If you don't have a title assigned for each href and you do click on
the tab, IE may complain based on your settings. If you don't need
an external link on every tab, the following will be a better way:
Again, this is pretty much a hack using the title attribute in a way
some
css purists may not approve of. If you're willing to risk a visit from
the CSS
police, this will work in Firefox, IE, Chrome, and Opera.
On May 25, 6:58 am, Martina <martina.l...@wineselectors.com.au> wrote:
> Basically i want the tab hover effect to show the div content which is
> like a blurb about different pages and when you actually click on the
> tab you actually go to that page
> <jsjqueryem...@gmail.com> wrote:
> > Where are you trying to load the other page? Are you trying to do
> > something like
> > 'Contact Via Ajax' tabs demo, but separate the the mouseover action
> > from the
> > clicking?
> > On May 21, 12:07 am, Martina <martina.l...@wineselectors.com.au>
> > wrote:
> > > Has anyone else successfully been able to do this or know how I might
> > > try?
> > > On May 19, 9:57 am, Martina <martina.l...@wineselectors.com.au> wrote:
> > > > I have some jQuery tabs which are using the hover effect to change the
> > > > tabs.
> > > > Can I also use the onClick event to actually link to another page?
> > > > If so how? This is my code which is adding the hover effect;
This works like a charm, the only issue is that i need to set the link/
title url value from the database and I can do this when i set the tab
label and content because these also come from the database, but when
i set the a href id and the runat to server so I can access the link
to set the title the page goes crazy and I keep getting a loading...
where the tab name should be?
<jsjqueryem...@gmail.com> wrote:
> From my understanding of your question, there's no native way to do
> it
> because your href can only do one thing -either load content (or
> blurb)
> from the page or ajax, or open the link in a new window. There's no
> way
> to do both as is because you're trying to make one href item do two
> things.
> However, there's an easy hack around it:
> This assumes every tab needs to link to an external page- the title
> attribute
> is used to hold the page to go to on click. The '.tabs()' call gets
> the
> mouseover for blurb loading, and a separate .click() function handles
> the
> actual page loading.
> $("#tabs").tabs({
> event: 'mouseover'
> });
> $("#tabs > ul > li >a").click(function(){
> window.location=$(this).attr('title');
> });
> If you don't have a title assigned for each href and you do click on
> the tab, IE may complain based on your settings. If you don't need
> an external link on every tab, the following will be a better way:
> Again, this is pretty much a hack using the title attribute in a way
> some
> css purists may not approve of. If you're willing to risk a visit from
> the CSS
> police, this will work in Firefox, IE, Chrome, and Opera.
> On May 25, 6:58 am, Martina <martina.l...@wineselectors.com.au> wrote:
> > Basically i want the tab hover effect to show the div content which is
> > like a blurb about different pages and when you actually click on the
> > tab you actually go to that page
> > <jsjqueryem...@gmail.com> wrote:
> > > Where are you trying to load the other page? Are you trying to do
> > > something like
> > > 'Contact Via Ajax' tabs demo, but separate the the mouseover action
> > > from the
> > > clicking?
> > > On May 21, 12:07 am, Martina <martina.l...@wineselectors.com.au>
> > > wrote:
> > > > Has anyone else successfully been able to do this or know how I might
> > > > try?
> > > > On May 19, 9:57 am, Martina <martina.l...@wineselectors.com.au> wrote:
> > > > > I have some jQuery tabs which are using the hover effect to change the
> > > > > tabs.
> > > > > Can I also use the onClick event to actually link to another page?
> > > > > If so how? This is my code which is adding the hover effect;
> This works like a charm, the only issue is that i need to set the link/
> title url value from the database and I can do this when i set the tab
> label and content because these also come from the database, but when
> i set the a href id and the runat to server so I can access the link
> to set the title the page goes crazy and I keep getting a loading...
> where the tab name should be?
> <jsjqueryem...@gmail.com> wrote:
> > From my understanding of your question, there's no native way to do
> > it
> > because your href can only do one thing -either load content (or
> > blurb)
> > from the page or ajax, or open the link in a new window. There's no
> > way
> > to do both as is because you're trying to make one href item do two
> > things.
> > However, there's an easy hack around it:
> > This assumes every tab needs to link to an external page- the title
> > attribute
> > is used to hold the page to go to on click. The '.tabs()' call gets
> > the
> > mouseover for blurb loading, and a separate .click() function handles
> > the
> > actual page loading.
> > If you don't have a title assigned for each href and you do click on
> > the tab, IE may complain based on your settings. If you don't need
> > an external link on every tab, the following will be a better way:
> > Again, this is pretty much a hack using the title attribute in a way
> > some
> > css purists may not approve of. If you're willing to risk a visit from
> > the CSS
> > police, this will work in Firefox, IE, Chrome, and Opera.
> > On May 25, 6:58 am, Martina <martina.l...@wineselectors.com.au> wrote:
> > > Basically i want the tab hover effect to show the div content which is
> > > like a blurb about different pages and when you actually click on the
> > > tab you actually go to that page
> > > On May 21, 3:39 pm, "jsjqueryem...@gmail.com"
> > > <jsjqueryem...@gmail.com> wrote:
> > > > Where are you trying to load the other page? Are you trying to do
> > > > something like
> > > > 'Contact Via Ajax' tabs demo, but separate the the mouseover action
> > > > from the
> > > > clicking?
> > > > On May 21, 12:07 am, Martina <martina.l...@wineselectors.com.au>
> > > > wrote:
> > > > > Has anyone else successfully been able to do this or know how I might
> > > > > try?
> > > > > On May 19, 9:57 am, Martina <martina.l...@wineselectors.com.au> wrote:
> > > > > > I have some jQuery tabs which are using the hover effect to change the
> > > > > > tabs.
> > > > > > Can I also use the onClick event to actually link to another page?
> > > > > > If so how? This is my code which is adding the hover effect;