I'm writing a web-app using Python and Pylons. I need a textbox that is rich (ie, provides the ability to bold/underline/add bullets..etc...). Does anyone know a library or widget I can use?
It doesn't have to be Python/Pylons specific, as it can be a Javascript implementation as well.
Thanks!
...
I'm working on a project which injects JS+CSS+HTML over web pages which I do not have control over.
I am concerned about the host page styling my injected code -- I want my injected code to only obey my styling, and not theirs.
At the moment the only method to do this I can think of involves explicitly specifying every possible tag for...
Hi,
I need to disable an image which I am using in <a "href"> until the page completely loads.
I cannot use document.ready() because I need to disable the the BEFORE the document is ready.
Can someone please help me with this?
Regards,
Gnanesh
...
I'm trying to make a little tag list doohickey for adding and removing tags. I have a textbox where the user can enter the tags, separated by commas. and an add button. I would like it for when the user clicks the add button to add a small div to the inside of a div below the box. the small div should contain the tag and a little x for w...
Im using this code to select the image area which needs to be cropped.
`function preview(img, selection) {
var scaleX = 100 / selection.width;
var scaleY = 100 / selection.height;
$('#thumbnail + > img').css({
width: Math.round(scaleX * 354) + 'px',
height: Math.round(scaleY * 448) + 'px',
marginLeft: '-' + Math.round(scaleX * selectio...
I'm looking at improving the performance of page load and render time of a rather complex ASP.NET site.
Due to the use of a lot of ASP.NET controls that themselves include javascript files (by simply using the script-tag) certain pages load the same javascript up to 10 times. Additionally, some javascript must be loaded early in the pag...
I am trying to understand the technical limits to the usability of web-based productivity applications that use only open, cross-platform technologies such as Javascript, HTML, and CSS on the client. [1]
Let's assume for a moment that in the next few years the capabilities of web browsers continue to improve (e.g. with HTML 5 and faster...
Hi, currently I am using yet 1.1 specs, so I am trying to make simple what is too complex for me :p, managing backing beans with conflicting navigation rules, external params breaking rules and so on... for example when I need a backing bean used by other "views" simply I call it using FacesContext inside other backing beans, but often i...
Hi there.
I wish to use the iBox plugin but I don't know how to:
1) disable image resize.
2) modify the opacity of the background.
I was trying to modify the ibox.js file and I think that opacity starts from line 330.
many thx!
...
I'm working on a tagging system and I want users to be able to add and remove tags on the page. for each one thats added I am displaying a small div with the tag and an x to remove the tag. I have the adding functionality working, but I'm not sure how to go about making it so I can remove them. I also have a hidden input which should hol...
What is the proper way, or perhaps can someone explain what is the difference between those three below? (I've seen people using jquery in their examples, and each one of them brings jquery into asp.net in a different way)
1.Page.ClientScript.RegisterClientScriptInclude(typeof(demo), "jQuery", ResolveUrl("~/js/jquery.js"));
2.
<asp:Sc...
Hi,
I am using jQuery monthly calender, in which every day is a cell, onClick in the cell, I am able to print the alert, but I also want to change the background color of the cell, on which I clicked. But I am not getting the way to call CSS using javscript. Please help me out.
Thanks,
Ram
...
Hello, I've got google conversion tracking code (small bit of javascript) on a confirmation page on my site which is displayed after user completes a transaction. It is displayed on my wordpay callback page which is pulling data from the regular site (http) to the worldpay site (https) so IE 7/8 asks
"do you want to display non-secure...
I have an ASP.Net web page which contains an ASP:Timer control
<asp:Timer ID="TimerRefresh" runat="server" Interval="5000" Enabled="true" OnTick="TimerRefresh_Tick">
</asp:Timer>
This is linked to by an asp:UpdatePanel in the page, so that a particular portion of the page is refreshed asynchronously.
<asp:UpdatePanel ID="UpdatePanel1...
I have the following code:
function showAccessRequests_click()
{
var buttonValue = $("#showAccessRequests").val();
if (buttonValue == "Show")
{
$(".hideAccessRequest").removeClass("hideAccessRequest");
$("#showAccessRequests").val("Hide");
}
else ...
I have the following javascript snippet, which fails to load due to a missing ; before statement before thr declarion of url withing searchUserInfo.. I have double and triple checked this code
function submitUserInfo(username) {
url = "edit_user.php?cmd=submitinfo&username="+username+"&firstname="+document.userForm.firstname.value+...
How can I add multiple paragraph tag, newly tag on top within div container.
<div id="pcontainer">
<p>recently added on top every time on click event recently added paragarph on top</p>
<p>added before recent</p>
</div>
I am using append but every time I click button it add to bottom I need it to added on top of all paragraph plea...
Hi, I have a script that displays a list of song names and when the user clicks a 'listen' button the filename is passed to a Flash player which loads and plays the mp3. This works fine for Safari and IE but not in Mozilla. Does anyone know of any issues around Mozilla and using Javascript to pass variables to flash and call functions in...
I understand that client side code must be readable from the browser but I wonder (since there are too many things that I ignore) if there are ways to obfuscate to code to the end user and, if not what is the best practice to "pack" the javascript code.
...
I'm working on a Javascript-based replacement for a Flash applet. The site is having rendering problems only in IE, where it exhibits a behavior that has me at wit's end.
http://janetalasher.com/new/content/portfolio/artcloth/ (This is the page)
What does IE do that's so strange (in this case only)? If you look in Firefox, you'll see a...