problem at posting_body adding a Script
3 posters
Page 1 of 1
problem at posting_body adding a Script
trying to add the Script
http://pastebin.com/7vAScdYh
into the posting _body template
but it fails the template refuse even a letter at line 990
is there a way to fix that
http://pastebin.com/7vAScdYh
into the posting _body template
but it fails the template refuse even a letter at line 990
is there a way to fix that
Michael_vx- Forumember
-
Posts : 664
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: problem at posting_body adding a Script
Hi @Michael_vx,
It appears the template is too big. You can try minifying it :
http://www.willpeavy.com/minifier/
Another solution would be to optimize it by replacing unnecessary style attributes with class names. Like these :
It appears the template is too big. You can try minifying it :
http://www.willpeavy.com/minifier/
Another solution would be to optimize it by replacing unnecessary style attributes with class names. Like these :
- Code:
style="font-stretch: normal; font-size: 11pt; border: 2px groove; padding: 6px; width: 100%; background: rgb(225, 225, 226);"
Re: problem at posting_body adding a Script
even with minifying it still wont help
as my anylize
the max size for that template was 65.3 KB as a txt file
the Script size in txt is about 90 KB before minifying
after minifying 70 KB
ok now i have one of 2
1 - is a way to let the Script load from out side like the LG like system but i have no idea about HTML since the LG like system is a Java
2 - is try to do as you said and spare the styling into CSS
if the line 1 cant be done then topic is closed
thanks so much in advance
as my anylize
the max size for that template was 65.3 KB as a txt file
the Script size in txt is about 90 KB before minifying
after minifying 70 KB
ok now i have one of 2
1 - is a way to let the Script load from out side like the LG like system but i have no idea about HTML since the LG like system is a Java
2 - is try to do as you said and spare the styling into CSS
if the line 1 cant be done then topic is closed

thanks so much in advance
Michael_vx- Forumember
-
Posts : 664
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: problem at posting_body adding a Script
1. Unfortunately template-wise it's not entirely possible to replace the entire HTML on the page, because there's two problems :
- It can be VERY heavy
- There's no way for us to parse the template variables client-side
Number 2 would be your best option of minifying the size of this template.
- It can be VERY heavy
- There's no way for us to parse the template variables client-side
Number 2 would be your best option of minifying the size of this template.
Re: problem at posting_body adding a Script
since the Master of Scripts said
- There's no way for us to parse the template variables client-side
i trust what you say
Topic is done
solved to me
Archive it or grabag it
thank you
- There's no way for us to parse the template variables client-side
i trust what you say
Topic is done
solved to me
Archive it or grabag it

thank you
Michael_vx- Forumember
-
Posts : 664
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: problem at posting_body adding a Script
Problem solved & topic archived.
|


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.

» Adding an auction script
» need help for adding facebook like script
» adding script to the homepage footer?
» Adding Google script in homepage and all pages
» adding script to main page for gaming tracker....help
» need help for adding facebook like script
» adding script to the homepage footer?
» Adding Google script in homepage and all pages
» adding script to main page for gaming tracker....help
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum