14,212 Topics
Hi, I am having trouble getting a video player to work using Javascript. I copied this from a page a developer at my company did, but he is away right now so I can't ask him for help. Here is the HTML: <div class="feature" style="width:485px; height:273px"> <div class="video-placeholder"> <img src="../../assets/images/figures/tro-video-placeholder.jpg" …
Hi guys, Currently I have a regular website, utilizing LAMP. I'd like to add a redirect for mobile devices to a subdomain, something like: m.mydomain.com There's going to be some content differences between the content for PC and mobile devices. What is the best way to do that? Can it …
I'm having a problem with my main site navigation. I've made some changes to my easy slider that is on the same page, and the top nav seems to have adopted this. Is supposed to show: #nav a{ display:block; color: #474747; text-transform: none; font-size: 13px; text-decoration: none; background: none; padding-top: …
Hi, I am a site owner with zero php experience. I have accidently deleted one letter from a header script and it caused my site to crash. I need desperate help. It shows Parse error: syntax error, unexpected T_STRING in /home/spark496/public_html/www.sourcetutoring.com/wp-content/themes/directorypress/header.php on line 152. Can any expert please help? This …
I have a site that has categories of images generated from the database, I am trying make it so when the user selects a category, the query is based off of that selection and the respective images load. Is that something that can be done? Here is my current code. …
Okay so I have created a function which brings up a column of information into a html drop down menu from a certain table. Now I want the data selected to be put into a value so it can be used in an upload form. This is the function. Thanks …
I have a background image placed onto my website using css body { background-image: url(../Images/bg2.png); background-repeat:no-repeat; background-position: center bottom; background-size: 100% 100px; } and I was wondering how I could make it so that if the website is smaller than the browser window then the image sticks to the bottom …
<?php function getlink($x) { $y=$x.'.php'; return($y); } $a=array('0','1','2','3','4'); for($i=0;$i<5;$i++) { echo '<li><a href='.getlink($a[$i]).'>'.$a[$i].'</li>'; } echo '<iframe src="">'; ?> when i click on the links instead of new tab it should be open in iframe
there is a picture file ( 40*100 ) and i wanna show this image in the background and so , this picture file should be repeated both horizontally and vertically as we do in Html and css
Hey I'm new to programming and to the forum. I am creating a simple inventory system that uses both modal and non-modal forms. My challenge is I created a change password form (modal) and it has a 'change password' button as well as a 'cancel' button. When i click cancel, …
How come my old avatar displays on the bottom of the Web Design, HTML and CSS page's endorse section (i think that's how i should call it)... does it take time to update? (BTW, if you haven't endorsed me, feel free to:) )
I believe that one of the pages of the site that I'm creating is shifted slihtly to the left. I may be going crazy, but I'm pretty sure that's what's happening. The page that I believe is shifted is: http://armyants.us/members.php?steam=All If you guys could help me out here, then that's …
I am a traniee yet, and I've been working out on this code to let a member change his password using $_POST method, but i am missing something and i cant find out what it is, any quick help will be very appriciated. This is the page for form using …
Hi I am new to ASp.net. I don't know how to uses of Slide show extender and images sliding. I am using HTMl Programing .Please suggest me ... Thanks in Advance.
i have a xhtml page which has has login box . onload of the page, a scripts is called which hides the box , and on pressing login link one more scripts displays box (login box is in div tags). now the problem is when user enters the wrong login …
hey guys, Having a few problems with div tags and I can't quite put my finger on it. I have 3 div tags, 1 for the header, 1 for slider and one for the logo. http://element.minepress.co.uk/ However, the slider has just pushed itself off the screen? any suggestions? Thanks!
i want to create rating system simplier to youtube.com. on youtube they have: 1st 'number of view' 2nd 'rating bar' 3rd 'like | dislike' now i know how to do 1st and 3rd put. and i am storing view, like, and dislikes in database. but i dont know how to …
I have a one page website http://spencedesign.netau.net/SNL/SNL.html#home I am using anchors and targets, I am using overflow-y: auto; but the scroll bar only displays when the screen is big enough, so it works on my 1920 by 1080 desktop, but not on an average size laptop, how do I make …
is it possible to create our own site by html on our desktop?
I am trying vertical center my text in a div but it always float at top in div. I also tried using a span inside the div and apply css on span but it too not works. I used this css property (vertical-align:middle) HTML <div id="topsmallmenucontainer"> <div class="topmenuleft"></div> <div class="topmenumiddle"><span> …
hii this my code.the problem is i'm changing the background color for an header using on click function in javascript.but wen i did page refreshing the default background color is appearing.i want to dislay the changed background color of that header wen once on click function is done. please help …
Hi! I want to know how to hide src source in html Now I disabled right click to my web page and it can still view source code by ctrl+u. please tell me how to hide source code in html. http://www.immihelp.com/visitor-visa/sponsor-documents.html this site hide it's source code.
Greetings, Happy Merry Chistmas to all of you in the first place I want to make a work calendar through which I will determine the days of official occasions and official festivals that I will be used after when displaying the attendance data so that all days remarked as weekends, …
hi all.... i dont know how to indicate the gmail status of client is online or offline in a static html page... if client is online then it should be indicate the status in green else it should be red...... any help.... tnx in advnc....
Hello, I am using the tutorial from Oracle's site on how to connect to a database in PHP using code similar to the one shown below. <?php // Create connection to Oracle $conn = oci_connect("phphol", "welcome", "//localhost/orcl"); $query = 'select * from departments'; $stid = oci_parse($conn, $query); $r = oci_execute($stid); …
I have a simple html webpage currently implemented, and my Firefox web console has the following complaint about it when loaded remotely: [13:08:03.588] The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from …
I know the code, but not the tags to enclose it within. Current HTML: <!DOCTYPE html> <html> <head> <script language="JavaScript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#Reindeer').sortable(); }); </script> <script> if (window.XMLHttpRequest) { xmlHttp=new XMLHttpRequest(); } else { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlHttp.open("GET","xmlExample.xml",false); xmlHttp.send(); xmlDoc=xmlHttp.responseXML; function displayComments() { content=(x[i].getElementsByTagName("content")[0].childNodes[0].nodeValue); txt="Comment: …
Hello my name is Robert and I am from Mississippi. I enjoy Web based development as well as other development dealing with pc's. I am currently wanting to start my own business surrounding this field (Web Development). I have read a few books and I believe I am well-rounded in …
I'm just learning html but already have a domain, so I did a quick and dirty under construction page to replace the advertising-littered default page that the webhost was using. It's dirt-simple and not very good, but I'll make it better as time goes on. Is there any rule I'm …
Grabbing this "loadcssfile" from http://www.javascriptkit.com/javatutors/loadjavascriptcss.shtml and added the check device. This is the best I have and I may just be entirly confused! I want to change the CSS file depending on the device before the rest of the page loads. function checkDevice(){ if(window.isiPad){ // do nothing } else { …
Hello, as I mostly used horizontal menus, I'm just coming across this now: How to have those menu items in a fixed width box and still make use of the hover feature? I mean I want the background of the selected menu item to change it's background throughout the whole …
I've been learning Javascript on Codeacademy, but the site is so buggy and broken that the fact it's free of charge and breaks lessons down into small pieces isn't helping me. All I experience is frustration with the broken Run button and command parser, as well as the lazy and …
What is the html code to make horizontal boxes i need to make some boxes go from left to right but all i can find is on top of each other, you can see example here <a href="http://www.carinsurancequotesinformation.com">car insurance quotes</a> where the boxes are next to each other, and will …
Hi all, i've heard from many that i should stop using iframes and css instead. Although, all i really use iframes for is to load a page from another site into mine. Is there a way I can do this with css? or is it something i should just stick …
i want to create something that for people to draw a chinese word at there, but i even have not know which language i need. have any suggest?
i have "Gedit" text editor. Is it possible to make web pages? and which site is best to learn about coding ?
helo guys how are you, my proplem is the div has exceed the footer and this image will clarify what do i mean http://s2.postimage.org/4x5ur7955/555.jpg this is all codes which i used #left{//this div for left side float:left; width:140; margin:0px; } #right{this is for right side float:right; width:140; margin:0px; } #headblcok{//this …
I know there are many other threads on this but i can't seem to make heads or tails of them and make them work in my code. I have multiple dropdowns on a page with a yes/no answer each question has sub questions if yes is chosen.. I would like …
Hello, Some one can help me to customize a classic dropdown select menu to this: [Click Here](http://i45.tinypic.com/x6bpnb.png) Thanks
Hi I am trying to use the code below more than once within a web page. I have tried changing the id's of the div, getElementid and outDiv, however only one of the scripts will work. Is the outDIV.innerHTML the problem. Inline Code Example Here <link rel="stylesheet" type="text/css"> <style> div …
I have the following `layout.jade` code !!! html head title= title link(rel='stylesheet', href='/vendor/bootstrap.min.css') link(rel='stylesheet', href='/css/style.css') script(type='text/javascript') (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); body!= body And the …
Hi guys, I have an ImageButton control in asp.net calling a javascript function to display it in block. The elements have their own css classes, but they do not appear in the context that I gave them. I am assuming this is a problem with my css because the javascript …
Hi, i have a html page with 3 frames(Index.html), and the preview is as in the screenshot. Here in Welcome.html i have a button named block. when i click this button i want left.html to be disabled(the frame in left side), i'm able to do it., but the form elements(the …
Hi there, I've been researching the correct layout for html5 web pages, and I'm a little unsure on how something like this should look: <div class="main-container"> <div class="main wrapper clearfix"> <div class="canvas gu6"> <div class="example-grid"> <div class="row"> <div class="col gu1"> <img src="img/1.jpg"> <div class="description"> <h2>Test</h2> <p>Test, Test, Test.</p> </div> </div> …
<form method="post" action="#"> <table> <tr> <td></td> <td><input name=cars type=radio value=a>Volkeswagon</td> <td><input name=cars type=radio value=b>Ford</td> <td><input name=cars type=radio value=c>Honda City</td> <td><input name=cars type=radio value=d>Renault</td> </tr> <tr><td> <input type="submit" value="submit"></td></tr> </form> > Quoted Text Here so when i did page refreshing after the radiobutton selection.the radiobutton can display as unchecked. can u …
I would like to design HTML form with css and validation. I want to have Textbox with colours indication. I have done with button to make it more meaningful. I would like to do same for the textbox. I want to have light blue colour bydefault and when one clicks, …
Please see [here](http://jsfiddle.net/jmDsB/). The intention was to have 3 `<div>'s` in decreasing order of height(`1`,`2`,`3`) and to put those 2 buttons under the `<div>` marked `2`. Something like 1 2 3 - - - - - - btn1 - btn2 I floated `1` to the left because I wanted whatever …
add user.php <?php include '../_class/_class.php'; $obj = new modernCMS(); //Setup connection vars $obj->host = 'localhost'; $obj->username = 'root'; $obj->password = ''; $obj->db = 'cms'; //connect to db $obj->connect(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head> <link href="css/main.css" rel="stylesheet" type="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>DCJR …
Good day Geniuses! I am a beginner and would like to ask for your assistance regarding my Javascript not working ONLY in IE :( I dont know where to start debugging since I only use Chrome and Firefox for testing. Hope someone can help me on this. Javascript <script type='text/javascript'> …
Here is my code: <html> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>inner_pages</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style type="text/css"> .divTagContent { background-color: #F9FBFA; height: 367px; width: 691px; overflow: auto; } .divScrollLinks { background-color: #F9FBFA; height: 370px; width: 205px; overflow: auto; } </style> <script type="text/javascript"> function MM_swapImgRestore() …
The End.