Amending Right Click Menu To Download Audio From JPlayer?
Mar 24, 2011
I am using a javascript audio player on a webpage that has an option to download the track by right clicking on a link called 'mp3' at the end of each track in the playlist. When the user right clicks on the track name however all that can be downloaded is an html file.
I am trying to find a way of changing this so that right clicking on the track and choosing the 'save link as' option will download the mp3. I have been led to believe that I can use a script such as this one:
[URL]
to generate a custom content menu for downloading tracks, or somehow downloading the mp3, but I am at a loss at to how to do this.
Here's a screenshot of a track in the playlist:
[URL]
And here is the source:
Code:
{name:"foster manganyi na tintsumi ta tilo - zion (ndzi teke riendzo no. 1) <span style="color:#BDBDA1; font-size:12px;">[from nick]</span>",mp3:"./songs//nick/zion.mp3"}
View 1 Replies
ADVERTISEMENT
Feb 9, 2011
I need to allow user to download mp3 files when they click on the link rather than streaming the audio in the browser. Need to use only Javascript to download the file.
View 1 Replies
View Related
Dec 21, 2010
I am trying to get started using JQuery, but I find I can't even get to lesson #1. When I go to jquery.com and click to download the latest version (or any version) it doesn't "download" anything. It opens the file as a webpage in my browser and I see all the JQuery in one big string. Why won't the file just download? Is it the browser I am using? Is it my Mac?
View 2 Replies
View Related
Apr 17, 2011
I'm trying to find a tutorial or download of a horizontal accordion menu using Javascript / CSS. There are plenty of drop-downs but little-to-no horizontal versions.This is the kind of thing I'm after but aligned left rather than centred.
View 1 Replies
View Related
May 23, 2011
I can't seem to play MP3s with jPlayer, only OGG.
View 3 Replies
View Related
Jun 14, 2011
I can't seem to play MP3s with jPlayer, only OGG. My custom code is below:
<script type="text/javascript">
//<![CDATA[
var audioPlaylist;
var Playlist;
[Code]....
View 3 Replies
View Related
Oct 11, 2010
I am trying to amend the showHint Function from w3schools. I adapted the basic script to allow multiple calls and I don't have a permanent array so I made my php page create one from the table. Have tried to play around with this a bit but I currently get nothing.
[Code]....
View 4 Replies
View Related
Nov 6, 2009
I've just found out that a piece of code is not working as expected in certain browsers - but the way in which it goes wrong is not consistent, so maybe it's something wrong with my code.Oddly enough, it works exactly as I was expecting when viewed in IE.Here's the code...
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
[code]....
View 2 Replies
View Related
Mar 31, 2009
im1music.net has a download page which is a javascript. Basically when you click on the song title it redirects you to a page which gives you a preview player and a download link. I was just wondering what Javascript this is, as I wish to have it on my site.
View 4 Replies
View Related
Oct 2, 2011
I am trying to create a way for my users to download some code dynamically from my web page via a file download. Below is the code that i have written so far. It seems to be dying on the iframe but i'm not sure why.
Here is my jquery trigger which is inside my onreadystate function.
$('#export_txt').click(function(e){
alert(LPAjax.ajaxurl + "/download.php");
$.generateFile({
action: "download_txt",
filename: "exportme.txt",
[Code]...
View 1 Replies
View Related
Apr 11, 2009
I need to have a submit input button automatically start a download when clicked, but also redirect to an additional "information" page. Since I'm not sure if this can simply be solved with HTML or must use some Javascript.
View 4 Replies
View Related
May 6, 2010
How can I set the menu to automatically expand on mouse rollover instead of click? Here is the code as it stands right now:
$(document).ready(function () {
$('img.menu_class').click(function () {
$('ul.the_menu').slideToggle('medium');
});
});
Second Question: For some reason, the menu is appearing behind a table row when it expands, thus hiding a good portion of the menu. Here it is: [URL]
Try clicking on 'Products & Services', and then clicking on "Centerfire Rifle Suppressors" from the dropdown menu. When it takes you to that category page, click the menu again and you will see that the menu hides behind the <h1> table row.
View 2 Replies
View Related
Oct 19, 2011
I have a basic dropdown css menu system. When a menu item is selected (ex: foo.html), the cluetip link opens a 450px wide window as expectedThen,I selectanother menu item (ex: bar.html). But when I return to link foo.html: and click the same clueTip link the clueTip link now opens in it's own window instead of the 450px clueTip window as beore would expect the small clueTip window to open and show the clueTip on each successive click as it does the first time. If I do a browser reload, the first menu selection works as it should, but only on the first click.If the menu is not used, the single file opens the clueTip correctly. Does clueTip get confused in a menu program?
// the cluetip code:
$(document).ready(function() {
$('#clickme').cluetip({
[code]....
View 7 Replies
View Related
Jul 14, 2011
I have a page /download.php.basically on entry this page displays a browser download dialog box for a file.I was wondering if there is a way to use .load() to get the same download dialog box on another page.I tried the code below but it does not work/ what jquery function I can use to get this working
$('body').load('/download.php');
View 1 Replies
View Related
Feb 23, 2007
I have a certain file in my webpage that my readers can download
I want to know howmany times this file has been downlaoded
Googling for Download counters did not help
so i thought may be..may be.. if i could get the number of times the particular link has been clicked (i know this is crude)..then i can arbitarily say.. that it has been approximately been downloaded so many times..
View 3 Replies
View Related
Jul 23, 2005
Using the following code I am able to open a new window when a user right
clicks an object in my document.
if (window.event.button == 2) {
Win1 = window.open("","","height=200,width=200");
Win1.document.write('Right click!');
}
The problem is that the default menu that normally appears is still
appearing. How do I suppress the right-click menu?
View 5 Replies
View Related
Jul 23, 2005
Is there a possibility to change/define what will appear in menu after
right-clicking on text input box ?
If not - how to do this ?
View 1 Replies
View Related
Sep 28, 2010
I have updated my website with Ajax code. How should I get unique url after click on menu. I mean if I click on "about me" on my website yogawithgauri.com. the url in the address bar should be [URL]
View 8 Replies
View Related
Jun 27, 2010
how can I make this script, have the right click menu be disabled for all other browsers - Firefox, Opera, etc?
Code JavaScript:
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert("Sorry, these images are copyright protected.");
[Code]...
View 4 Replies
View Related
Feb 18, 2009
I'm a complete JS-noob. My experience ranges from adapting existing code a bit to using free javascript from the worldwide intarweb to implement in my designs.I've used one of such scripts on a website I'm creating for a client, I've modified it's look and feel to accomodate the site design with success, but there are still a few kinks I need to work out before actually launching this naviagtion.The menu uses expand/collapse features powered by Jquery (the "diensten" and "klanten login" are clickable and will reveal subcontent), but there are a few issues here:As soon as you click a link or a form within the expanded parts of the menu, it closes again which is very frustrating. When you are sent away to another page (say from index.php to page2.php), the menu collapses as well. Is there a way to keep relevant expanded parts expanded for certain pages?[code]
View 1 Replies
View Related
May 23, 2010
I have a problem with auto click function jQuery.I use jQuery menu EXAMPLE- (firstmenu) - its good,but I need use auto click toHeader-1 (div block<div id="CLICK" class="menu_body">)and to open a menu with Link-1,Link-2,Link-3
[Code]...
View 2 Replies
View Related
May 18, 2009
I can't seem to figure out how to properly change my dropdown menu to work on rollover instead of on Click. When I change this to .hover I get a yo yo effect
sample:
http://www.creativemagma.com/whitney
<script type="text/javascript" src="scripts/js.js"></script>
[code]...
View 1 Replies
View Related
Oct 26, 2010
would just like to set some "click" function on specific LI element in menu. As you can see, every LI level has it's own class. I specify a .live() function ( because I'm dealing with .ajax and append() ) if maybe this is a problem ? Clicking on a child element you can see that the .click() function is called even the class is diferent,
View 3 Replies
View Related
Jan 23, 2009
Is there some event like onclickoff or something?
I have a div being set to style.display="block" when you click on a link.
But how do I set it back to none, when the user clicks off of the div?
In other words, when the user clicks elsewhere, the div should return to style.display="none"
I notice vBulletin has this feature... just click on "Thread Tools" above, and then click elsewhere and it will go away.
View 9 Replies
View Related
Aug 19, 2011
I am trying to set up a menu like the one that is located here. [URL] If you look on the right side of the page you will see menu's like gifts under $50 and so on. When these are clicked on it opens several links under them. Where can I find a script like this?
View 5 Replies
View Related
Apr 16, 2009
how can i figure out what code is stopping the right-click menu on a web page? the tools i have available are firefox, firebug, etc.
View 3 Replies
View Related