473,542 Members | 2,693 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ebay not allowing this javascript

hi-

according to ebay policy on javascript i cant
eBay does not permit the use of the following types of JavaScript
functions in your item listing:

Scripts used to drop or read a cookie on any eBay page
Scripts that redirect the user from eBay to another page (such as the
"replace" script)
JavaScript Include and iframe

so in this case i believe it thinks i am redirecting to another page.
the offending javascript is after <td> <A HREF="#" ----from onclick to
----->

my pictures are at pongo image hosting. what this code does is make
small pictures behave like thumbnails and when you click on the
thumbnail opens up a larger image of the picture (which is really
another picture).

when i preview it in the ebay html editor it works fine but i think
the security is zapping me.

any tips on what i can do???

thanks,
jim
<table border="0" align="center" cellpadding="0" cellspacing="0" >
<!-- 1 -->
<tr>
<td><A HREF="#" onClick="docWin dow=window.open
('http://209.61.216.212/upload/gungadin/sunset.jpg

','myWindow1',' toolbar=no,widt h=325,height=25 0, left=30,top=30
directories=no, status=yes,scro llbars=

no,resizable=no ,menubar=no');d ocWindow.focus( );return false">
<img src="http://209.61.216.212/upload/gungadin/thumb1.jpg "
width="75" height="56" border="0" target="

_top"></a></td>
<!-- 2 -->
<td><A HREF="#" onClick="docWin dow=window.open
(''http://209.61.216.212/upload/gungadin/winter.jpg

,'myWindow2','t oolbar=no,width =325,height=
250,directories =no,status=yes, scrollbars=no,r esizable=

no,menubar=no') ;docWindow.focu s();return false">
<img src="http://209.61.216.212/upload/gungadin/thumb2.jpg "
width="75" height="56" border="0" target

="_top"></a></td>
<!-- 3 -->
</tr>
</table>
Jul 23 '05 #1
2 2759
"j-marvin" <cu******@servi ce.boy> wrote:
hi-

according to ebay policy on javascript i cant
eBay does not permit the use of the following types of JavaScript
functions in your item listing:

Scripts used to drop or read a cookie on any eBay page
Scripts that redirect the user from eBay to another page (such as the
"replace" script)
JavaScript Include and iframe

so in this case i believe it thinks i am redirecting to another page.
Probably. That's effectively what window.open does if you give the
current window the same name as the second parameter in your
window.open call.
the offending javascript is after <td> <A HREF="#" ----from onclick to
----->

my pictures are at pongo image hosting. what this code does is make
small pictures behave like thumbnails and when you click on the
thumbnail opens up a larger image of the picture (which is really
another picture).

when i preview it in the ebay html editor it works fine but i think
the security is zapping me.

any tips on what i can do???


That's easy. Use a regular link.
<A HREF="http://209.61.216.212/upload/gungadin/sunset.jpg"> ...

Regards,
Steve
Jul 23 '05 #2
Steve van Dongen <st*****@hotmai l.com> wrote in
news:h3******** *************** *********@4ax.c om:

thanks steve.
you my friend are a genius.
it was so simple. you can tell i do VERY little xhtml code at the moment.
they were using window.open in an example i found and i thought i "had" to
have it. guess not. i was working on this for a co-worker who asked me.
the old example i had worked fine not on ebay but because of the java
script with window.open it gave the ebay java security system a fit.
this is another example of always test test and test again in a real
setting.

greatly appreciated :-)
jim
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3245
by: Lance Hoffmeyer | last post by:
Hi all, Anyone know where I can find a python script to search ebay? I have been looking around but haven't found anything. I know there must be one somewhere so I am probably just looking in the wrong places. Optimally, I would like the script to search ebay and then send an email out with the results. Lance
37
4289
by: asj | last post by:
awhile back, eBay decided to switch from a Microsoft/.NET/Windows architecture on the backend to a J2EE one, which might explain why their java backend will handle up to 1 BILLION page views a day! the funny thing was eBay was one of the major case studies for .NET at the beginning, when there was still some hype about it. interesting post...
77
5633
by: nospam | last post by:
Reasons for a 3-tier achitecture for the WEB? (NOTE: I said, WEB, NOT WINDOWS. DON'T shoot your mouth off if you don't understand the difference.) I hear only one reason and that's to switch a database from SQL Server to Oracle or DB2 or vice versa... and that's it.... And a lot of these enterprises don't need it as they already know what...
2
2220
by: provato | last post by:
I'm somewhat of a newbie was confused by the following code that I downloaded from eBay's developer site: One of the classes in the file is called "Call". What I don't get is that in "MakeCall" function, there's a use of self.Session.Server. Where is this property coming from?
2
1968
by: Bill | last post by:
I have looked up and down for a solution to this problem without any luck. I sell stuff on ebay. ebay will allow me to place javascript in my listings which I use to show a series of thumbnails of my item. In my script I have a variable that defines the number of pictures of that item. What I would like to do is have the script determine the...
20
4983
by: Gaz | last post by:
In Internet Explorer 6 I'm having a problem with the httprequest object. I use it to call a webservice and display the result in the readystate event handler. This works the first time I call it but subsequently the readystate event handler function is never called, or the event itself is never fired. The same code works fine in Firefox....
0
2367
by: eBay-Mitglied gret | last post by:
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD> <TABLE cellSpacing=0 cellPadding=2 width="100%" border=0> <TBODY>
1
4450
by: matz2k | last post by:
I've got a big problem with the CSS layout which I've produced with Photoshop/Dreamweaver especially for my ebay auctions. This is what it looks like http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=250542673235 As you can see it can only be seen partially , can anyone help me with this? As fas as I can tell ebay's Iframe is messing up my...
0
7397
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7336
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7726
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7329
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7675
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5257
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3384
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3385
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
948
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.