I was able to produce what I want using Adobe Animate. I want to reduce the amount of code, as Animate inserts extra code that from my perspective seems useless ?
Siberian
13
Junior Poster
Recommended Answers
Jump to PostI looked at the HTML and maybe some comments can be tossed. Why send that to the client?
As to the javascript I see a passage where a programmer could roll up what looks like a near repeating line of code inside a for loop but there are tomes about …
Jump to PostI'd avoid a mess (?) and just toss the comments or make the comment a single line so that isn't sent.
As to the repeating calls with apparent parameter changes, I guess we could roll those into a for loop but as I noted, there are debates about rolling or …
Jump to PostI gave this a medium depth reading to see what easily could be reduced. Line count reduction in both HTML and JS was noted above. Any more and you would have to possibly start from scratch. But my bet is it would be not any faster or smaller.
Jump to PostBoth. In the html (I'm repeating myself here) the comments can go as not needed for this and rolling up the what looks like repeat code with parameter changes in the Javascript. This would reduce line count and the number of bytes going to the client and in short, optimizing …
Jump to PostYou probably don't need this webfont stuff. I've deleted thiose lines and it keeps on swinging :)
lib.webFontTxtInst = {}; var loadedTypekitCount = 0; var loadedGoogleCount = 0; var gFontsUpdateCacheList = []; var tFontsUpdateCacheList = []; lib.ssMetadata = []; lib.updateListCache = function (cacheList) { for(var i = …
All 22 Replies
rproffitt
2,580
"Nothing to see here."
Moderator
Siberian
13
Junior Poster
rproffitt
2,580
"Nothing to see here."
Moderator
Siberian
13
Junior Poster
rproffitt
2,580
"Nothing to see here."
Moderator
Siberian
13
Junior Poster
rproffitt
2,580
"Nothing to see here."
Moderator
Siberian
13
Junior Poster
gentlemedia
803
Master Poster
Siberian
13
Junior Poster
gentlemedia
803
Master Poster
Siberian
13
Junior Poster
gentlemedia
803
Master Poster
Siberian
13
Junior Poster
gentlemedia
803
Master Poster
Siberian
13
Junior Poster
gentlemedia
803
Master Poster
Siberian
13
Junior Poster
gentlemedia
803
Master Poster
cereal
1,524
Nearly a Senior Poster
Featured Poster
Siberian
13
Junior Poster
gentlemedia
803
Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.