Filamentgroup date range picker - daterangepicker

I installed the daterange picker but is not opening the drop down. Firebug was giving me a type error so I added the jQuery noconflict. No more firebug errors display but still does not popup. I installed the same code on another page and all was fine. Which leads me to believe there must still be some conflict. How can I troubleshoot that?
Non working code (center of page: Search by Specific dare range)
http://www.vbcover.com/customdev/bodybuilding/member.php?1-Lionel
Exactly same code working on a different page (click to select a date)
http://www.vbcover.com/customdev/bodybuilding/forumdisplay.php?2-Main-Forum

Related

Alt-click select word behaviour differs to native textarea

I'm using a pretty bog-standard installation of CKEditor 5, and have noticed that alt-clicking on a Mac is acting differently in ckeditor to a basic textarea.
Textarea:
Right click a word, and it will be selected - 100% of the time.
CKEditor:
Right click a word - it seems a little unpredictable - the only way I can make it work every time is if I place the cursor within the word everytime.
This issue was raised as a user pointed out that the browser spellcheck only works on the second attempt, so not ideal.
I created a video showing the behaviour on the ckeditor examples website - with a textarea just thrown in using devtools - https://www.youtube.com/watch?v=k0pDCdbNZpc
Has anyone come across this before and found a solution at all? Thanks!
edit: confirmed as an issue on GitHub https://github.com/ckeditor/ckeditor5/issues/11898

Two calendars being opened when click on datepicker

I am having an issue for which I can find no Solution. Once I click on a datepicker on this page two date picker panels are opened for them. It only happens on this page. So I know there must be some kind of conflict. Please advise if I should add the source code of the form on the following page
Chronoforms Has an issue with having multiple forms on a single page. I had an booking engine on the very same page and they conflicted. Once I removed the booking engine the form worked perfectly and I did not have the multiple datepicker issue anymore

Solgema.fullcalendar AJAX throws error

Overview
I am running a Plone 4.2.4 server, it is a standalone install and doesn't have any add-ons installed other than Solgema.fullcalendar. Everything installed a-ok (I can see nothing in my buildout output regarding errors or missing dependencies and running my instance in foreground mode shows no problems).
Buildout
Inside of my buildout I have: (as they request on this link)
eggs =
[...]
Solgema.fullcalendar
zcml =
[...]
Solgema.fullcalendar
Process
I followed the instructions in the documentation, going to Add New... > Collection
Then on my collection selecting View > Solgema Fullcalendar
I leave the Calendar Properties tab alone and besides changing the view to `Month' everything else remains the same.
Problem
When clicking on a blank date block, I see a little spinner.gif signifying something is loading, but in my Javascript console I see:
Error: uncaught exception: cannot call methods on dialog prior to initialization;
attempted to call method 'destroy'
This happens via the right click menu also, the right click menu loads but throws the above error once I click any of the buttons contained in it.
I can drag events, and resize them without any problems (however I think something is missing as after either dragging or resizing the event, the browser takes me to the page for that event).
Summary
It seems like I'm missing a Javascript file that was not included in Solgema.fullcalendar however I have no idea what script it was and I am unable to decipher this Javascript error (above).
If anyone has any experience with this, ideas or your thoughts would be greatly appreciated.

Gecko WebBrowser, getting the url from a selected hyperlink

This is a real 2%er but here goes, I have created a winform in VS2010 with Gecko 2.0.1-0.10 (latest release) webbrowser control, I am using a touch screen to navigate. Sometimes when clicking a hyperlink it will select text rather than navigate, on the DomMouseUp event I want to check to see if there is selected text, if so I want to see if it is a hyperlink and if it is, where that hyperlink goes to. I had a mess around with GeckoSelection but nothing looked obvious. I am looking for a way to see if what is selected within the web browser is a hyperlink, any thoughts?
I've worked it out : for anyone interested in such things, use DomFocus on the gecko control:
m_strInnerHtml = geckSel.ActiveElement.Parent.InnerHtml.ToString();
That will give you the innerhtml of the selected item, from here you can extract the href tag and get the url, navigate to it, hey presto :)
Update: An even better solution is to use (in DomFocus again)
m_strInnerHtml = geckoWebBrowser.Document.ActiveElement.GetAttribute("href");
This will return the actual hyperlink address, one thing to watch out for however is if you're on google for example and select the "Advertising" hyperlink at the bottom of the page, it may return "/advertisingpage/" which must be appended to the original url. Clicking a hyperlink away from google will return the full address however.
Very good behavior gives this call:
m_strInnerHtml = geckoWebBrowser1.Url.AbsoluteUri()

What is jScrollPane-1.2.3.min.js and why's it not working?

I am maintaining a jQuery-enabled site which makes use of jScrollPane to have fancy looking scrollbars.
When testing in Internet Explorer 9 I was faced with the error "SCRIPT438 getElementsByTagName is not supported". This is a known bug with jQuery 1.5 (which I was using) and probably unrelated to jScrollPane.
So, I upgraded jQuery to version 1.7.1. Fine, SCRIPT438 error is gone. However, jScrollPane now produces obscure JavaScript error D is null in jScrollPane-1.2.3.min.js. As I'm not the original developer of the site, I don't know where this file came from. It's nowhere to be found on the official site.
If I try jquery.jscrollpane.min.js (from the jScrollPane site) instead, results are no good. The scroll contents show up when page is initializing but disappear when page is ready (no JavaScript errors). Isn't jScrollPane backwards-compatible?
Anybody understanding the different jScrollPane files and the cause of the errors I get?
You need use the autoReinitialize option along with the latest version of jquery.jscrollpane.min.js:
$('.scrollpane').jScrollPane({autoReinitialise: true});
This will fix the issue where the scroll bars appear when the page is ready. I had this same problem a week ago, I now have a whole new problem which is how I stumbled on this question.

Resources