6,568 Topics
![]() | |
I have a long string and I want to display the first 50 characters of it (without including the HTML content). Can anyone suggest any method? | |
Now i am using the IE9.I am developing the pages according to its view.But when it is opened in the IE8 the style is not working there.How can i solve it.Please help me.I have tried it alot.But not working.Thanks in advance | |
Hi This is either really simple or completely impossible :) I have a table like the following: [CODE] <table> <tr> <td>1</td> <td>2</td> </tr> <tr> <td>7</td> <td>9</td> </tr> <tr> <td><<SUM OF THIS COLUMN (8)>></td> <td><<SUM OF THIS COLUMN(11)>></td> </tr> </table>[/CODE] I hope you understand what it is im asking. This is … | |
Hello Everyone, I need help with the CSS of a theme I have for Wordpress. All I want to do is move the nav bar over to the left to line up with my logo on my site, bu I dont want to ruin the mobile version of the layout. … | |
Hello, I've just started re-learning HTML (I didn't get very far originally, but I've got basic experience with HTML, PHP, and MySQL, though I can't really remember squat) and I've got a beginner page here, in HTML code, that isn't displaying on my Firefox browser properly after putting it up … | |
![]() | Hi All, I've developed a site for a small to medium sized company. The current website is only 3 months old. After attaining much success, the company has plans to expand its site. This is great for the business, but is a bit of a pain for the web developer … |
I started with curl and now I'm able to post form data, obtain html pages and all that basic stuff. But I'm unable to analyse individual data in the obtained webpage. Like filtering all the images, videos and things like that. I can do that in Javascript, but that can … | |
Hello everyone. I have been designing several professional websites with <!DOCTYPE HTML> and old Doctypes. The problem I am encountering over and over is that the margins with Opera latest (versions), Chrome and IE seem fine. However with Firefox, all the margins in my footer appear totally distorted. Cant anyone … | |
**Appcelerator releases Titanium 2.0 with suite of mobile cloud services.** On April 17th, 2012, Appcelerator took the wraps off of the latest release of their flagship product Titanium 2.0. This major point release of the seminal cross-platform mobile development environment brings with it a new suite of ready-to-use 'Instant Mobile … | |
I need help in c# about file scanning in c#. I want to scan all files or from specific path in background if application is in running mode. Scanning should start after every 10 min....... | |
hello my project is web discussion forum i want to show topics or articles title in table and make it hyperlink . i want get data from database table and display in html table how its poossible...? | |
Hi, I'm probably missing something really simple or trying too much at once but it's 16:30 on a Friday afternoon and my head is wrecked!! Basically, I'm trying to build an application that takes out put from a database query as XML and uses XSL to transform it into HTML … | |
Hi, I am trying to change background image of my div but its not picking up style of background image that I am setting from javascript. So can anyone help me out? Thanks in advance. Here is my code: <HTML> <script language="JavaScript"> NUMBER_OF_IMAGES = 3; ImageNames = new Object(); ImageNames.length … | |
im using a wordpress plugin called [photospace](http://thriveweb.com.au/the-lab/wordpress-gallery-plugin-photospace-2/#6). it works great except images always seem to stack up on top of each other. [[image here]](http://i.imgur.com/77vPl.jpg) i edited the css file thinking it was a padding issue but it didnt work. i looked though the javascript file too but i dont see … | |
I want to create a php file that reads HTML file that is uplaoded daily to a folder on my web server, when ever I open the page it needs to read the HTML file and post only data i want to use, i have created some reader but it … | |
hi, eventually this program should be able to automatically upload an image to a youtube page. (origionally the idea was to add a gamertag alongside the channel name so people could see current gamerscore etc...) I have coded a lot of it and one part which i thought to be … | |
I need help creating a form for a project. I'm open to HTML5 , Jquery , Javascript but I will need this to be compatible with Iphone/Ipad/Android. I need to create a form with a text field. Only 7 digit model numbers will be typed into the field. Based on … | |
I am building a small quiz app and the choices are all list items (li) In jQuery or javascript how would I be able to allow the user to select one answer (it is ok if I need to add an 'a' tag) and then when they click submit (which … ![]() | |
Hey guys, thepythonguy here. Here is my problem:- My son has made a CSS webpage. It is in the rar file I gave you. It contains a few images on the left(Home, Home, Home, Home). They lead to non-existent files(just for learning purpoe). He has repeated the images there because … | |
Hi, I got a problem. I'm new to $ and i want to make a div to be displayed 3 seconds after the page loaded but i want it displayed on the desktop( behind the webpage). I made the part where the div slides from the right-bottom corner but i … | |
I've tried inserting an Excel spreadsheet to be read on the web, only read not written to. I've saved the Excel Spreadhseet as a web page and used the following in my code: <a href="spreadhseetname.html">Click here for Excel Spreadsheet</a> I can open in with Internet Explorer but when I upload … | |
how to open the multi content pop up's ,below code showing button1 content only when i cleick the second button top <div class="buttons"> <button type="button" id="btnShowSimple" value="Email" class="positive" > <img src="../css/bmail.png" alt="email"/> Email </button> <button type="button" id="btnShowShare" value="Share" class="positive" > <img src="../css/share.jpg" alt="Share"/> Share </button> </div> <div id="model"> <div id="output"></div> … | |
I host a website on an intranet. The website is hosted on a Windows 7 Ultimate 64bit via IIS. The HTML5/CSS3 became corrupted in IE. On the computer itself the website does not display correctly in development or when I browse to its hosted version, but the other computers that … | |
Hey I tried to access a cookie that has a [object HTMLImageElement] but when I try to echo it, it simply prints that out: [object HTMLImageElement] I want it to display the picture. How can I do this? Thanks | |
I recently converted all my .html files to .php, and while the stylesheet they're linked to (which hasn't changed) works almost perfectly, the <h1> through <h6> tags (headings) don't work with the new .php files. The font appears the same size as the body, which is too small to be … | |
I want to use a php variable into HTML tag id . For e.g. <?php $temp='123'; ?> Now i want to use $temp as a ID in DIV say <div id="$temp"></div> How i'm able to do this . | |
I am writing html and css to design in php. But when i am opening in ie, chrome and firefox. every where its showing different. Means all dimension going to change. I am using % for body wrapper and em for fonts but its not working. Is here any help?? … ![]() | |
Hello. I have a little problem with some work i've been given to study and i am meant to build a little bingo application. We have to modify our co-workers' code so that it fits out own little scenario. I've chosen to do a British Bingo card application and my … | |
Hey guys i have a problem and I'm starting to fall short of solutions. Here is the scenario. I created a student registration HTML file and a servlet to answer this file. The problem is the submit button doesn't work on the html form. I have tried dozens and dozens … | |
Hello all you guys, First of all, i am done with Html and CSS as i said in the article title. Now i want to learn a language like PHP, Coldfusion, .Net etc. to make dynamic web sites. According to what i have heard from my friends, php is the … | |
I have written a web app with a few JSP pages and Java servlets running on a Tomcat server. The app needs to be able to send location updates to a Servlet every x seconds. I have found the html5 watchPosition(sucess_callback, error_callback) function to get the location updates from the … | |
for some reason when i hit submit button it doesnt go run php code. i have this form below. when i hit sumbit button it should start the php code. <form action="" method="post"> <?php //print errors if(array_key_exists('reg_error', $_SESSION) && !empty($_SESSION['reg_error'])) { echo $_SESSION['reg_error']; unset($_SESSION['reg_error']); } ?> Firstname: <input class = … | |
| |
I have this menu which works fine in firefox etc but just will not work in I.E 7 can anyone tell me why? [code] <html> <head> <title></title> <style type="text/css"> #mainmenu{ width: auto; height: 30px; } #mainmenu{ margin: 0px; padding: 0px; z-index: 1; } #mainmenu li{ float:left; position:relative; width: 140px; border: … | |
error Please select an imageError: Duplicate entry '' for key 'img' ` //file properties $file = $_FILES['image']['tmp_name']; if(!isset($file)) echo "Please select an image"; else { $image = addslashes(file_get_contents($_FILES['image']['tmp_name'])); $image_name = addslashes($_FILES['image']['img']); $image_size = getimagesize($_FILES['image']['tmp_name']); if($image_size==FALSE) echo "That's not an image."; else { { if(!$insert = msql_query("INSERT INTO shop (id, img, … | |
hello, I use a script I found on this site [Click Here](http://www.html-form-guide.com). I don't think the htmlentities check work and I don't know what's wrong. the .php file for the registration starts with <?PHP require_once("./include/membersite_config.php"); if(isset($_POST['submitted'])) { if($fgmembersite->RegisterUser()) { $fgmembersite->RedirectToURL("thank-you.php"); } } ?> and the user registration form starts with … | |
this is my code (html) i dont know how can i open the page in div , i try with iframe but is failed :/ plz help me! <html> <head> <title>Template</title> <script type="text/javascript" src="script.js"></script> <link rel="stylesheet" href="style.css" type="text/css" media="screen" /> </head> <body> <div class="PageBackgroundGradient"></div> <div class="Main"> <div class="Sheet"> <div class="Sheet-tl"></div> … | |
Hey everyone, I haven't been on here in a while and I have probably a stupid error somewhere but anyway, I have three files: one is a php(header) file and the other is a css file linked into the index page. I think I've coded the php and I'm pretty … | |
Hello people of daniweb. I'm new here :) Anyways, I have issue with my css. I have top picture which is exaclty of 570px height, and it has some gradient in it so it is not repeatable. I have middle (or center) picture which is 1 px height and same … | |
Hi, I have to add css attribute at runtime using jquery.. For example i have the following code: <table width='100%' cellpadding='0' cellspacing='0' > <tr> <td valign='top' width='70%'><span class='header-text'> </span> </td> </tr> </table> I need to add css style to the table. I can access span element of td within table. … | |
Hey I tried to access a cookie that has a [object HTMLImageElement] but I found out that cookies have a limit on size so Im trying to do this with pure Javascript I can store the value of what I want in a hidden div and now I want to … | |
I want to use while loop in html. I have the following php code. But it does not work. How can i solve this problem? Please any one help me. while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . $row['ID'] . "</td>"; echo "<td>"; echo "<input name="txtf" type="text">"; echo "</td>"; … | |
<html> <script type="text/javascript"> function show_hide(o){ if(o.className == "hidden"){ document.getElementById('menu').style.display = 'block'; o.className = "show"; }else if(o.className == "show"){ document.getElementById('menu').style.display = 'none'; o.className = "hidden"; } } </script> <a href="#" class="hidden" onclick="show_hide(this)">Bryn Blayne</a> <div id="menu" style="display: none;"> <ul> <li><a href="file:///C:/Users/Vince/Pictures/kinklive%20fan/brynabout.htm" TARGET="MAIN">About Me</a></li> <li><a href="file:///C:/Users/Vince/Pictures/kinklive%20fan/bryncontact.htm" TARGET="MAIN">Contact</a></li> <li><a href="file:///C:/Users/Vince/Pictures/kinklive%20fan/brynschedule.htm" TARGET="MAIN">Schedule</a></li> <li>Pictures</li> <li>Videos</li> </ul> … | |
i have a form in html. when user hit sumbit. i want to run top php code. when i run it it give me 2 errors Notice: Undefined variable: _SESSION in C:\xampp\htdocs\login_test\register.php on line 134 Warning: array_key_exists() expects parameter 2 to be array, null given in C:\xampp\htdocs\login_test\register.php on line 134 … | |
Alright, I just started trying to do some CSS (I know, I have too much time on my hands) in order to make my own theme for firefox, so it matches my windows theme a little better. However, I really don't know what CSS is, what the general syntax is, … | |
Hello, I have a HTML file, as well as I have an excellent program that can print anything to PDF. Although I have a HTML document with frames and I'd like to convert it to PDF but with the navigation links within the HTML transfer to the PDF. Does anyone … | |
Notice: Undefined index: HTTP_REFERER in C:\xampp\htdocs\cart\order.php on line <?php define('INCLUDE_CHECK',1); require "connect.php"; if(!$_POST) { if($_SERVER['HTTP_REFERER']) header('Location : '.$_SERVER['HTTP_REFERER']); exit; } ?> | |
Notice: Undefined variable: _SESSION in C:\xampp\htdocs\dl\index.php on line 117 here;s the code: <?php if ($_SESSION['username']) echo "Hello ".$_SESSION['username']." ♔<a href='logout.php'> Logout </a> "; ?> | |
Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\cart\ajax\tips.php on line 8 | |
Hey guys. I am new at programming and would appreciate any help I can get. I want to make a program that reads the HTML code of a web page, and writes a specific line into a document. So for example, I want my code to read the source of … |
The End.