
Mike4172
User
Sep 27, 2004, 4:04 PM
Post #1 of 18
(9017 views)
Shortcut
|
|
[Add On] - PageBreak V 2.0 Automatic PageBreaks!
|
Can't Post
|
|
In this script we updated two notable things to make things easier as a webmaster of your respective site. 1) No longer must you manually enter pagebreaks. With this updated script the you simply set how many max characters you want on a page, and the min number of characters you require for page two. This is so you won't have a 2nd page with only 1 line on it. Also, we've biult in a function to where after a max number of characters are met for a page, it won't break until the nearest line break (ie. <BR><BR> or <p> ect). This is ultimately so you won't have a break in mid sentence. 2) The next change to script is to incorporate it into a search engine friendly script. Since search engines do not scan variables in scripts, under the previous version it never indexed the articles themselves. By adding a few lines, we've enabled search engine friendly outputs. By doing this, we've also enabled browsers with Javascript turned off, to still display your articles. We've tested this script successfully with Netscape, Internet Explorer, Mozilla, Firefox, and Konqueror. Any bugs found reply to this message in the forum instead of emailing. Enjoy! http://www.amscripts.com/amaddons/#break ********* UPDATED ********* V 2.1 - counter fixed. Sometimes in IE 6.0 + the counter was confused when there were enough characters to make a last page, but not enough to make a full normal last page. v 2.2 - link to blank page fixed. Some ending characters caused a blank page printout for page 2 or above. Regards, Michael [red]NEW![/red][url "http://amscripts.net/webdesign/#logo"]Logo and Website Design[/url] [url "http://amscripts.net/amaddons/#apde"]Auto Post Date and Expiration[/url] [url "http://amscripts.net/amaddons/#goforum"]GoForum 2.02[/url] [url]http://www.amscripts.net[/url] [url "http://www.skype.com"]SKYPE[/url] - michael.amscripts
(This post was edited by Mike4172 on Mar 12, 2005, 4:28 AM)
|