Skip to main content

hello and thank you in advance
I am using the scrolling gallery and i noticed that some listing had it and some did not. So i copy and pasted the script in my listing using black thorn pro. I believe i did it correctly but my listing take a long time to load and sometimes it comes up in the browser as a scripting error
is there a solution
best regard
khalid
Original Post

Replies sorted oldest to newest

Hi,

Normally, the code is automatically added to new listings submitted from Auctiva. That also happens for new members (one-time) shortly after passing the token with eBay. The Store and Store Window operate with your member account and are updated with the API using the token for authentication.

If you're using Blackthorn to submit listings, you would need to manually copy and paste the code.

Not sure why you might be getting a scripting error on load. Are you sure your token is good? Do you have an active listing with that problem that you could post the listing number or link?

Danno
Hi,

I believe disabling only stops appending the gallery to future listings. I know that disabling doesn't remove the code from active listings. However, it might also stop populating/updating the Auctiva Store page with listings (that I've never tested but suspect). I see you link to the page. It's a question you might pose to Auctiva Support with a support request. Note....you need to change the code for that link anchor to go to target="_blank" page (per new eBay policy on off-page links).

Change this: <A href="http://www.auctiva.com/stores/viewstore2.aspx?id=1039863&display=thumbs">

To this: <A href="http://www.auctiva.com/stores/viewstore2.aspx?id=1039863&display=thumbs" target="_blank">

I see you have a very large group of active listings. I examined several dozen of the newest and didn't get a load or scripting problem using IE7 to view. They did have the Blackthorn logo at the bottom.

Are you using a different browser to get the scripting errors?

Are you viewing them with the classic blue accents eBay listing page or the New layout design gray page?

Danno
quote:
A script on this page may be busy, or it may have stopped responding.


I've only seen that message with a run-away script or one that's using very high processor use. I didn't get the error on browsing with IE7, but I did get the error with Firefox. I believe there is a specific change that's often recommended on the code for the scrolling gallery that might resolve the error. Here's a link to a prior post:

https://community.auctiva.com/e...151002672#5151002672

Danno
can you help me with this script:



<!--ASW--><!--version 1.0-->
<table width='100%' border='0' align='center' cellpadding='0' cellspacing='0'>
<tr>
<td>
<SCRIPT LANGUAGE='JavaScript' type='text/javascript'>var itemNumber = window.ebayItemID ? window.ebayItemID : -1; function passpara(){return '&id=1039863&itembgcolor=0xFFFFFF&bordercolor=0x000006&storewindowbgcolor=0xb8d6b6&toptextcolor=0xFFFFFF&bottomtextcolor=0xFFFFFF&stripcolor=0x516bc6&auctionclosemessagecolor=0x516bc6&emptyboxmessagecolor=0x516bc6&buttovercolor=0x516bc6&buttoutcolor=0x516bc6&searchtitlecolor=0xFFFFFF&searchbuttbgcolor=0xFFFFFF&searchbutttextcolor=0x516bc6&searchbuttbordercolor=0xfff000&itemhighlightcolor=0xfff000&navbuttonactivecolor=0xfff000&navbuttonoutlinecolor=0xb8d6b6&navbuttoninactivebgcolor=0xfff000&siteid=0&cat=-1&item=' + itemNumber + '&baseurl='+escape(location.href.substring(0, location.href.lastIndexOf('/') + 1));} </script>
<SCRIPT language='JavaScript' type='text/javascript'><!--

var flashVersion = window.flashVersion ? window.flashVersion : 0;
if (flashVersion <= 0)
{
var agent = navigator.userAgent.toLowerCase();
if (navigator.plugins != null && navigator.plugins.length > 0)
{
var flashPlugin = navigator.plugins['Shockwave Flash'];
if (typeof flashPlugin == 'object')
{
/*
need flash version 6 or higher (this code should work with future flash plugins.)
*/
if (flashPlugin.description.indexOf(' 5.') != -1)
flashVersion = 5;
else if (flashPlugin.description.indexOf(' 4.') != -1)
flashVersion = 4;
else if (flashPlugin.description.indexOf(' 3.') != -1)
flashVersion = 3;
else if (flashPlugin.description.indexOf(' 2.') != -1)
flashVersion = 2;
else if (flashPlugin.description.indexOf(' 1.') != -1)
flashVersion = 1;
else if (flashPlugin.description.indexOf(' 6.') != -1)
flashVersion = 6;
else if (flashPlugin.description.indexOf(' 7.') != -1)
flashVersion = 7;
else
flashVersion = 8;
}
}
else if (agent.indexOf('msie') != -1 && parseInt(navigator.appVersion) >= 4 && agent.indexOf('win')!=-1 && agent.indexOf('16bit')==-1)
{
if (window.sqHasFlash || typeof(window.andale_fv) != 'undefined')
{
if (window.sqHasFlash || andale_fv >= 6)
{
flashVersion = 6;
}
}
else
{
document.writeln('<scr' + 'ipt language="VBScript">');
document.writeln('on error resume next');
document.writeln('dim obFlash ');
document.writeln('set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.7")');
document.writeln('if IsObject(obFlash) then ');
document.writeln('flashVersion = 7 ');
document.writeln('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.6") end if ');
document.writeln('if flashVersion < 7 and IsObject(obFlash) then ');
document.writeln('flashVersion = 6 ');
document.writeln('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.5") end if ');
document.writeln('if flashVersion < 6 and IsObject(obFlash) then ');
document.writeln('flashVersion = 5 ');
document.writeln('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.4") end if ');
document.writeln('if flashVersion < 5 and IsObject(obFlash) then ');
document.writeln('flashVersion = 4 ');
document.writeln('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.3") end if ');
document.writeln('if flashVersion < 4 and IsObject(obFlash) then ');
document.writeln('flashVersion = 3 ');
document.writeln('end if ');
document.writeln('</scr' + 'ipt>');
}
}
}

