10,452 Topics

Member Avatar for
Member Avatar for tekagami

**Introduction** Lets say you have a website with a mobile version and a desktop version. Pictures can be resized proportinally using css on either version. But not all html tags resize proportionally, for instance: iframes. **Javascript Function** includes: the *id* of the iframe, the *original width* and *original height* See …

Member Avatar for Hicaro_1
4
862
Member Avatar for davecoventry

I have the following: <div id="main" class="site-main"> <div id="primary" class="content-area"> <div id="content" class="site-content" role="main">Main</div> </div> <div id="secondary" class="widget-area">Secondary</div> <div id="tertiary" class="widget-area">Tertary</div> </div> It displays on the page as a series of rows, one beneath the other, each row taking the full width of the containing div. What I want is …

Member Avatar for veera100
0
430
Member Avatar for laura301019

I am creating a web site and have written css postions etc using % so that it will look the same on any monitor size. So when I view the website on my own laptop which resolution is 1366 x 768 it looks perfect however when I view it on …

Member Avatar for veera100
0
194
Member Avatar for CreatorZeus

so i have a page where i want a 2 second image intro then for the image to fade to the acutal page. maybe some sort of table that has a onload that after 2 seconds fades into the actual page? i could not figure it out.

Member Avatar for LaxLoafer
0
239
Member Avatar for zobadof

Hello, I'm looking for a very simple to use piece of code or something similar where I can hover over an image and there will be some opacity to it, and maybe a shadow around the edge of the image where then text will appear with a title and then …

Member Avatar for chriselviss
0
217
Member Avatar for lloydsbackyard

I have this code below for export mysql database to excel..however, if i run this it will only export the html code of the page not the sql query..please help..thank you. <html> <head><title>Exports</title> <link rel="stylesheet" href="css/css.css" /> <h2>EXPORT DATE/YEAR</h2></head> <form action="" method="post"> <table> <tr> <td><input size="40" name="searchString" type="text"class="ed" /> <select …

Member Avatar for urtrivedi
0
1K
Member Avatar for Jack_9

In my personal opinion PHP is a great language. I love that it can be written with html and css for style, and database and such quality. But why do PHP deevelopers earn less then other types? PHP helps get the website through sql and helps make it interactive. You …

Member Avatar for veedeoo
0
146
Member Avatar for StephenopolousINC

This simple code changes sounds in firefox, IE, safari, and chrome but will not switch in Opera. Any thoughts? <div id="playlist"style="position: absolute; z-index:10001; top: 0px; width: 100%; height: 100%;"> <button id="one" onclick="song1();">Mello</button> <button id="two" onclick="song2();">Its Time</button> <button id="three" onclick="song3();">Its on now</button> <div id="hideme" style="width: 392px"> <audio id ="audio" controls loop> …

Member Avatar for StephenopolousINC
0
285
Member Avatar for Dani

Our up/down voting buttons don't do anything on iOS devices (iPhone, iPad). Confirmation that they work fine on Blackberry and other mobile devices. Additionally, they work fine on all desktop browsers, including Safari. HTML code looks like this: <div class="vote-arrow downvote" data-vote="-1">&nbsp;</div> <div class="vote" title="Vote on posts with a comment …

Member Avatar for JorgeM
2
359
Member Avatar for Dani

I am often asked how to create a tableless two column CSS layout so I thought I would just post it here for once and for all.

Member Avatar for MidiMagic
2
528
Member Avatar for castajiz_2

I developed a website actually a simulation of a program on my 17.3 inch laptop. When I come to another machine for example a 15 inch laptop witch has a different screen size(diagonal) my html tags won't compensate, so I have to scroll through the website to see all my …

Member Avatar for diafol
0
239
Member Avatar for berserk

I need to add a check box on the end of each value in my html table that will be checked if the user would like to remove that value from the mysql database, my current cod elooks like this: <?php $con = mysqli_connect("localhost", "root", "", "numbers") or die(mysqli_error($con)); // …

Member Avatar for diafol
0
2K
Member Avatar for Marco25Me

Hello and many thanks to all for your attention. I need to draw an HTML menù (<ul><li>...) over data retrieved from a table with a schema like this: id(int autoincrement), parent_id(int), childs_count(int), description(varchar). Where id fields is a identifier for a category and parent_id identify parent category for child. I …

Member Avatar for castajiz_2
0
146
Member Avatar for 9tontruck

