mm i dont know if this is the best way but you could try
$(ul a#click).onclick = function() { return false; }
and then on that link you set a style class with the standard cursor
Its a workaround but it works
On Tue, Jun 9, 2009 at 2:13 PM, alex alex_bille...@hotmail.com wrote:
Hi folks
1-) The dirty way:
$('ul li a').removeAttr('href')
2-) A standard way:
image = [];
$('ul li a img').each(function(i) {
image[i] = $(this).clone();
$(this).parents('li').html(image[i]);
})
Maurício
On Tue, Jun 9, 2009 at 2:13 PM, alex alex_bille...@hotmail.com wrote:
Hi folks
Run a .each() to retrieve the images, and delete .remove()
the images and place them into a var.
Then remove all li gt(0) greater then and replace them into one li
It should be doable...
On Jun 9, 9:07 am, Armand Datema nok...@gmail.com wrote:
mm i dont know if this is the best way but you
For the example markup you give it's very simple, just do this:
$('ul li a').each(function(){
$(this).replaceWith( $(this).children() );
});
On Jun 9, 6:26 am, Adardesign adardes...@gmail.com wrote:
Run a .each() to retrieve the images, and delete .remove()
the images and place them
Thanks for all the help folks - problem sorted out now - I appreciate
it. Take care
Alex
On 9 June, 16:11, mkmanning michaell...@gmail.com wrote:
For the example markup you give it's very simple, just do this:
$('ul li a').each(function(){
$(this).replaceWith( $(this).children() );
Thanks for all the help folks - problem sorted out now - I appreciate
it. Take care
Alex
On 9 June, 16:11, mkmanning michaell...@gmail.com wrote:
For the example markup you give it's very simple, just do this:
$('ul li a').each(function(){
$(this).replaceWith( $(this).children() );
6 matches
Mail list logo