Print Page | Close Window

Need a JavaScript expert to fix my mess

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=1630
Printed Date: 23-November-2024 at 5:46pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Need a JavaScript expert to fix my mess
Posted By: Chris
Subject: Need a JavaScript expert to fix my mess
Date Posted: 14-May-2008 at 5:59pm
Hi,
 
I just made my first attempt to customize my two header.asp file (associated with the index.asp & viewcontent.asp files). I'm convinced I cut/pasted or did something to mess them up. Two problems:
 
The rotating images on my front page no longer work: http://hogwild.spiderhost.com/ - http://hogwild.spiderhost.com/
 
It want to align images to the absMiddle (next & prev buttons on this page)
http://hogwild.spiderhost.com/store/pc/viewPrd.asp?idcategory=5&idproduct=1 - http://hogwild.spiderhost.com/store/pc/viewPrd.asp?idcategory=5&idproduct=1
 
It also did it on this page until I specified individual TDs for each image
http://hogwild.spiderhost.com/store/pc/viewContent.asp?idpage=4 - http://hogwild.spiderhost.com/store/pc/viewContent.asp?idpage=4
 
AND the link to the Store is slow to load. All of this happenened after I modified the .asp file but I know ZERO about .asp & JS & really need an expert before I mess this up further. Thanks in advance. Chris



Replies:
Posted By: Hamish
Date Posted: 14-May-2008 at 9:42pm
Hi Chris,
   What's causing the slow loading is the DOJO script &  associated images.
If you have firefox & the web developer extension right click on the page and do "Web Developer > Tools > Speed Report"  - Note, I think the analysis only spots the first of your, now working, rotating images.
The dojo js file itself is pretty darn big & the images also add up. 10 * 88kb - If you can squeeze them down in size and or number without sacrificing to much quality I think it would be worth it.



Posted By: Chris
Date Posted: 14-May-2008 at 10:39pm
Thanks so much. My wi-Fi is out at home so I'll check it as soon as I get to work in the am. Night.Chris



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net