HTML - Show How Many Times A Song Has Been Downloaded
Hello All,
I have an issue. I am new to the web page building game and can't seem to find the answer to my question anywhere. On my web page I sell mp3's. I want the customer to be able to see how many times the songs that are listed have been downloaded. Can anyone help me please!!!??? Similar TutorialsI want this select menu to show 2 items at a time and allow multiple selections. The size tag should show only 2 items but instead it shows all of the items. How can I get only 2 items shown? Thank you so much for your time! Code: <select multiple name="category" size="2"> <option value="livemodel">Live Model</option> <option value="museum">Museum</option> <option value="subwaysketch">Subway Sketch</option> <option value="livemodel">Live Model</option> <option value="museum">Museum</option> <option value="subwaysketch">Subway Sketch</option> </select> Hello, When someone visits my website a sont can be played like this: <BGSOUND SRC="song.mp3"> but how can I make it keep playing while they are on the website ? let me give you an example to understand me better. Lets say my website is www.website.com (and it's index is index.html). when someone enters the website the song 'song.mp3' starts playing right ? if on my website I have a link like www.website.com/funny.html . How can I keep the song plaiying is someone clicks on that link and goes there ? if I add <BGSOUND SRC="song.mp3"> in funny.html then it will start playing again but I dont want it to start again, I just want the song to continue playing. hiii evrybody can anybody help me in displaying the currently playing song in winamp in the webpage...... Thanks Aruna Hello. I have a question. In order to put an applet in my web page, I have to link to my applet. This works great for normal people viewing my page, and they can use my applet just fine. However, I don't like the idea of people being able to look at the source code, get the link to the applet location, enter it into their browser, and then download my jar file because then they can hack into the jar, decompile, and steal my code (not that it is worth stealing, but still). How can I keep people from being able to download my jar file? My guess is to have the applet some kind of folder options that only allow web-server be able to access it if that is possible. I tried messing with the folder security settings but either the jar was still able to downloaded by entering the link in the browser, or the jar file wasn't able to be read by the web-server. Please help me out. Thank you. hi how can i disable image from my web page. I dont want someone to download my pictures. please advice me Hi, I want to disable images from my web page.So people can not download from my website. Wat should i do please advice me i am novice Hi everyone. I just found this site. I'm a newbie, still stuck in HTML 4. I have an immediate need to add a powerpoint presentation file to my site so students can download it into their computers. Have tried putting file into root directory, then making tag: <a href="ftp://www.themcmullens.com/test.ppt">Download test</a> Doesn't work. Anyone have any ideas? Hi there, well, the title basically says it all. I have a site that consists of like, 8 .php pages... and I need to play this ambient sound at the background. ( I know, but well.. orders from above) So I was wondering if there is a way to manage this, without having to hear the song all over again when you click on a link. Thanks I am just new, i just started HTML a week ago and pls help me. I'm not sure if this is the right category because I have no idea what controls this. I have a frame with a bunch of pictures for easy updating on several pages. On a slower connection, the pictures load one by one. Is there any way to make the frame display only when all the pictures have been loaded? Thanks. jk111 im having a problem with a double login box showin up http://www.recon.wsnw.net Hi guys, not much of a programmer and new here... but putting a site together for a friend. I have an swf file taking up the majority of a page. On the edges of are a couple of AP images (using dreamweaver). Looks great when all loaded up, but the images within HTML load well before the SWF (depending on connection speed) and it looks a bit goofy. Is there any kind of script that will hold back displaying these images until the flash is fully loaded? Many thanks for any and all advice!!! Hey, is there a way to have this tag: <meta http-equiv='refresh' content='0; URL=http://myspace.com/> And make another one: <meta http-equiv='refresh' content='1; URL=http://myspace.com/> And keep going and going? Or can I use some other method to keep redirecting the user to another site? The page I've designed uses lots of solid colour rectangles. Ive created them by stretching a 1x1 GIF image to the correct proportions. At the moment, I've simply used the same GIF, with different div ID's each time. Same image is being used for say: Sidebar Header Footer That ONE image is constrained within one container/wrapper MULTIPLE TIMES (with different id), and has different dimensions, and different positions. While this renders fine locally, it hasn't been successful on a remote server. The image only shows up for one of the div ID's, and the rest are shown as broken links. Would I have to create a unique image file for each rectangle I want to create? Or is it just my lack of knowledge about how to correctly use FTP. I've never made a remote webpage before. Only used HTML locally. PS: I used a free webhost (perhaps i also therefore shot myself in the foot). Here's a link to it: http://yimidesign.comze.com/About%20Me.html Reference Link: {website taken off for personal reasons} If you visit the link I posted, what I want to happen, is when you click on the tabs Home, Giving Programs, Leave A Legacy or Make a Gift, I want the content of them to appear in the green box that is below the tabs. When you click on the tabs to the right - Events, Home, Home, I want their content to appear in the box that is below those tabs. I have that much figured out - but my question is - when you click on the links on the left, or on the right, the information in the opposite box (from the previous link that was clicked) goes away. Is there anyway to keep the information up in both boxes at all times? Example: If you click on Make a Gift - Tab content 4 here Tab content 4 here shows up in the green box below the tabs. BUT... when you click on Events to the right - TOOOOOOOOOOLS shows up - but 'Tab content 4 here' goes away. PROBLEM - I want 'Tab content 4 here' to stay up. Thanks so much in advance!! I have this task as part of an HTML class project. It has to be done using the <embed> tag, and must repeat a wav file twice (playing it three times total). This is the code I'm using: <p> <embed src="background.wav" width="145" height="100" hidden="true" autostart="true" playcount="3" loop="3" /> </p> It doesn't loop at all in firefox, and in IE it loops constantly. If I remove the loop="3" attribute, it works properly in IE. Is there any way to get this working across browsers using the embed tag, or would a more complex method be needed? (such as javascript browser detection with browser specific code). I'm really stuck on this, any help would be really appreciated. I'm not new to HTML but I'm definitely still a beginner. So, please don't expect me to know exactly what your talking about. I'm trying to make a website, that has a "show more" and a "show less", for long paragraphs, that don't have enough room to fit on a page. Here's my code: head: Code: <style type="text/css"> <!-- #wrapper { } a { cursor:pointer; } --> </style> <script type="text/javascript"> <!-- function switchMenu(obj) { var el = document.getElementById(obj); if ( el.style.display != "none" ) { el.style.display = 'none'; } else { el.style.display = ''; } } function hide(){ document.getElementById("seemore1").style.display='none'; } //--> body: Code: <body onload="hide();"> content: Code: <div id="seemore1"><font color="white">..and it will display more content in a new paragraph..</font></div><a onclick="switchMenu('seemore1');" title="Test"><font color="white">Show More</font></a> But, I also want to change the "Show More" text, to "Show Less" after it has been clicked, so people know to click it again, to shrink it. This is what I tried to add to it, but it failed. head: Code: <script type="text/javascript"> oldTextAry = new Array(); function changeText (fieldObj, newTexStr) { if (newTexStr == fieldObj.innerHTML) { fieldObj.innerHTML = oldTextAry[fieldObj.id]; } else { oldTextAry[fieldObj.id] = fieldObj.innerHTML; fieldObj.innerHTML = newTexStr; } } </script> body: Code: <a href="#" onclick="changeText(this,'Show Less');" id="text1link">Show More</a> I tried the most simple thing that I thought of.. was adding both around the text, but, obviously that didn't work.. Does anyone know of any solution to my problem? Hello all! I'm working for school at an website, and I've a problem.. I've made a link, when you click on it it open some tekst information. I would this 4 time, just only the first one works...! Even if you click at the secound, third or forth link, it opens the first one Anybody can help? Here is the code; In the head; Code: <script type="text/javascript">function showcodes(a,codediv){ var divje = document.getElementById( codediv ); if (divje.style.display == "block") { divje.style.display = "none"; a.innerHTML='Klap uit'; } else { divje.style.display = "block"; a.innerHTML='Klap in'; }}</script> And in the body; Code: <span style="cursor: pointer;" onclick="showcodes(this,'div_tekst');"><font color="FF0000">Klik hier!</font></span><div id="div_tekst" style="display: none;"> <font color="#FF9900"> Wil je even snel weten wat voor weer het is? Hier een overzichtje!<br><br> Hier zie je wat voor weer het momenteel is, als je je muis erbij houd, zie je een paar gegevens! <br><br> <IFRAME SRC="http://gratisweerdata.buienradar.nl/hetweer.php" NORESIZE SCROLLING=NO HSPACE=0 VSPACE=0 FRAMEBORDER=0 MARGINHEIGHT=0 MARGINWIDTH=0 WIDTH=50 HEIGHT=40></IFRAME> <br><br> <script src=http://m.fileindex.nl/files.js> </script> <br><br> <IFRAME SRC="http://www.fileindex.nl/iframe.php? style=&bgcolor=FFFFFF&link=0000FF" NORESIZE SCROLLING=YES HSPACE=0 VSPACE=0 FRAMEBORDER=0 MARGINHEIGHT=0 MARGINWIDTH=0 WIDTH=250 HEIGHT=100></IFRAME><font> </div> I hope someone could help me! Edit*; here is the example; http://informaticacase.freehostia.com/ (click in the example on 'het weer') i made this site today and for some strange reason, it will not show up in IE AT ALL!!!!!what is wrong with it? heres link http://ascskate.ueuo.com/testpage.htm and code HTML Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>pixelbypixeldesigns | welcome to pixelbypixeldesigns <style type="text/css"> <!-- body,td,th { font-family: "Century Gothic"; font-size: 12px; font-weight: bold; color: #FFFFFF; background-repeat: no repeat; } body { background-color: #000000; background-image: url(bg.jpg); } #Layer2 { position:absolute; top:0px; width:750px; height:100%; z-index:1; left:216px; } #layer1 { width:100%; top:0px; height:50px; z-index:2; left: 216px; } #footer { position: absolute; bottom: 0; width:800px; height:25px; z-index:3; } #drop { padding:0; margin:0; height:2em; list-style-type:none; border-left:1px solid #FFFFFF; } #drop li { float:left; width:5em; height:2em; line-height:2em; border-right:1px solid #00000; position:relative; text-align:center; } #drop li a, #drop li a:visited { display:block; text-decoration:none; color:#FFFFF; } #drop li a span, #drop li a:visited span { display:none; } #drop li a:hover { border:0; /* needed to trigger IE */ color:#000000; } #drop li a:hover span { display:block; width:5em; height:2em; text-align:center; position:absolute; left:-2px; top:-3px; color:#00000; cursor:pointer; } .date { font-size: 20px; font-weight: bold; color: #FF0000; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-color: #FFFFFF; font-family: "Century Gothic"; border-bottom-width: 1px; } a:link { color: #FFFFFF; text-decoration: none; } a:visited { color: #FFFFFF; text-decoration: none; } a:hover { color: #990000; background-color: #FFFFFF; text-decoration: none; } a:active { color: #FFFFFF; text-decoration: none; } //--> </style> </head> <body> <div id="layer2"> <div align="left"><img src="top.png"></center> <center><ul id="drop"> <li><a href="#nogo">About</a></li> <li><a href="#nogo">Porfolio</a></li> <li><a href="#nogo">Contact</a></li> <li><a href="#nogo">Links</a></li> <li><a href="#nogo">FAQ</a></li> </ul></center> </div> <p class="date">10.25.06</p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi ut massa. Fusce eleifend facilisis tortor. Nullam quis urna. Quisque sagittis ligula. Etiam commodo neque vel mauris. Quisque ac nunc. Fusce laoreet mi in velit gravida accumsan. Cras venenatis feugiat enim. Sed mattis mattis odio. Ut mattis cursus augue. Morbi eros leo, luctus et, semper sed, aliquam ut, lacus. Praesent et urna ac dolor egestas eleifend. Curabitur aliquam eleifend neque. Fusce sed odio. Nullam sapien. Nullam libero urna, accumsan vel, tempus sit amet, pharetra sit amet, quam. Proin cursus. Ut neque sapien, venenatis eget, adipiscing ac, gravida quis, nisl. Sed nec magna. Nulla dignissim mollis libero. Cras gravida lectus a enim. Etiam eleifend suscipit pede. Nulla facilisi. Etiam nec augue vitae dui venenatis eleifend. Nunc malesuada interdum lorem. Sed porta nibh pharetra nunc. Suspendisse eu dolor. Donec auctor. Praesent pulvinar orci non urna. Donec ornare vestibulum lectus. Vivamus rhoncus, justo vel ornare feugiat, libero felis rutrum nisi, in vulputate mi orci non lectus. <p><a href="#">test link</a></p> Etiam velit dolor, condimentum et, faucibus in, condimentum sit amet, magna. Suspendisse lobortis volutpat turpis. Integer nisi augue, feugiat quis, sagittis non, posuere ac, dui. Pellentesque id turpis id ante fermentum laoreet. Vivamus at arcu. Vivamus at purus vitae elit fringilla euismod. Duis nec nisi. Cras non nisi et augue blandit posuere. Sed dignissim ornare purus. Cras mollis, turpis id vulputate pretium, mauris mi tempus urna, sit amet dapibus risus risus vel mauris. Ut massa. Quisque eleifend. Praesent vel urna. Nam ornare ligula sit amet velit. Cras dolor nulla, nonummy sit amet, congue sed, commodo id, sapien. Ut quis eros eget mi molestie ornare. Nulla venenatis quam a lorem. Praesent non neque quis elit bibendum ultrices. Praesent eleifend dolor quis ligula. </div> <div id="footer" align="right"><a href="#">Home</a> | <a href="#">About</a> | <a href="#">Portfolio</a> | <a href="#">Contact</a> | <a href="#>Links</a> | <a href="#">FAQ</a> </body> </html> |