OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

Is there any way to speed up java script?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Is there any way to speed up java script?
Page: [1]
 
leehintz

 

Posts: 384
Joined: 10/10/2000
From: Oak Creek Wisconsin USA
Status: offline

 
Is there any way to speed up java script? - 8/4/2003 16:47:10   
Hi everyone,

Is there any easy way to speed up the loading time of a java script? I set up a very nice looking pop-out menu, but there are so many second level items that it takes forever to load. Thanks for any tips.:)

_____________________________

Lee A. Hintz, Consultant
ArtGals.com
www.artgals.com
bobby

 

Posts: 11479
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Is there any way to speed up java script? - 8/5/2003 10:24:53   
1. Faster connection speed (makes downloading quicker)

2. Faster computer

You probably won' t notice a lot of difference on opton #2, but since JavaScript is processed in your browser a 233MHz PC will probably lag a bit compared to a 2GHz or better...

:)

_____________________________

Talk to your kittens about catnip, or someone else will.


:)

(in reply to leehintz)
Reflect

 

Posts: 4765
From: USA
Status: offline

 
RE: Is there any way to speed up java script? - 8/5/2003 11:15:23   
quote:

Is there any easy way to speed up the loading time of a java script?


You might want to look at your external JS file for the menu. From what you are saying I am guessing it to be around 40kb plus in size. Not knowing which one you are using I would venture to say trim down on your effects that surround the menu and the fly out menus.

Brian

_____________________________


(in reply to leehintz)
leehintz

 

Posts: 384
Joined: 10/10/2000
From: Oak Creek Wisconsin USA
Status: offline

 
RE: Is there any way to speed up java script? - 8/5/2003 11:30:48   
Thanks Bobby and Brian,

Yes, it' s even bigger than that. It just got away from me, as far as size goes. As I started adding products it looked good and loaded fine. As I continued to add more products it got slower and slower. When I got all if the products added, it was verrrry slooow! I am going to change the nav structure by using some additional pages for the the first level, and not have the fly-out try to do everything. I would then be able to add smaller fly-outs on each first level page.:)

_____________________________

Lee A. Hintz, Consultant
ArtGals.com
www.artgals.com

(in reply to leehintz)
pageoneresults

 

Posts: 1001
From: Orange, CA USA
Status: offline

 
RE: Is there any way to speed up java script? - 8/5/2003 15:07:20   
Just a little advice from someone who has been there and done that. All these neat little advances in using javascript can lead to an unsatisfactory user experience. You should pay close attention to your web metrics and see what percentage of your users have javascript turned off. If it is more than a few percent, you shold ixne any special effects that present important information, fly out menus being one of them.

Surfers with javascript turned off is increasing slowly but surely. Many who surf regularly may turn off javascript for security reasons. Some companies may disable javascript for their employees mainly due to virus issues. Don' t let all the fancy stuff hurt the visitors browsing experience! ;)

P.S. Our external javascript files usually do not exceed 5kb in size. If you are over 40k, you have some very serious usability issues at hand that you may not be aware of. Over 50% of the surfing population is still at 56k or below. 40k of javascript loading will chase a visitor away immediately. If you look at your statistics and see a large percentage of single access page visits to your home page or any other main entrance page, then you may have some problems that you are not aware of, mainly download times for the pages that house that javascript.

< Message edited by pageoneresults -- 8/5/2003 3:12:35 PM >


_____________________________

SEO Consultants Directory
Find Search Engine Marketing Companies

(in reply to leehintz)
leehintz

 

Posts: 384
Joined: 10/10/2000
From: Oak Creek Wisconsin USA
Status: offline

 
RE: Is there any way to speed up java script? - 8/6/2003 12:11:31   
Thanks for the advice page! I will give that some serious thought. I guess I better have an alternate method of displaying product options besides the fly-out menu.:)

_____________________________

Lee A. Hintz, Consultant
ArtGals.com
www.artgals.com

(in reply to leehintz)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Is there any way to speed up java script?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts