Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Cannot get javascript in panel to work

Locked Asked Modified Viewed 4,201 times
E
ejon
E
ejon 10
  • Junior Member, joined since
  • Contributed 31 posts on the community forums.
  • Started 14 threads in the forums
  • Started this discussions
asked
Junior Member

Hello.
When I link with this code in such news as the code works, but when I use it in the "panel" a blank panel and will have the code working in it so it does not work?, Why not?

This code I use:

<script type="text/javascript">
where uri = 'http://impse.tradedoubler.com/imp?type (img) g (18401260) a (1762525)' + new String (Math.random ()). substring (2, 11);
document.write ( '<a href="http://clk.tradedoubler.com/click?p=70361&a=1762525&g=18401260" target="_blank"> <img src="'+uri+'" border=0> </ a> ');
</ script>


Mod: inserted code tags
Edited by mpkossen on 12-01-2010 09:47,
0 replies

6 posts

C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Try this.

<script type=\"text/javascript\">
where uri = 'http://impse.tradedoubler.com/imp?type (img) g (18401260) a (1762525)' + new String (Math.random ()). substring (2, 11);
document.write ( '<a href=\"http://clk.tradedoubler.com/click?p=70361&a=1762525&g=18401260\" target=\"_blank\"> <img src=\"'+uri+'\" border=0> </ a> ');
</ script>
0 replies
E
ejon
E
ejon 10
  • Junior Member, joined since
  • Contributed 31 posts on the community forums.
  • Started 14 threads in the forums
  • Started this discussions
answered
Junior Member

not work :(
0 replies
E
ejon
E
ejon 10
  • Junior Member, joined since
  • Contributed 31 posts on the community forums.
  • Started 14 threads in the forums
  • Started this discussions
answered
Junior Member

Some ?????:(:(:(
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Please do not double post. I suggest you read the [Code of conduct].
0 replies
J
johslind
J
  • Junior Member, joined since
  • Contributed 43 posts on the community forums.
  • Started 8 threads in the forums
answered
Junior Member

I imagine that you should use '==' instead of '='.
But actually, I don't know about the javascript 'where'.
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

This issue has been resolved on the Mods site, there for...

[Thread Locked]
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

J
J
  • Junior Member, joined since
  • Contributed 43 posts on the community forums.
  • Started 8 threads in the forums
C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
E
E
ejon 10
  • Junior Member, joined since
  • Contributed 31 posts on the community forums.
  • Started 14 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet