Do something like:
first
second
third
JS:
$(function(ev) {
$('#links a').click(function(ev){
$('#content div').hide();
id = $(this).attr('id');
$('#' + id + 'Div').show();
);
});
Un
: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf
Of brian
Sent: 05 March 2009 18:47
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Animate using relative %
On Thu, Mar 5, 2009 at 1:12 PM, Adam Jessop wrote:
> Well contrary to
Behalf
Of brian
Sent: 05 March 2009 18:47
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Animate using relative %
On Thu, Mar 5, 2009 at 1:12 PM, Adam Jessop wrote:
> Well contrary to the domain name, it is a real site with no threat, disable
> your JS first if you like!
I was joking
bject: [jQuery] Re: Animate using relative %
On Thu, Mar 5, 2009 at 8:22 AM, Adam Jessop wrote:
> Sure,
>
> The site in question is at: http://be.0wned.co.uk
Do you really expect anyone to click that link with JS enabled? ;-)
I thi
Give the li's an ID and just use that for the step number
e.g:
Step one
Step two
Then:
$("#stepsList li").click(function() {
// load stepContent ===> not a problem
id = $(this).attr('id');
$("#stepFooter").html("Viewing "+ id.replace("-"," ") +" of
"+$("#stepsList li").length);
uot;#city").animate({
top:'-565%'
},1600);
This moves the position into the correct position, but proves the case that it
uses px instead of % which is no good to me as on browser resize it loses its
relative position.
I hope this helps, please let me know if I can assi
y").animate({
top:'-565%'
},1600);
This moves the position into the correct position, but proves the case that it
uses px instead of % which is no good to me as on browser resize it loses its
relative position.
I hope this helps, please let me know if I can assi
1.3.2
Adam Jessop.
8 matches
Mail list logo