Welcome to Geeklog, Anonymous Tuesday, November 26 2024 @ 07:24 am EST

Geeklog Forums

Java Pop-ups


Anonymous

Anonymous
is there a way to get a java script pop-up working on an article. whenever i tried it swapped the command "onClick" to "inClick" and wouldnt work. has anybody fixed this! or can any one tell me how to get them working thankyou
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
This has been done on purpose to prevent the injection of malicious Javascript code in stories. If you really want, you can remove the code from the function COM_killJS() in lib-common.php but that would open up all kinds of security holes on your site ... Besides, popups are one of the most annoying things on the Web and you should really think twice before using them on your site and risk annoying (and thus losing) your visitors ... bye, Dirk
 Quote

Anonymous

Anonymous
yes but its the only way i can get a rating system working, with my limited knowledge of php! what sort of security holes ar we talking about here?
 Quote

Status: offline

Creator

Forum User
Full Member
Registered: 07/11/02
Posts: 181
Location:Austin, TX
Can you tell me what ratings script are you using, or is it custom code? ---L. Whitworth www.finiserv.com
L. Whitworth
 Quote

All times are EST. The time is now 07:24 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content