jQuery Datepicker (Keith Wood) prevent closing when date is selected - jquery-ui-datepicker

How can I prevent the closing of the datepicker when I click on a date.
Is there an option for that? I am using Keith Wood's Datepicker v4.0.6.
I want to close it by clicking the "Close" link.

I found a solution by hacking the code. I know it's not good to do it like this, but it works.
Comment the line:
this.hide(target);
it's on row 1700 in the function selectDate.
Tested on Firefox 17, IE 10, Chrome 23.

Related

Why my Chrome Devtools can't change cookies value? [duplicate]

after update google chrome up to 98 version, I can't set cookies
it looks like a red stripe and after the refresh, it disappears. Even you fill all fields, it disappears.
Maybe any know how it disables the feature?
This feature describes in their blog, but I can't find how to fix it
Based on the comment in this diff - https://chromium.googlesource.com/devtools/devtools-frontend/+/20ed4f2bd282537f404af9d45df1333d5aeb21f5%5E%21/#F0, I felt this has something to do with Partitioned cookies. So I opened chrome://flags and set the value of "Partitioned Cookies" to Enabled" and relaunched the browser. After that the red row did not appear and I am able to set the cookies like before.
A workaround we are using for now is using the console to run document.cookie='key=value'.
It's not nearly as robust but it gets the cookie in and we can edit the other fields afterwards.
Using a plugin like 'EditThisCookie' also works for now.

How to open Firefox 3.6.13 without titlebar

I need to remove the Titlebar in Firefox 3.6.13 window. I googled and found this link: http://www.mozilla.org/unix/customizing.html
I realized removing the Title Bar is possible by changing the file userChrome.css in this Path :
/home/../.mozilla/firefox/../chrome/userChrome.css
but I could not find the syntax to write in userChrome.css. How I can solve it ?
NOTE: This answer was provided prior to it being known that the question was about Firefox 3.6.13 (mentioned for the first time in the comments to this answer). After that comment was made, I edited the question and title to include that significant piece of information. This answer has been left here in case someone looking for the information for current versions of Firefox happens to land on this page as the result of a search.
For the last few/several versions of Firefox (from Firefox 29.0), the "Title Bar" has been hidden by default.
You can hide/unhide the "Title Bar" from the customization dialog which can be reached by clicking on the icon on the far right of the toolbar containing the urlbar. This icon, by default, looks like 3 horizontal lines. You will then need to click "Customize" (bottom left of popup). The button to display/hide the "Title Bar" is on the bottom left of the window which will be displayed within the browser upon hitting customize.
You can also directly change the option to show the "Title Bar". In about:config (enter about:config in the urlbar) you can change the state of browser.tabs.drawInTitlebar.

Custom tab not showing when using the Custom UI Editor

I have a few buttons that I wish to add to a custom tab in Word 2007 (adding to the normal.dotm template, using the Custom UI Editor), to complete some actions that I have scripted, but I cannot get the tab to show up.
I've used this method several times for individual projects, and it works fine, but adding the below to normal.dotm is not working.
The code verifies fine, so I don't think there are any errors. Does anybody know why this would not work? Thanks.
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="false">
<tabs>
<tab id="tabCustomActions" label="Custom Actions">
<group id="groupTLA" label="TLA">
<button id="startTLA" label="Format for TLA" imageMso="startTLA" size="large" onAction="on_action" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>
I tried it on an empty .docm file and it worked for me, although the image didn't show up but I am guessing it is a custom icon?
I ran it using Word 2007.
It is strange, since I have been trying to insert a ribbon into Excel all day it has not worked, yet I did a different custom ribbon numerous times last week using the same procedure.
I would suggest finding the most recent Custom UI Editor, dated August 2010. The version number didn't change, but it is definitely newer.
This version is the one dated August 2010, and while some of the comments say it doesn't work for 2007, I believe it does if done correctly.

Like box showing duplicate posts

I've set up a like box for my band's website using this page https://developers.facebook.com/docs/reference/plugins/like-box/
The Facebook page for my band is http://www.facebook.com/zeligmusic
When I add the URL into the Like Box plugin page, I am getting the first two posts from the Facebook page repeated. The first post is from earlier today, the next is from 9th Feb. These two posts are being duplicated in the stream. Posts from before that, the most recent being from 31st December, are fine and are only being displayed once.
Can anyone shed any light on why this is happening? And if there is anything I can do to fix it?
Many thanks,
Will
It's a bug: http://developers.facebook.com/bugs/220672548026208
You should go there and mark it as reproducible and also subscribe to it so you can watch for updates.

Adding buttons for HTML elements to the Sitecore rich text editor

I would like to add a button to the Sitecore rich text editor toolbar, specifically one that inserts the H2 element.
I know the H2 element can be inserted using the paragraph styles pulldown menu, but all my editors are now using the bold button for their headings because they don't "see" the paragraph styles pulldown. So, I want to make the H2 easily available using a toolbar button. (And maybe even removing the bold buttons, since it's not semantic at all.)
But no matter how I go through the documentation, I cannot find a good explanation on how to do this.
In addition to the guide Yan posted, here's another guide.
I found a couple of walkthroughs for this...
Sitecore v6.3 and previous: link
Sitecore v6.4: link
Make sure that you select the core database (bottom right of Sitecore desktop) so that you can see the /sitecore/system/Settings/Html Editor Profiles area.
In my article here the first step of wiring up an event to a button is in javascript. From there you can insert text or tags. You can also get the selected text and wrap it in tags. You don't need to compile anything I was just showing how you would if you needed to, but you can entirely cut that piece out and just use the editor to send whatever text you want back to the wysiwyg editor.