10,325 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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. | |
![]() | Hello, I need a code that checks if a button is pressed to change the BackGround Image of Picture Box So when the button is pressed,a backgroundimage of a picturebox must be changed I tried to use PictureBox1.BackgroundImage.FromFile("IMAGE.bmp") *THE IMAGE IS IN THE PROJECT,IT'S NOT ON THE HARD DRIVE ANYMORE**but … |
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 … | |
Hello fellas, I've been participating in Daniweb for quite a while now, but I realize that I never introduced myself, so let's do it ^^ I'm 23 yo, from Brazil. Started into development playing Ultima Online when I was about 15yo. I became a enthusiast in programming, moved to HTML, … | |
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 … | |
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 … | |
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'm having trouble getting my jQuery to work. The .js file is in the same folder as the homepage, and I'm trying to accordion a list using the effects plugin. Here's the jQuery code: $(document).ready(function(){ $('#accordion').accordion({collapsible:true, active: false}) }); Here's the homePage code: <!DOCTYPE html> <html> <head> <title>Santa's Workshop</title> <script … | |
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> … | |
I know that this forum is for HTML and CSS, but I have a problem and I am not sure where to take it, so here it is. I am using this code: <div class="edit"> <input type="button" id="bold" style="height:21px; width:21px; font-weight:bold;" value="B" onClick="fontEdit('bold')" /> <input type="button" id="italic" style="height:21px; width:21px; font-style:italic;" … | |
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, … | |
I'm using the exact code snippet (Step 1 of the Simple Version) from this page hosted by the developers of BreezingForms for Joomla!, modified only to have the correct table and field names, and the name of the select list in the form: http://crosstec.de/media/kunena/attachments/59203/BreezingFormsscriptdev.txt All I want to do in … | |
My code technically works, as it registers the user, but it won't keep the user logged in. (yes, once a registration is successful, they should be logged into their new account). It should go right to the index page on success and have the user logged in. On failure it … ![]() | |
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() … | |
hi, I am doing BE in IT(final year) can anyone suggest me web development institute in bangalore where i can learn development.I want to work as web developer creating web sites mostly client side.i know html css dreamweaver and photoshop,i want to gain good hold on technical side .Most of … | |
Trying to display events on my website based on what my clients want to view. I have 3 checkboxes setup to toggle the connected events, but I can't seem to make the onclick handle more than 1 event at a time. Basically, I want to know 1) how to display … | |
I need to create layout like [this](http://steveandjacqs.com) It is not scrolling smoothly. I need to travel to 2nd div each time before going to div clicked by navigation **My full code is here** **css** @import url("reset.css"); html, body{ height:100%; width:100%; margin:0; overflow:hidden; background:url(images/4.png) repeat center top; color:#FFFFFF; } a{color:#FFFFFF} #header{float:left; … | |
How can I make a table 100% width. For example, here http://spencedesign.netau.net/SNL/SNL.html#page3 I want this table to be the length of the panel, but I can't figure it out. I tried making the trs 100%, I tried just making the table 100%. I thought about changing the padding and the … | |
I created a website and forgot how to center it. I been using dreamweaver cs5.5 I would appreciate if someone could help me. <!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Pasco Rentals</title> <style type="text/css"> <!-- body { background-color: #FFF; background-image: url(Images/first%20background.png); … | |
**<iframe width="608" frameborder="0" id="mainframe" name="mainframe" onload="$(this).height($(this).contents().height());" src="mindex/forratt.php" scrolling="no" /></iframe>** So I have written this code to automatically adjust the iframe to its content and it works fine. The thing is that when I access a page with a lower height, the height from the previous page stays put. I want … | |
<html> <title>Student Registration(1.html) </title> <body> <form name="fin" action="2.php" Method="post"> <table> <Caption> Student Registration </Caption> <tr> <td> Student Name: <input type='text' name='Sname' /> </td></tr> <tr> <td> Student id: <input type='number' name='Sid' /> </td></tr> <tr> <td> Student Class: <input type='text' name='Sclass' /> </td></tr> <tr> <td> <input type='submit' value='Next" /> </td></tr> </table> </form> … ![]() | |
hello guys how are i have a proplem with upload files when i tring to uploading images from my script on the server it is not display all images that i uploaded althoug i upload for instance 50 images and when the upload finishe it will just display about 24 … ![]() | |
[FONT=Book Antiqua]Hello, Is CuteHTML Pro a good program to make PHP scripts?[/FONT] [COLOR=DarkOrange]Plz help asap..ty![/COLOR] ![]() | |
I need some help with an event list module for PHPNuke 7.x. This is how we need it to work. It is going to be used on a Car Show site. The User will enter the Submit area and enter the following information that we need to store in a … ![]() | |
A lot of code here. Basically I'm making an auction type site. This segment of code is for a user to upload a product: I'm pretty sure there isn't anything wrong with addproduct.php but for completeness I feel like I should post it. addproduct.php: <?php require_once('checklogin.php'); require_once('validate.php'); if(!isset($_SESSION['user'])) { //die("redirect"); … ![]() | |
Hi I am trying to give some sense to this expression #container, #footer { width: expression(document.body.clientWidth < 742? "740px" : document.body.clientWidth > 1202? "1200px" : "auto"); } found on here http://www.cameronmoll.com/archives/000892.html but I can't quite get it. Is it saying if the width of the page is less than 745 … | |
Hi All, I have made simple CMS with PHP/MYSQL. It make use of TinyMCE as Javascript editor. I can delete as well as add the contents. But How can I load the contents from database to TinyMCE for editing and saving? Here is my PHP code to add contents using … | |
I have a page that loads dynamic content (comments, to be specific). The comments are floated to the left, and the "Add a comment" div is floated right. For some reason, the add a comment div is being pushed down by the comment divs. The link to the page is: … | |
Hello I have two files index.php and search.php and I want to enter the string in index.php the search to be preocesed by search.php and the result to be shown in the same window index.php. index.php <?PHP require_once("includes/membersite_config.php"); if(!$fgmembersite->CheckLogin()) { $fgmembersite->RedirectToURL("login.php"); exit; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 … | |
Hi all, Im trying to add sizes to the cart. However, i cant pass size over. please help. $result = $db->query($sql); $output[] = '<ul>'; while ($row = $result->fetch()) { $output[] = '<br><font color="837F77"size="6">'.$row['name'].' </font><br></br> S$'.$row['price'].'<br></br>'; $output[] = '<select name="size"> <option disabled="disabled" selected value="NA" >Size</option>'; if ($row[small_qty]== 0){ $output[] = ' … | |
Hello everyone, My friend has been helping and he's been great however it's come to a halt :P I'm working with MYSQL at the moment but am having a few issues with my code. Index.php: <html><link href="stylesheet.css" rel="stylesheet" type="text/css"> <head> </head> <body> <div id="header"><img src="http://www.rhinosecurityltd.co.uk/templates/rhuk_milkyway/images/mw_joomla_logo.png" alt="Rhino Security"> </DIV> <form name="Form" … | |
I would like to know why the content section is taking more width in my design page? Here is my CSS code : body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; color:#414141 } p { padding-left: 10px; padding-right: 10px; } #wrapper { width: 100%; min-width: 100%px; max-width: 100%px; margin: … |
The End.