if (flashVersion >= 6)
{
document.writeln('<table align="center" valign="top" border="0" cellspacing="0" cellpadding="0">');document.writeln('<tr><td width="247"><tr><td align="right" valign="top">');document.writeln('<OBJECT classid="clsidBig Grin27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="602" HEIGHT="394" id="auctivastorewindow" ALIGN="middle">');document.writeln('<PARAM NAME=movie VALUE="http://asw.auctiva.com/StoreWindow.swf">');document.writeln('<PARAM NAME=FlashVars VALUE="'+passpara()+'">');document.writeln('<PARAM NAME=quality VALUE=high>');
document.writeln('<PARAM NAME=wmode VALUE=transparent>');
document.writeln('<PARAM NAME=allowScriptAccess VALUE=always>');document.writeln('<EMBED src="http://asw.auctiva.com/StoreWindow.swf" FlashVars="'+passpara()+'"quality=high ');document.writeln('wmode="opaque" WIDTH="602" HEIGHT="394" NAME="auctivastorewindow" ALIGN="middle"');document.writeln('TYPE="application/x-shockwave-flash"');document.writeln('PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');document.writeln('</EMBED>');
document.writeln('</OBJECT>');
document.writeln('</td></tr></table>');
}
else
{document.write('<a href="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank"><img src="http://www.auctiva.com/images/StoreWin_NoFlashPlayer_Full.jpg" border="0"></a><div style="text-align:center"><table align="center"><tr><td><a style="text-decoration:none" href="http://store.auctiva.com/rules0338"><img src="http://ti2.auctiva.com/sw/browse1.gif" border="0"></a></td><td height="23px" valign="middle" align="center"><font face="arial" size="2"><b><a href="http://store.auctiva.com/rules0338">rules0338</a> Store</b></font></td></tr></table></div>');}
//--></SCRIPT>
<NOSCRIPT><div style="text-align:center"><img src="http://ti2.auctiva.com/sw/java.gif" border="0"><br><table align="center"><tr><td height="28px" valign="middle" align="center"><font face="arial" size="2"><b><a href="http://store.auctiva.com/rules0338">rules0338 store</a></b></font></td><td><a style="text-decoration:none" href="http://store.auctiva.com/rules0338"><img src="http://ti2.auctiva.com/sw/thumbgallery.gif" border="0"></a></td></tr></table></div></NOSCRIPT>

</td>
</tr>
</table>
<!--ASW-->
Hi,

While the code posted in the Forum was incomplete????, I did pickup the code from the listing you gave link to and applied the Solution #1 (removed the function scrapeCat and it's parameter passing). Here's the codeset at practicewriter. Just click on the Edit link to get a window with code for copy and paste test.

http://practicewriter.com/vu/?5DD51

Note, it's usually best to post large sets of code to practicewriter (for the visual problem in Forum).

Danno
Hi,

It looks like the saved code at practicewriter is for some odd reason being translated.

Example: Javacript logical "and" coded && is changed to a visual &amp;&amp; in the copy box.

I've never seen practicewriter do this before, so it's apparently a bug at practicewriter.

My best suggestion is to take a clean copy of the code and follow those simple code deletion steps in Solution #1. That does work.

Danno

Edit: Here's a work-around. If you display the page at practicewriter. Do a view source of the code from the browser toolbar. That will produce a page with the raw code. The raw code doesn't have the odd translations and should copy - paste correct. Just copy the code between the <!--ASW--> demarcs.
Last edited by danno

Add Reply

Copyright © 1999-2018 Auctiva.com. All rights reserved.
×
×
×
×
Link copied to your clipboard.
×