6,574 Topics
![]() | |
<head> <script type="text/javascript"> function playPause(x) { var myAudio=document.getElementById(x); if (myAudio.paused) myAudio.play(); else myAudio.pause(); } </script> <head> <body> <audio id="Soundx1" src="../audio/2.mp3"></audio> <button style="background-image:url(../images/audio1.jpg); width:45px; height:45px; border:transparent; margin:0px 0px 0px 0px;background-repeat: no-repeat;background-color:white;" onclick="playPause('Soundx1');" ></button> <audio id="Soundx2" src="../audio/2.mp3"></audio> <button style="background-image:url(../images/audio2.jpg);background-color:white; width:45px; height:45px; border:transparent; margin:0px 0px 0px 0px;background-repeat: no-repeat;" onclick="playPause('Soundx2');" ></button> <body> <Article moved … | |
This should change the images and image maps then highlight them. But image maps don't seem to be working and higlighting doesn't work either, after clicking on the "go right" link at the bottm. How to make them work? http://www74.zippyshare.com/v/54618428/file.html | |
Hello. I have a little complex code for a navigation menu. I want to add a dropdown to a <li> tag but it doesn't work. Heres the code <div id="topbar" class="fadeInOnLoad"> <div class="inner-topbar"> <ul> <?php if(currentPageName() == 'index.php'){ echo '<li class="">Home</li>'; }else { echo '<li><a href="index.php">Home</a></li>'; } if(currentPageName() == '../about.php'){ … ![]() | |
Hello everyone. I have successfully added an image to my JPanel, but what I want to do is this: I want to be able to mark a section of the image as clickable. Then when the user clicks within that section, I run some action. So essential I want to … | |
Hello Good day. I have an interesting question as it relates to adding a background image to a JPanel (or whichever component is best for what I'm trying to achieve. Hopefully I'll get some help here.) I have a large picture that I want to use as a background image … | |
HELP !! THis is driving me insane, I already spent 2 hours on this and can't seem to resolve it. Here is the problem: I have a backgroundimage for my listview in vb.net I programmatically (see below) add items to the list. All items have a white or other solid … | |
<video controls="controls" width="500" autostart="False"> <source src="vid/Chantel.webm" type="video/webm" > <source src="vid/Chantel.mp4" type="video/mp4" > <source src="vid/Chantel_libtheora.ogv" type="video/ogg"> <object data="vid/Chantel.mp4" width="500"> <embed src="vid/Chantel.swf" width="320" height="240"> </embed> </object> </video> | |
How is the handshake code of CSS generated. | |
Greetings everyone, I'm having an issue with the wrapper just ending. The only thing that seems to somewhat solve it is putting a min-height on the wrapper div...even still, it's sloppy and if you're on a smartphone, when you scroll down it still just ends. Can you please have a … | |
Hello, I have try lot's of thing for used border radius in ie8 browser, but I didn't get any solution. So please let me know if someone have any trick. I hope for immediate response! Thanks & Regards, Dharmendra, | |
hi i need some help. Suppose i have 4 different xhtml pages(page1,page2,page3,page4), and all the 4 contain one <h1> tag. Now i have an external css file and it contains(showing only h1 tag): h1{font-size:16px;font-weight:bold;} But now i want to add margin-top:10px(only for <h1> tag) for page1,page3 and page 4.if i … | |
/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, … | |
Why in Internet Explorer on Windows Phone 8 HTML5 player for shoutcast stream does not work? <audio controls src="http://IPADRESS:PORT/;"></audio> Is there an alternative? | |
Hey guys, I just started learning HTML/Javascript yesterday and I just wanted to mess around a bit. I'm working on a few things dealing with user input but I've come accross a little snag. I want it to take in 3 inputs, do an operation, and then output the answer. … ![]() | |
Hi, I just popped in on a website named http://n-frames.com/. I would like to know what kind of jquery or css effects they are using in-order to achieve the layering effect on the images while scrolling the page as I would like to use this effect in one of my … ![]() | |
Hey guys, I just started learning HTML/Javascript yesterday and I just wanted to mess around a bit. I'm working on a few things dealing with user input but I've come accross a little snag. I want it to take in 3 inputs, do an operation, and then output the answer. … ![]() | |
Hi am working on jsf, am changing the css file, but when i view it in browser, it does not apply the change. Can i know why am having this issue and how can i resolve it? | |
Hi all, I have this script sending an really simple html email. It works fine, but I cant seem to preserve the line breaks when sending the email to the client. Any idea how I can preserve line breaks? Thought nl2br would do the trick.. // Data der skal emailes … | |
This tutorial explains the mathematics behind collision detection using bounding circle method. Source code and online demo is available with the tutorial. [Bounding Circle collision detection: KineticJS/HTML5 Tutorial](http://www.gamingthinktank.com/2013/07/23/bounding-circle-collision-detection-kineticjshtml5-tutorial/) | |
I'm currently working on a chat system. I want to keep a div message box in the center of the screen then a disconnect button and send message button on each side of it. [disconnect] [message box] [send] but when I tried <div align="center" style="float: left;"> the message box and … | |
Hi, I have a png image wihtout background and want this png to be my JFrame where the transparent section must be transparent; I have tried different ways I used the setOpaque(), setOpacity(), ImageIO but no clue. I want only my transparent png as JFrame. Any idea and solution will … | |
Hi guys, I don't even know where to start, the ideea is that I want to develope an API that responds with certain data, but I don't have a clue for what to look. The ideea is that there is a panel like google analytics but with no stats, but … ![]() | |
This may be the ugliest bit of javascript you've ever seen... but can someone tell me why the elements come through un-styled even though I am clearly writing to divs that are classed and the stylesheet is pulled in? Definitely falling victim to some noob error here, but which one? … | |
Hi all! I'm trying to validate this form: <form action="<?php $_SERVER['PHP_SELF'] ?>" class="horizontal-form" name="settings" id="settings" method="post"> <div class="row-fluid"> <div class="span4 "> <div class="control-group"> <label class="control-label" for="firstName">First Name</label> <div class="controls"> <input type="text" id="fn" class="m-wrap span12" value="<?php echo $userInfo['fn']; ?>"> </div> </div> </div> </div> </form> I've added my validation js files.. These … ![]() | |
I've got a web page that allows the user to create a canvas that can be as much as 50,000 pixels on a side (they're maps). I draw everything on a canvas, scaled to the user's viewport. Unfortunately, you can't print a canvas; you have to convert it to an … ![]() | |
Hi there ! The code(in model) given below generates the list structure: function getNavigation($parent_id = 0, $show_product = 0, $flg = 0 ){ $query = $this->db->get_where('categories', array('parent_id' => $parent_id)); //var_dump($query->result()); //exit; if($query->num_rows() ){ $this->navigation .= '<ul id="browser" class="filetree">'; foreach($query->result() as $v){ $this->navigation .= '<li> <span class="folder">'; if($flg) { if($v->categories_id == … ![]() | |
A short while ago I was intrigued by a reply made by nullptr in [this thread](http://www.daniweb.com/software-development/cpp/threads/458583/shellexecuteex-api). So I began to look for ways to access the rest of IE (IWebBrowser2) interface, and met limited and varied success. Accessing for instance a <div></div> element in a wep page html document was … | |
Hi all, I have spent a few hours on this now, and I have to admit that I have absolutely no idea what is going on. I have a background image that is not showing in IE7 and IE8, other browsers are ok. Here is the link http://antobbo.webspace.virginmedia.com/various_tests/imageProblem/confirmation.html I am … | |
Basically I have two files: details.html details.cs I would like to use details.cs to write values to details.html but the html textbox stays the same. Would appreciate any help. Thanks! **details.html** <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="details.cs" Inherits="Details.DetailsHTML" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title></title> </head> <body> <form> <input … | |
Hello, I am new to Javascript and HTML. Trying to learn through web. I want to make an image map. Example: Like our desktop start button I have a hotspot.m When we click on that , the second image should display on top of existing image at a fixed position. … ![]() | |
Hi! I have a table with few thousand records on few pages in a simple html table.. I made a search function that works fine apart from one thing... It displays only one result in a table (which is great cause it means it works!).But... I was wondering is there … ![]() | |
hello guys i have created the below codes. the first one is the mysql select statement which works fine when i echo. the second one is an html/css table i created. i am stuck to the point where i can merge both of them so that i get a nice … | |
I have two files: apple.html banana.cs apple.html contains a html table. So my question is: Is it possible to write values to the html table in apple.html using banana.cs? Any help is appreciated. Thank you! | |
where should I put it, if I want to add an image, css or html? | |
Hi there, I'm trying to alter the below iFrame code (which places a music player on my website) so that it resizes according to what screen people view it on. My website is fully responsive, and the div that I'm wanting to put it in changes width depending on what … ![]() | |
Create Snake game using KineticJS and HTML5 Canvas [Tutorial Part 1: Snake game using HTML5 and KineticJS](http://www.gamingthinktank.com/2013/04/28/tutorial-part-1-the-concept-snake-game-using-html5-canvas-and-kineticjs/) [Tutorial Part 2: Snake Game using HTML5 and KineticJS](http://www.gamingthinktank.com/2013/06/03/tutorial-part-2-snake-game-using-html5-canvas-and-kineticjs/) | |
Hello, I need help with a menu I'm creating with a sprite image. I don't know why, but on hover it moves up what looks like 1 pixel. I have created a jsfiddle for it here: [Click Here](http://jsfiddle.net/Cgull/HrmH8/) Also, first time I am creating a jsfiddle so hope it's ok. … | |
I have a very basic 3 column page that I would like to have centered. In every other browser that I've tested, it works fine, however, in IE it gets aligned to the left. Can someone take a quick glance and see what I'm missing? Thank you! [CODE] /* CSS … | |
I have script [(Here)](http://jsfiddle.net/8afkT/) that check the either specific font is installed or not on local computer. In both conditions it shows the alert box. Now I want some modification. Please help. I want that: * When specific Font is "NOT INSTALLED" show [this](http://www.emanueleferonato.com/2007/08/22/create-a-lightbox-effect-only-with-css-no-javascript-needed/) CSS based lightbox rather then alert … | |
![]() | I have posted this on GBA temp ([here](http://gbatemp.net/threads/garbage-on-top-of-screen-when-displaying-text-over-background.350999/)) without any replies: Another newb question.. I am currently using the 16-bit libnds example (Located within [here](http://sourceforge.net/projects/devkitpro/files/examples/nds/)) as a basis and am trying to display text and the png background image on the same screen (in this example it is the top … ![]() |
Hello, I have inserted my sidebar into my website. I get this: http://develop-platform.co.uk/5062-2-2/ But when I have the sidebar on its own, I get this: http://develop-platform.co.uk/basic.html What is the problem? | |
This code enables you to publish a CSS only with mouse click and keyboard tab image swap. Attached is a Demo example of how it would look on IE6. To ensure the greatest possible cross-browser compatibility/support this code uses CSS level 1 capabilities only. One of extra benefits is that … | |
Help! Css not showing up in IE link - http://www.maloofwoodworking.com/testpage.html | |
HELLO FRIENDS!, i have problem here, i try to show mysql data using dreamweaver, now i already change the sql statement to show data when user choose the data from select list/view and click submit, so thats mean i add 'where my_column = $_POST' and its work, but the problem … | |
The title says it all. I have looked all over and can't find a solution. <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <style type="text/css"> body, html { width: 100%; height: 100%; margin: 0; padding: 0; overflow:hidden; position:relative } </style> <title></title> </head> <body bgcolor="#000000" text="#FFFFFF" link="#9690CC" vlink="#FFFF0F" style="width: 100%; height: 100%"> <form id="form1" runat="server"> … | |
Chaps, I have a problem, and I am not sure how to get around it. Basically, I have a background image (it sits in a span) which is roughly 40px x 40px (bigger than the span) and it gets cropped off. How can I display the whole image even if … | |
hi, am trying to learn using css, i know a bit of html. My problem is the css dont seem to work on html,i dont know wat am doing wrong. thanx for any help | |
I want to set value for html input text through code behind but can't seem to work :( p.s. i'm new to c# and this is my first c# project. I appreciate any type of help or critic. Thanks! Error in banana.cs: "txt_URL" is not in context apple.html: <%@ Page … | |
Can any one tell me is responsive design is must for a website?? | |
The End.