Advertising
Paste Description for Illarane
Any ideas why this would stop Javascript execution in Safari?
- Illarane
- Thursday, December 27th, 2007 at 9:08:05am MST
- textEditor = new YAHOO.widget.Editor('textEditor_paragraph',
- {
- toolbar: {
- collapse: false,
- draggable: false,
- buttons: [
- { group: 'textstyle',
- buttons: [
- { type: 'push', label: 'Bold CTRL + SHIFT + B', value: 'bold' },
- { type: 'push', label: 'Italic CTRL + SHIFT + I', value: 'italic' },
- { type: 'push', label: 'Underline CTRL + SHIFT + U', value: 'underline' }
- ]
- },
- { group: 'alignment',
- buttons: [
- { type: 'push', label: 'Align Left CTRL + SHIFT + [', value: 'justifyleft' },
- { type: 'push', label: 'Align Center CTRL + SHIFT + |', value: 'justifycenter' },
- { type: 'push', label: 'Align Right CTRL + SHIFT + ]', value: 'justifyright' },
- { type: 'push', label: 'Justify', value: 'justifyfull' }
- ]
- },
- { group: 'indentlist',
- buttons: [
- { type: 'push', label: 'Indent', value: 'indent', disabled: true },
- { type: 'push', label: 'Outdent', value: 'outdent', disabled: true },
- { type: 'push', label: 'Create an Unordered List', value: 'insertunorderedlist' },
- { type: 'push', label: 'Create an Ordered List', value: 'insertorderedlist' }
- ]
- },
- { group: 'insertitem',
- buttons: [
- { type: 'push', label: 'HTML Link CTRL + SHIFT + L', value: 'createlink', disabled: true }
- ]
- },
- { group: 'parastyle',
- buttons: [
- { type: 'select', label: 'Normal', value: 'heading', disabled: true,
- menu: [
- { text: 'Normal', value: 'none', checked: true },
- { text: 'Header 1', value: 'h1' },
- { text: 'Header 2', value: 'h2' },
- { text: 'Header 3', value: 'h3' },
- { text: 'Header 4', value: 'h4' },
- { text: 'Header 5', value: 'h5' },
- { text: 'Header 6', value: 'h6' }
- ]
- }
- ]
- }
- ]
- }
- });
Paste Details
Tags: javascript safari yui
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.