When I open page with player directly e.g. file:///Z:/home/localhost/www/sampleEmbedCode.html and play music from my computer or netbios-share, it's OK.
But when I open exactly same page through local server e.g. http://localhost/sampleEmbedCode.html, I can't play audio from SMB-shares.
...
I have a page that has a large image on it with a number of thumbnails. When you mouse over a thumbnail the main image changes to the image you have just rolled your mouse over. The problem is the more thumbnails I have, the more repeated code I have. How could I reduce it?
The Jquery code is as follows.
<script type="text/javascript">...
I'm looking for a (free) solution to a bookingcalendar. Among many candidates I've found the Jquery Full Calendar which has many cool features. One of the reason that I like this one is because it has "drag and drop" and resize, which I also need. But I also need to have the dayview where the columns Monday, Tuesday, Wednesday, Thursday,...
Hello
i have this:
<div id="parent" style="overflow:auto">
...
<div id="test">Hello</div>
...
</div>
My question is: how to scroll parent div to have test div as first line of parent ?
...
I have a problem with an animation in jQuery using ajax.
On the click of an button (actually an tag), I call a ajax method, and have the following written inside the success parameter:
success: function(msg) {
$('.ContentsMainRight').children().fadeOut(500, function() {
$('.ContentsMainRight').html(msg.d);
$('.ContentsMainRi...
How can one select a specific sibling of a context node using jQuery? Specifically, given context node myContextNode select the sibling span with class myClass.
document.evaluate("../span[@class='myClass']",
myContextNode, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).
singleNodeValue;
...
I am attempting the following:
var Class1 = function() {}
Class1.prototype = {
MyMethod: function() { /* Do Stuff */ }
}
var Class2 = function() {}
Class2.prototype = {
AnotherMethod: function() { /* Do More Sweet Stuff */ }
}
jquery.extend(true, Class1, Class2);
I should now expect to be able to do the following:
var c = n...
I have divs that I want to display at specific times throughout the day. I have it working in PHP, but it requires refreshing the browser manually. I would like my script to automatically load the right div when the time is right.
Am I on the right track? Perhaps there is a jquery plugin for this sort of thing that would handle the refr...
I'm trying to accomplish a transition effect if you will. On doc ready div fades out, the problem im having is when a visitor navigates away from the page (or .unload) I want the div to fade back in.
$(document).ready(function(){
$('#overlay').fadeOut(2000, 'easeOutQuad');
});
$(window).beforeunload(function() {
$('#overlay').fadeI...
I'm using jquery.qTip on http://comps.gunnjerkens.com/phws/services/
Looks beautiful with the drop shadow and rounded borders in modern browsers...unfortunately the drop shadow is lost on IE. So I want to specify an IE-only rule that makes the border a different color than white. Here's how I currently have it setup:
$(this).qtip({
...
I'm discussing some software design issues with a potential client and the idea of Web-to-Print technology has come up.
We need users to be able to drag images from an image library to various regions defined by a template. Example: Images may go in box A, B, or C and text may go in boxes D or E. These templates would be setup
Boxes A...
I'm using jQuery to change the HTML of a tag, and the new HTML can be a very long string.
$("#divToChange").html(newHTML);
I then want to select elements created in the new HTML, but if I put the code immediately following the above line it seems to create a race condition with a long string where the changes that html() is making may...
I've created a global handler for ajaxSuccess, but I need to be able to examine the data for each request. Is it possible to access the returned data at this point?
jQuery(document).ajaxSuccess(function(event, request, options) {
// i can has the datas? >^..^<
});
...
Hi everyone!
I have some code here which works perfectly in firefox but not in chrome or IE,
my javascript is thus
`
$(document).ready(function() {
$("#clientLoginPop").show();
$("#clientLoginPop").animate({"left": "-=400px"}, "fast");
});
...
I'm trying to vertically and horizontally center this div even when there is content to scroll and the user is scrolling down the page. The following test works fine in IE, but in Firefox I get a weird flickering affect when hovering over the thumbnail image. Any thoughts?
<html>
<head>
<title>aj</title>
<script type="text/javascript...
Hello All!
I'm embarking on a major project, but am stuck on a tiny issue at the very start. I'll try to be as concise as possible.
I have a PHP script that will be echoing into the footer of the page (the last stuff before </body></html> a bunch of <div>s containing visible buttons and <div>s containing hidden dialog boxes.
The plan ...
Hi everybody!
I'm continuously having the problem when i use jquery lightbox (which runs prototype) and jquery news slider.
I tried the "noconflict" method.
The problem is I don't know the exact place to put the code.
So, here, i'm putting my scripts within .
So, please troubleshoot it and explain me where to put the patch.
thank y...
Is it possible to show a tooltip without making a link?
For example, I have the following code without a link:
<ul class="letters" title="This is the title">
<li>A</li>
<li>B</li>
<li>C</li>
</ul>
So how can I show the tooltip "This is the title" when I mouse over on it?
Btw, I don't want to use any tooltip plugin.
...
I want to use jquery Chili plugin for syntax highlighting a piece of code thats generated on the fly, but its not working for the same, because the code is inserted into the #output div on page load.
When I tried chili with static examples, it worked but not on the dynamically generated code. Is there any workaround?
Thanks in advance ...
When you hit the delete button a nice effect is run on that li and it is removed by using jquery's .remove() function.
For some reason if i try to .size() on the parent ul it just still says the number of list items that were there when the page loaded?
update
var href = $(this).attr("href");
$(this).children(".deleteButton").fadeOut("...