I am trying to integrate Leaflet (http://leafletjs.com/index.html) I just copy-and-paste'd the very first demo code but it only displays a gray map.. Here is my code: <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script> <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" /> </head> <body> <div id='map'> <script> var map = $('#map'); map.css('height', 375); map.css('width', 500); var …

Member Avatar for 9tontruck
0
366
Member Avatar for Mohamed_26

Hello I am looking to use transistions from one page to another. How do I go about doing it? Thanksss

Member Avatar for almostbob
0
243
Member Avatar for developer707

Hello to everyone, I am trying to create a .php file that delete database rows with a popup window that confirmates the action. I know that are a dozen of examples, but after meany tries do to that I was not able do that, because I haven't knowledge about javacript. …

Member Avatar for almostbob
0
3K
Member Avatar for hriti

hello everyone i have a problem when i upload a song it will not save to a folder if i upload image then its working well but for song upload its working not well my code is: <?php include("include/commonfunction.php"); checkLogin(); $mode=$_REQUEST['mode']; $tableName="songs "; $idFieldName ="id"; $pid=$_GET['pid']; $song_url=$_REQUEST["song_url"]; $thumbnail=$_REQUEST["thumbnail"]; include("include/tophead.php"); include("fckeditor/fckeditor.php"); …

Member Avatar for almostbob
0
226
Member Avatar for zabi77

i am new to the PHP and i building a website which is mostly copied from diff sources and i want the user who had logged in to be displayed but it does not. here is my HTML for the page <?PHP session_start(); if (!(isset($_SESSION['username']) && $_SESSION['username'] != '')) { …

Member Avatar for hericles
0
190
Member Avatar for dwlamb

I have the following snippet of function and call to another function for returning tabs to format code. public function makelinks ($urls_data) { ...code... $i = 5; $tabs = $this->echo_tabs($i); $output = "$tabs<ul class=\"url_list\">\n"; ...code... } public function echo_tabs($i){ $x = 0; $o = ''; for ($x;$x<$i;$x++) { $o .= …

Member Avatar for dwlamb
0
211
Member Avatar for Islamis

can any one give me new html page making best tool new for making HD pages

Member Avatar for mesh457
0
186
Member Avatar for vikrant.cornelio

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="cookie_test.aspx.cs" Inherits="cookie_test" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <link href="css/bootstrap.min.css" rel="stylesheet" /> <link href="css/bootstrap-theme.min.css" rel="stylesheet" /> <link href="css/layout.css" rel="stylesheet" /> <link href="css/responsive.css" rel="stylesheet" /> <link href="css/user_change.css" rel="stylesheet" /> <link href="css/carousel.css" rel="stylesheet" /> <link href="css/accordion.css" rel="stylesheet" /> <link href="css/datepick.css" rel="stylesheet" /> <link href="css/modalpopup.css" rel="stylesheet" /> …

Member Avatar for hericles
0
478
Member Avatar for rjusman90

<?php include"header.php"; if(empty($_SESSION['UserName'])){ header("Location: http://localhost:1234/city"); exit;} $result = mysql_query("SELECT * FROM menu"); echo "<td><a href='http://localhost:1234/city/menu_update_insert.php'> <img src='images/create.png'>Add New Record</a> </td>"; echo "<table border='0'> <tr class='tableheader'> <th>PageName</th> <th>MenuName</th> <th>ParentMenuId</th> <th>LinkWidth</th> <th>OtherUrl</th> <th>Status</th> <th>CreatedDate</th> <th>OnMainMenu</th> <th>FooterMenu</th> </tr>"; while($row = mysql_fetch_array($result)) { echo "<tr class='tablerow'>"; $rpId=$row['PageID']; $result1=mysql_query("SELECT * FROM page WHERE ID=$rpId "); …

Member Avatar for rpv_sen
0
265
Member Avatar for Athirah Yusri

If I try to run the following PHP code, I get a "Call to a member function query() on a non-object". Do you know why? I use the same code on another site (http://daveismyname.com/creating-a-blog-from-scratch-with-php-bp#.U6fdxPmSxmx), where it works just fine. config.php <?php ob_start(); session_start(); //database credentials $username = "demo"; $password = …

Member Avatar for cereal
0
3K
Member Avatar for Athirah Yusri

I need to create a system that requires the process to add, edit, delete, and view. I have some problems with editStaff.php, I can edit the data, but it does not display the data in the database when doing the process. Do you know why? index.php <?php include("authenticationStaff.php"); include ("dbase.php"); …

Member Avatar for Athirah Yusri
0
187
Member Avatar for SimonIoa
Member Avatar for SimonIoa
0
231
Member Avatar for lloydsbackyard

i have an html textbox use for searching and when I type on the textbox the field in database will appear as dropdown...pls..help.thanks

Member Avatar for lloydsbackyard
0
279
Member Avatar for rolluu

<!DOCTYPE HTML> <html> <?php $style=isset( $_GET['color'] ) ? $_GET['color'] : ''; $text=$_GET['text']; ?> <head> <title>Test!</title> <style type="text/css"> div { text-align:center; margin:0 auto; } </style> </head> <body> <div> <form action="index.php" method="GET"> <input type="text" name="text"><br> <input type="radio" name="color" value="blue">Синий<br> <input type="radio" name="color" value="red" >Красный<br> <input type="radio" name="color" value="green">Зеленый<br> <input type="radio" name="color" value="black">Черный<br> …

Member Avatar for diafol
0
199
Member Avatar for mutahirpirzada

hp $mysql_hostname = "localhost"; $mysql_user = "root"; $mysql_password = ""; $mysql_database = "farm_house"; $prefix = ""; $bd = mysql_connect($mysql_hostname, $mysql_user, $mysql_password) or die("Could not connect database"); mysql_select_db($mysql_database, $bd) or die("Could not select database"); $myysql= "SELECT customerinformation.CustomerFullName, customerinformation.CustomerID, customerinformation.Housenumber, customerinformation.Sector, customerinformation.StreetNumber, customerconsumption.MilkDelieveredCow, milkrate.CowMilkRate, (customerconsumption.MilkDelieveredCow*milkrate.CowMilkRate) AS t_amount_cow, customerconsumption.MilkDeliveredBuffalow, milkrate.BuffaloMilkRate, (customerconsumption.MilkDeliveredBuffalow*milkrate.BuffaloMilkRate) AS t_amount_buff, …

Member Avatar for Bin_2
0
5K
Member Avatar for Josefo1

I want to load database tables in dropdown list and display selected table in grid view. I am trying to convert the following code into asp. Net. I am getting error as, Variable conflicts with property adapter Private adapter As New OleDbDataAdapter(String.Empty, Me.con) DisplayMember' is not a member of 'System.Web.UI.WebControls.DropDownList' …

Member Avatar for Josefo1
0
261
Member Avatar for iwin

Hi everybody, we are an computer retailer with an onlineshop that is active in 8 countries and we are looking for a way to build HTML5 display ads, because they also run on mobile devices. it looks like that everybody is moving from Flash to HTML5 nowadays, but when i …

Member Avatar for jameswarner
0
275
Member Avatar for knish

As seen in image, I need a copy of the remove selected ( marked in red ) to be available as a button down. ( it will remove the top item + send mail to next ). How is it possible to have a button point to same code. http://imgur.com/5bFC4dT

Member Avatar for hericles
0
155
Member Avatar for anitg

I have a page where it allows my users to upload their videos through an html5 file upload form and a PHP script that saves file in a folder on server. All works fine. But when it is displayed using video tag, it simply does not play ! I do …

Member Avatar for veedeoo
0
986
Member Avatar for jay.barnes

I'm working on implementing CSS on my site, and have a problem with using a background image. When I use the background image inline in the PHP file, as below: <style> html{ background: url(images/bgimage.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } body{ font-family:"Trebuchet MS", …

Member Avatar for webdesignindia2
0
4K
Member Avatar for khurram123

Hi, How ru guys.why we need to give max and min width both in media queries. I use only max-width and it works fine for me. Is there any specific reason for using the max-width and min-width at same time. Do i need to use both when i define media …

Member Avatar for samuelmac
0
195
Member Avatar for garyjohnson

I have a div that has an image as its background. But the image only covers up about 80% of the screen. I want to make the extra 20% of the screen to be black but its only coming up as white. How can I set the background images and …

Member Avatar for shophiarajan47
0
428
Member Avatar for james6754

Hi, I have just started php. I have a contact form on my website and am using the is_numeric function to check that the phone number entered is a number. What I want to do is, if the phone number is not a number to output a message just underneath …

Member Avatar for stekmil
0
2K
Member Avatar for junaid_5

First drop down menu to auto change the options of a second dropdown, when you select 2nd it changes the 3rd . <select name="types"> <option value="">---- Select job ----</option> <option value="1">Job1</option> <option value="2" >Job2</option> <option value="3">Job3</option> </select> <select name="gender" > <option value="" >---- Select Gender----</option> <option value="male" selected>Male</option> <option value="female">Female</option> …

Member Avatar for tapananand
0
551
Member Avatar for zzmrzz

Hello fellow coders. I am trying to make a Minecraft Hosting Company (Danish Company) And i need a "Loading screen" for my Login popup. I found this: HTML: <div id="outer-barG"> <div id="front-barG" class="bar-animationG"> <div id="barG_1" class="bar-lineG"> </div> <div id="barG_2" class="bar-lineG"> </div> <div id="barG_3" class="bar-lineG"> </div> </div> </div> And this CSS: …

Member Avatar for tapananand
0
200
Member Avatar for Ketsuekiame

Not sure if it's just me but the home page doesn't work. It's just presenting the background colour but no content. The following is received by the browser: <!DOCTYPE HTML> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en-US" lang="en-US"> <head> <!-- CSS --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="stylesheet" …

Member Avatar for Dani
1
425
Member Avatar for marvil

Hi guys, I'm new to ASP.Net. I'm building a page which consists of a dropdownlist, a gridview and a save button below the gridview. I want to populate the gridview based on the values selected from the dropdownlist. My first problem is that the gridview does not display when the …

Member Avatar for BMXDad
0
395
Member Avatar for dimitris4463

Hello all! I have the following code for a drop down menu, I need some help now to make the hover link to have an arrow bellow the blue box, and the active link to look the same. HTML: <ul> <li><a href="<?php echo url('/'); ?>">Home</a></li> <li><a href="<?php echo url('/about'); ?>">About</a></li> …

Member Avatar for dimitris4463
0
407
Member Avatar for Taras20

Hi everyone, I need help creating html helper that replaces all this code: <div class="col-xs-4 form-group"> @*@Html.LabelWithHelpTextFor(m => m.DataTitle.blabla) @Html.EditorFor(m => m.DataTitle.blabla)*@ <label for="blabla" class="control-label">blabla</label> @Html.TextBoxFor(m => m.DataTitle.blabla, new { @class = "form-control", autocomplete = "off" }) @Html.ValidationMessageFor(m => m.DataTitle.blabla) </div> I want this helper to get class of the …

0
93
Member Avatar for nadiam

hello. i have a contact page that has a table populated by data from database. when a user clicks on a name a popup appears with that names data so user can edit/update. in that popup there is one drop down named salutations. say that drop down is not edited …

Member Avatar for nadiam
0
410
Member Avatar for wrathyimp

Hi All web experts, I have a Archive file folder, and it have few categories which is divided in years, and the files are named as month-date (eg. 07-26.pdf). There are old scanned documents mostly in PDFs, and doc files.These are available in a shared folder on our file server. …

Member Avatar for almostbob
0
262
Member Avatar for Jory_1

I have a couple child divs nested inside a parent div, and the children expand on hovering. Problem is that the neighbor div of the parent gets over-lapped by the children. I could just account for the size when the children are open and resize the parent div to that …

Member Avatar for Jory_1
0
2K
Member Avatar for chaze

I cannot for the life of me get this menu to line up tot he right it will only align to the left. http://webhost.pro/why-us.html http://webhost.pro/blog/wp-content/uploads//2014/06/wh.jpg It's the top menu where 24/7 is pulled to the left, I am trying to have it pull to the right. I have added text-align: …

Member Avatar for hericles
0
221
Member Avatar for azapovjednik

Hello, I need to make a script that will generate a spiral html table.. user should be able to enter number of rows and columns... and a spiral should appear... and I havent a clue... can someone give me some hints? some ideas? PLEASE! thanks

Member Avatar for [NOPE]FOREVER
0
152
Member Avatar for markii.borabon

I got a simple problem here. what I want is when I recieve message from the user the links must be color blue, then if I read it it must change into a color red, then when they reply again, there message must turn into un-visited again or the message …

Member Avatar for Tpojka
0
114
Member Avatar for boney

I have created my own template and am able to list all the posts on the index page. I want to be able to have some space after each post. Like a blank height of 5px. I created a class in css called blank5 => .blank5 {height:5px;} but it doesn't …

Member Avatar for boney
0
170
Member Avatar for SimonIoa

Hello i have a textarea on a form when i submit it it returns [object HTMLTextAreaElement] so does on the field of the table. WHat can i do to fix it?

Member Avatar for SimonIoa
0
755

The End.