472,353 Members | 1,939 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

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="docWindow=window.open
('http://209.61.216.212/upload/gungadin/sunset.jpg

','myWindow1','toolbar=no,width=325,height=250, left=30,top=30
directories=no,status=yes,scrollbars=

no,resizable=no,menubar=no');docWindow.focus();ret urn 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="docWindow=window.open
(''http://209.61.216.212/upload/gungadin/winter.jpg

,'myWindow2','toolbar=no,width=325,height=
250,directories=no,status=yes,scrollbars=no,resiza ble=

no,menubar=no');docWindow.focus();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 2671
"j-marvin" <cu******@service.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*****@hotmail.com> wrote in
news:h3********************************@4ax.com:

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
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...
37
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...
77
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...
2
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...
2
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...
20
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...
0
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>...
1
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...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

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.