Originally posted by rpertusio:
Hi everyone!
I think I figured it out!
Symptoms:
- You added the Scrolling Gallery manually using the "Scrolling Gallery HTML" code
- Loading pages with Firefox results in an 'Unresponsive Script' error
- Internet Explorer is somewhat slower
- Firefox 'hangs' while loading your eBay item
I found that Firefox became slow when using the 'Scrolling Gallery HTML' code that I got from the 'Store' settings in Auctiva. (It didn't appear slow when I had Auctiva 'automatically' add the Scrolling Gallery to my items.) So, the idea of the 'fix' was simple. All I needed to do was find the difference between the automatically inserted code and the manual HTML code. I found where the difference was...
In the 'Automatic' code, it used in the 'category' of the item in the code. The manual HTML code method actually slowed down Firefox because it had to actually search the whole page for the category. So, the error happens when the script is searching the entire page for the category.
The fix itself isn't easy, especially if you're not used to editing code. But, for the courageous, here's how to fix it:
-=-=-=-=-=-=-=-=-=-
SOLUTION #1 (This solution is a lot easier to do, but your scrolling gallery may start showing items from different categories. For instance, if you're selling a few CDs and a pair of shoes, you'll see all of them in the scrolling gallery. See Solution #2 if you want it to ONLY list items in the same category.)
1) Log in to Auctiva's website. Click on 'Store', then click on 'Scrolling Gallery HTML'. Copy all the text in the box to Notepad and we'll make some edits:
2) Find and Delete this entire section of code (which can be found around the 5th line of text):
function scrapeCat(){var are = /.+\/category(\d+?)\//im; var ama =
document.body.innerHTML.match(are); if (ama != null && ama.length == 2) { return
ama[1]; } else { return '-1'; } }3) Now, find and delete this entire section of code (a little bit further):
&cat=' + scrapeCat() + '
4) Now, you can just paste your newly modified code into your eBay listing! It should no longer 'lag' or cause the browser error.
-=-=-=-=-=-=-=-=-=-
SOLUTION #2 (This solution is a bit more tricky, but it allows the Gallery to show ONLY items in the same category. For example, a pair of shoes you're selling won't appear in your scrolling gallery if people are browsing some CDs you're selling. At least, I think that's how it works!)
1) Browse eBay for the category you wish to list your item in. For instance, let's say I want to list something in this category "DVDs & Movies > DVD, HD DVD & Blu-ray"
2) Look in the address bar (the long ugly URL of your browser window) for the following letters "catZ". It will likely be stuck in a jumble of other letters and characters. Jot down the the number immediately following "catZ". In the 'DVDs' example from above, the URL may look like this:
h**p://dvd.listings.ebay.com/DVD-HD-DVD-Blu-ray_W0QQfromZR4QQsa
catZ617QQsocmdZListingItemList
So, the magic number is '617' for this category.
3) Log in to Auctiva's website. Click on 'Store', then click on 'Scrolling Gallery HTML'. Copy all the text in the box to Notepad and we'll make some edits:
4) Find and Delete this entire section of code (which can be found around the 5th line of text):
function scrapeCat(){var are = /.+\/category(\d+?)\//im; var ama =
document.body.innerHTML.match(are); if (ama != null && ama.length == 2) { return
ama[1]; } else { return '-1'; } }5) Now, find this code (a little bit further):
' + scrapeCat() + '
Replace that with the number you jotted down in step 2.
So, for example:
Before:
......&siteid=0&cat=
' + scrapeCat() + '&baseurl=.......
After:
......&siteid=0&cat=
617&baseurl=.......
6) Now, you can just paste your newly modified code into your eBay listing! It should no longer 'lag' or cause the browser error. The only downside to this fact is that you'll have to change this for each category you post stuff in.
-=-=-=-=-=-=-=-=-=-
I hope you found this post helpful. You may want to give Auctiva Support a link to this post if it works for you.
If you need any clarification, let me know!
- rp