System of automatic pagination on the images (except functional script on a technicality)
3 posters
Page 2 of 2
Page 2 of 2 • 1, 2
System of automatic pagination on the images (except functional script on a technicality)
First topic message reminder :
Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Opera
Who the problem concerns : All members
Forum link : http://altitudetest.forumactif.com
I use a js forum that allows paginationsur images and / or text.
The tutorial comes from the French forum : http://forum.forumactif.com/t355762-pagination-dans-un-message?highlight=pagination
History automate the system, I have worked a js that allows to affix the tag page every 6 images.
the script works except on one point: the center tag is not taken into account. This centering can isolate the expanded part of the rest of the message which should not be paged.
Here is a link that allows to realize the concern
http://altitudetest.forumactif.com/t91-essai-post-photos
Would you have a solution to help me solve this little problem ?.
Thank you in advance for your help.
Technical Details
Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Opera
Who the problem concerns : All members
Forum link : http://altitudetest.forumactif.com
Description of problem
Hello everyone,I use a js forum that allows paginationsur images and / or text.
The tutorial comes from the French forum : http://forum.forumactif.com/t355762-pagination-dans-un-message?highlight=pagination
History automate the system, I have worked a js that allows to affix the tag page every 6 images.
the script works except on one point: the center tag is not taken into account. This centering can isolate the expanded part of the rest of the message which should not be paged.
- Code:
$(function() {
$('div.postbody').each(function() {
$(this).find('div').first().find('img:not("[longdesc]")').attr('id', function(img) {
return 'M14_img_' + img;
})
});
$('img[id^="M14_img"]').unwrap();
});
$(function() {
$('div.postbody').each(function() {
$(this).find('img[id^="M14_img"]').length;
$(this).find('img[id="M14_img_0"]').before('[center] ');
$(this).find('img[id="M14_img_6"]').before('[page]');
$(this).find('img[id="M14_img_12"]').before('[page]');
$(this).find('img[id="M14_img_18"]').before('[page]');
$(this).find('img[id="M14_img_24"]').before('[page]');
$(this).find('img[id="M14_img_30"]').before('[page]');
$(this).find('img[id^="M14_img"]:last').after('[/center]');
});
});
Here is a link that allows to realize the concern
http://altitudetest.forumactif.com/t91-essai-post-photos
Would you have a solution to help me solve this little problem ?.
Thank you in advance for your help.
fascicularia- Forumember
- Posts : 172
Reputation : 1
Language : french
fascicularia- Forumember
- Posts : 172
Reputation : 1
Language : french
fascicularia- Forumember
- Posts : 172
Reputation : 1
Language : french
fascicularia- Forumember
- Posts : 172
Reputation : 1
Language : french
Re: System of automatic pagination on the images (except functional script on a technicality)
Do you mean this image is the issue?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: System of automatic pagination on the images (except functional script on a technicality)
Hello SLgray,
The worry does not situate at the level of the images.
The script presents 2 worries
1 the center tag is not taken into account as being bbcode and therefore, does not work.
2 a text inserted after the last image is automatically integrated with the pagination
The worry does not situate at the level of the images.
The script presents 2 worries
1 the center tag is not taken into account as being bbcode and therefore, does not work.
2 a text inserted after the last image is automatically integrated with the pagination
fascicularia- Forumember
- Posts : 172
Reputation : 1
Language : french
Re: System of automatic pagination on the images (except functional script on a technicality)
I noticed that in your profile that you know French. Have you tried to get help from the official French support forum?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: System of automatic pagination on the images (except functional script on a technicality)
Yes I tried but it did not give anything but bump to several months (that's why I try my luck here, you never know)
fascicularia- Forumember
- Posts : 172
Reputation : 1
Language : french
fascicularia- Forumember
- Posts : 172
Reputation : 1
Language : french
fascicularia- Forumember
- Posts : 172
Reputation : 1
Language : french
fascicularia- Forumember
- Posts : 172
Reputation : 1
Language : french
fascicularia- Forumember
- Posts : 172
Reputation : 1
Language : french
Page 2 of 2 • 1, 2
Similar topics
» How to change allignment/Postion of images/imported script images.
» Automatic Script
» Automatic SP System
» automatic infraction system
» Automatic Credit System...
» Automatic Script
» Automatic SP System
» automatic infraction system
» Automatic Credit System...
Page 2 of 2
Permissions in this forum:
You cannot reply to topics in this forum