Advanced search  

News:

cpg1.5.22 maintenance release - upgrade recommended
The Coppermine development team is releasing an update for Coppermine in order to fix several minor issues. All fixes are not security critical, so if your gallery is running fine with cpg1.5.20 you don't need to upgrade. If you are running an older version than cpg1.5.20, you must update to this latest version as soon as possible because of the security impact!
[more]

Pages: [1]   Go Down

Author Topic: Buttons not working in IE9 or newer FF  (Read 2776 times)

0 Members and 1 Guest are viewing this topic.

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Offline Offline
  • Gender: Male
  • Posts: 3462
    • Windsurf.me
Buttons not working in IE9 or newer FF
« on: March 23, 2011, 03:04:34 am »

Any idea why the following would not work in the above browsers (enlargit Bb code page).

Code: [Select]
$copy_image_string = '<br /><button type="button" class="button" name="copy_img" value="'.$lang_plugin_enlargeit['copy_to_clipboard'].'" onclick="window.clipboardData.setData(\'Text\', \''.$img_url.'\');">'.$enlargeit_icon_array['copy'].$lang_plugin_enlargeit['copy_to_clipboard'].'</button>';
$copy_url_string = '<br /><button type="button" class="button" name="copy_url" value="'.$lang_plugin_enlargeit['copy_to_clipboard'].'" onclick="window.clipboardData.setData(\'Text\', \''.$name_url.'\');">'.$enlargeit_icon_array['copy'].$lang_plugin_enlargeit['copy_to_clipboard'].'</button>';


Using the tokens

Code: [Select]
{$copy_image_string}

{$copy_url_string}

Has to be something simple but I just seem to be looking straight through it.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.168 seconds with 22 queries.