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?

JS in panel

Asked Modified Viewed 3,160 times
B
Battery
B
  • Junior Member, joined since
  • Contributed 18 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
asked
Junior Member

I need help adding ads, my code is

openside("Advertisements");
<html>
<!-- Begin BidVertiser code -->
<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=40712&bid=95435"></SCRIPT>
<noscript><a href="http://www.bidvertiser.com">pay per click</a></noscript>
<!-- End BidVertiser code -->
</html>
closeside();

for a panel
problem is i get this error

Quote

Parse error: parse error, unexpected '<' in /home/content/t/h/e/thetuts/html/administration/panel_editor.php(111) : eval()'d code on line 2


any thing i could do to make it work?
0 replies

7 posts

B
Battery
B
  • Junior Member, joined since
  • Contributed 18 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

when i add this to a custom page it work though...
??
0 replies
M
Matonor
M
Impossible things are there to be made possible
  • Veteran Member, joined since
  • Contributed 1,022 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

You could have searched for Parse Error and would have a solution already. Please search first next time.

Solution:

openside("Advertisements");
echo '<html>
<!-- Begin BidVertiser code -->
<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=40712&bid=95435"></SCRIPT>
<noscript><a href="http://www.bidvertiser.com">pay per click</a></noscript>
<!-- End BidVertiser code -->
</html>';
closeside();
Edited by Matonor on 05-11-2006 12:10,
0 replies
B
Battery
B
  • Junior Member, joined since
  • Contributed 18 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

Ahhhhhh thankyou thankyou thankyou!!!
Next time ill use search :) sorry about that.
Again thanks
0 replies
A
agaitaruna
A
---
Regards,



agaitaruna
http://ecotourism.bestari.org
  • Newbie, joined since
  • Contributed 7 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

@matanor, if i use the JS on my news pages, is this can do??
0 replies
M
Matonor
M
Impossible things are there to be made possible
  • Veteran Member, joined since
  • Contributed 1,022 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

In a News or where?
0 replies
A
agaitaruna
A
---
Regards,



agaitaruna
http://ecotourism.bestari.org
  • Newbie, joined since
  • Contributed 7 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

Quote

Matonor wrote:
In a News or where?


Yes, in a news page, i tried it but it was not working.. (Google Adsense)
0 replies
D
dalleh
D
dalleh 10
  • Junior Member, joined since
  • Contributed 15 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

Quote

agaitaruna wrote:

Quote

Matonor wrote:
In a News or where?


Yes, in a news page, i tried it but it was not working.. (Google Adsense)


Paste the code (Google Adsense) as is don;t add anything to it, make sure you don't have extra empty spaces in the code
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 7 posts
  • Votes 0 votes
  • Topic users 4 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet