I'm having an extremely difficulty time getting the flowplayer to show up and the worst part is I have no idea what is wrong because I'm not getting any error messages!
I have an external javascript file:
C:/desktop/mysite/js/jq/plugins.js
calling $f() from:
C:/desktop/mysite/thirdparty/flowplayer/flowplayer.js
the swf files also li...
Does anyone know how to embed WYSIWYG editor in multiline TextField? I need rather complex editor such as TinyMCE, but I can't get it working with Mojo widgets.
Maybe, I'm doing something wrong? If there's a way to do it, please, give me some pointers!
Thanks in advance, Mikhail.
...
What's the date literal for JSON/JavaScript ( if such thing does exists? )
...
hello,
I've a table in which addition rows can be generatred as per the user need by clicking a javascript function.
Each row has a drop down list, and based on the values of this an AJAX script fetchs some values which has to be displayed in corresponding textfields of the same row..
here is the code for HTML..
<td><div align="cente...
We currently have a form with the standard multi-select functionality of "here are the available options, here are the selected options, here are some buttons to move stuff back and forth." However, the client now wants the ability to not just select certain items, but to also categorize them. For example, given a list of books, they wan...
Im using an existing widget from the jquery-ui labs call selectmenu. It has callback options for the events close and open. The problem is i need in these event to animate a node that is part of the widget but not what its connected to. In order to do this i need access to this node.
for example if i were to actually modify the widget c...
Know any sample script to do so ? can't find any googling :)
...
On our own website, it's easy to protect against direct links to our video content by grabbing a token through AJAX and verifying the token through PHP before the file download is started.
However I'm also researching how I could provide an embed feature, like YouTube or vimeo etc., without compromising this security feature.
The probl...
I created a javascript class as follow:
var MyClass = (function() {
function myprivate(param) {
console.log(param);
}
return {
MyPublic : function(param) {
myprivate(param);
}
};
})();
MyClass.MyPublic("hello");
The code above is working, but my question is, how if I want to introduce namespace...
<table>
<tr class="myRow"><td class="col1"></td><td class="col2"></td></tr>
<tr class="myRow"><td class="col1"></td><td class="col2"></td></tr>
<tr class="myRow"><td class="col1"></td><td class="col2"></td></tr>
<tr class="myRow"><td class="col1"></td><td class="col2"></td></tr>
<tr class="myRow"><td class="col1"></td...
.tablePlayButton {
display: block;
width: 16px;
background: transparent;
margin-top:2px;
margin-right: -10px;
margin-left: 2px;
height:17px;
}
tr:hover .tablePlayButton {
background: url(ton.png) top left no-repeat;
}
tr:hover .tablePlayButton:active {
background-position: bottom left;
}
tr:hover .tablePlayButton.playing,
.tablePlayBu...
I would like to implement an input mask on Magento and that requires the use of the prototype javascript library. Has anyone done this and would you be willing to share?
...
I just ran into a little problem with clientX and clientY.
I put a little event to detect if the mouse goes out of the window and to know where it exits. And there come the trouble, it works fine with firefox, but only sends -1 as an answer in IE. Does someone know if there is a way to solve easily that problem and that without using a...
I was looking over the code for qunit.
My question is why would you want to attach the qunit object via property to window object.
Here is the link to the file. Look at line 11.
If I look at a unit test run using firebug you can see it is a property of window.
[edit]
Additional: Is there a specific reference for best practice for dec...
I have some text inputs which I'm validating when a user tabs to the next one. I would like the focus to stay on a problematic input after showing an alert. I can't seem to nail down the correct syntax to have JQuery do this. Instead the following code shows the alert then focuses on the next text input. How can I prevent tabbing to the ...
Hello Guys,
The function I called inside jquery returns undefined. I checked the function and it returns correct data when I firebugged it.
function addToPlaylist(component_type,add_to_pl_value,pl_list_no)
{
add_to_pl_value_split = add_to_pl_value.split(":");
$.ajax({
type: "POST",
url: "ds...
I want to make a variable length array in Javascript.
Is this possible. A quick google search for "Javascript variable length array" doesn't seem to yield anything, which would be surprising if it were possible to do this.
Should I instead have a String that I keep appending to with a separator character instead, or is there a better w...
My current project uses JSON as data interchange format. Both Front-end and Back-end team agree upon a JSON structure before start integrating a service. At times due to un-notified changes in JSON structure by back-end team; it breaks the front-end code.
Is there any external library that we could use to compare a mock JSON (fixture) w...
Hi there,
This is a two-part question. I'm using jQuery for a project and wanting to click a link and toggle the class name "highlight" to that link and also to the div with the same id as the rel attribute of the link. I then want to be able to link to the next div without the classname of "highlight". Here's the HTML for it:
<ul>
...