Buttons not working in IE9 or newer FF Buttons not working in IE9 or newer FF
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Buttons not working in IE9 or newer FF

Started by phill104, March 23, 2011, 02:04:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

phill104

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

$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

{$copy_image_string}

{$copy_url_string}


Has to be something simple but I just seem to be looking straight through it.
It is a mistake to think you can solve any major problems just with potatoes.