The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

the topic pup up stoped working on my forum in all of sudden

2 posters

Go down

Solved the topic pup up stoped working on my forum in all of sudden

Post by Michael_vx October 13th 2014, 12:38 am

the topic pup up stoped working on my forum in all of sudden all what its show me is this

the topic pup up stoped working on my forum in all of sudden Untitl11

if there way to find out what happen in my forum thanks again
Michael_vx
Michael_vx
Forumember

Male Posts : 664
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: the topic pup up stoped working on my forum in all of sudden

Post by Ange Tuteur October 13th 2014, 12:57 am

Hi Michael,

Could you provide a link to your forum ?

Thanks Smile
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: the topic pup up stoped working on my forum in all of sudden

Post by Michael_vx October 13th 2014, 12:59 am

Ange Tuteur wrote:Hi Michael,

Could you provide a link to your forum ?

Thanks Smile
the link
http://micsoft.logu2.com
the forum is Arabic
the Script was wrking before
Michael_vx
Michael_vx
Forumember

Male Posts : 664
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: the topic pup up stoped working on my forum in all of sudden

Post by Ange Tuteur October 13th 2014, 1:11 am

Odd, try replacing your script by :
Code:
$(function () {
  $('a.topictitle').after(' <img id="topicPreview" src="http://hitskin.com/themes/20/23/90/i_icon_latest_reply.png" title="عرض فورى للموضوع" alt="Preview" style="cursor:pointer;" />');
  $('img#topicPreview').click(function () {
    $('body').append('<div id="preview-filter" style="position:fixed;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0, 0.5);cursor:pointer;z-index:10;"></div>' + '<div id="topicPreview-container" style="top:20%;left:15%;right:15%;padding:4px;position:fixed;z-index:50;background:#D1D1D1;border-radius:5px;box-shadow:0px 0px 2px rgba(0,0,0, 0.5) inset;">' + '<style>' + '#closeButton {color:#fff;font-size:10px;font-weight:bold;background:rgba(0,0,0,0.6);box-shadow:0px 0px 2px rgba(0,0,0,1) inset;text-shadow:0px 0px 1px #000;display:inline-block;border-radius:30px;padding:3px 6px;cursor:pointer;position:absolute;top:-8px;right:-8px;}' + '#closeButton:hover {background:#D56262;}' + '</style>' + '<div id="closeButton">اغلاق الصفحة</div>' + '<div id="topicPreviewing" style="max-height:600px;overflow-y:auto;">' + '<center>' + '<span class="topicPreview-loading" style="font-weight:bold;font-size:18px;">' + 'انتظر من فضلك' + '</span>' + '</center>' + '</div>' + '</div>');
    $('#topicPreviewing').load(jQuery(this).siblings('a.topictitle').attr('href') + ' .post:eq(1)');
    $('div#preview-filter, #closeButton').click(function () {
      $('#preview-filter, #topicPreview-container').remove()
    })
  })
});
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: the topic pup up stoped working on my forum in all of sudden

Post by Michael_vx October 13th 2014, 1:18 am

O.o
solved right a way
the code working
thanks for the big help
i wonder why the old one is not working any more
topic solved
thanks a lot
Michael_vx
Michael_vx
Forumember

Male Posts : 664
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: the topic pup up stoped working on my forum in all of sudden

Post by Ange Tuteur October 13th 2014, 1:20 am

That is a mystery, you're welcome ! Razz

I changed .post:eq(0) to .post:eq(1) and it worked.

Topic archived
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum