Is there anyone here uses openWYSIWYG 1.4.7?
I wanted to display only my textarea by calling
WYSIWYG.display('textarea1');
And I want the text on my textarea not to be selectable that's why I tried this
<textarea1 id=textarea1 name='test1' disabled ></textarea>
but it doesn't work.
Any suggestion?
I doubt if you can prevent selecting the text in text area directly.
You can try placing an element like iframe on top of with with higher Z-index.. so when the user selects what they see as a test area, he will actually be interacting with transparent iframe.
Please keep in mind that any such protection(including the one above) should be not used as a security option. User can always find a way to go select the text or even edit it before submitting it.. they can use web developer plugins like Firebug to do the trick.
Even HTTPS cant prevent this, when the user is itself doing the trick in his browser.
You do your validation in server side, if applicable.
Related
As the title suggests, I'm looking for a way to make my company's Jira Issue Collector popup draggable. Many users of a particular site we're developing have complained that this feature is overly-cumbersome to use, since one must close the popup to see the underlying page and hence the error that they want to report.
I thought I could simply wrap the generated source in a Kendo UI Window, but alas, there are many supplementary scripts and CSS files that must be loaded for the popup to render correctly. Trying to make the contents of these local to our site has proved to be basically impossible, due to the sheer amount of code they contain, and the fact that the popup is rendered in an iframe.
So how might we be able to go about this? MTIA :-)
Would also like to find an answer to that... I've been trying all the jQuery tricks I could find, to no avail. There are a few feature requests open at Atlassian for similar features, like making the collector window resizable, or making certain fields required. Guess we'll have to wait for a new Jira release ; )
I have a Google Form that I programmatically pre-fill with data (Using Apps Script). I face the problem that, if the URL is too large, the server responses with HTTP Status 400 (Bad Request). The tested URL has 9.000+ characters
Is there a known workaround this issue?
Thanks
It seems that it is not possible GET an infinitely large URL to Google.
A workaround is the following:
Add a checkbox to the form, with only one possible answer.
Programmatically prefill the form with all the field, except checkbox above, and submit() it.
Give your user the Edit Link using FormApp.FormResponse.getEditResponseUrl() (documentation)
Programmatically ignore / delete items that do not have the checkbox checked.
This works because checkboxes with only one value get automatically filled when the form is opened (and submitted) in a browser, but not before.
I have the need to generate a report using ActiveReports with links inserted on the text. There may be more than one link on the text, they could be anywhere, and only a specific part of the full text needs to be marked as a link. Is there a way to do this?
E.G.:
Visit my homepage or the company's web site!
I've tried with the Rich Text Control but it does not show links even if I load an html page. And the Hyperlink property of textboxes is no good because they only handle one single hyperlink and cannot mark where on the text is that link.
Any ideas will be much appreciated!
As of now the support for hyperlinks in Richtextbox is not supported in AR7. However, the feature might get added in added.
Regards,
Mohita
In contrast to all the other questions I've found here on SO, I DON'T want a popup window. The trouble is that it seems by default that with Windows Live/Microsoft Account DotNetOpenAuth seems to set popupui=1 on the query string from RequestAuthentication by default.
There's a UIMode enum but that only seems to have the single value popup.
Does anyone know how to prevent it doing this?
update
According to the docs Windows Live has a display parameter which accepts touch, page, popup or none. Unfortunately, "page" results in popupui=1 in exactly the same way as "popup" does.
It seems that this isn't possible after all;
http://social.msdn.microsoft.com/Forums/en-US/90a2d464-afd9-44ba-970c-8290353a259d/how-do-i-avoid-windows-live-appending-popopui1-to-my-authorize-request?forum=messengerconnect
How can I stop search engines indexing part of my page? Is there an HTML5 element for this?
Its just a line of text that I want to hide (a co-worker doesnt want their name on google for some reason). Im thinking that I could inject the text with javascript, but I have heard google does sometimes look inside javascript files.
I also thought of using images instead of text, but im concerned how this will look cross device and platform. Ive noted text rendering can differ on mac and pc and thats before ive had to think about mobile devices, retina displays, etc.
Thanks
You can't hide content unless you use the methods you've already outlined above. Your best bet is to use JavaScript in an external file and then block that file using robots.txt.