Problem with a refresh javascript
2 posters
Page 1 of 1
Problem with a refresh javascript
Hi all,
I am facing a problem with a javascript which its refreshing the recent topics system. When I am pressing the refresh button http://prntscr.com/48o4bf the first(left) column is moving right http://prntscr.com/48o4rq .
My refresh Javascript code is:
I am facing a problem with a javascript which its refreshing the recent topics system. When I am pressing the refresh button http://prntscr.com/48o4bf the first(left) column is moving right http://prntscr.com/48o4rq .
My refresh Javascript code is:
- Spoiler:
- Code:
function refreshfmvi ()
{
$("#immor").show();
$("ul#recent_topics").css("opacity", 0.5).load("/forum ul#recent_topics", function ()
{
$("#immor").hide();
$("ul#recent_topics").css("opacity", 1)
})
}
Last edited by Black-Shadow on August 5th 2014, 3:31 pm; edited 1 time in total
Re: Problem with a refresh javascript
Hi Black Shadow,
You have recent_topics in recent_topics, so you need to unwrap your replacement.
Try this :
You have recent_topics in recent_topics, so you need to unwrap your replacement.
Try this :
- Code:
function refreshfmvi ()
{
$("#immor").show();
$("ul#recent_topics").css("opacity", 0.5).load("/forum ul#recent_topics", function ()
{
$("#immor").hide();
$("ul#recent_topics").css("opacity", 1);
$('#recent_topics #recent_topics').unwrap();
})
}
Similar topics
» Problem with quick reply without refresh javascript
» problem for javascript
» Javascript activation problem
» Problem with IPS Steps Javascript
» JavaScript problem!
» problem for javascript
» Javascript activation problem
» Problem with IPS Steps Javascript
» JavaScript problem!
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum