6,574 Topics
![]() | |
Hello. I don't know how to use AJAX. Can someone please help me? I'm using an iframe to display percentage of file uploaded. The iframe refreshes itself every 2.5 seconds. It's okay for now, but not a practical solution. I need iframe to refresh but, it shouldn't look like its … | |
Hi I Have a web method on the Server. Below Is My Web Method. [CODE] [WebMethod] public string GetAge(int year, int month, int day) { DateTime birthDate = new DateTime(year, month, day); long age = new DateTime(DateTime.Now.Ticks - birthDate.Ticks).Year - 1; return "You are " + age.ToString() + " years … | |
hello friend i have a text file name url.txt contain lots of url, one url in a line. now i want to get the content of each an every page which are open on the basis of those urls, here is my code: [ICODE] using System; using System.IO; using System.Net; … | |
Hi everyone, please I want to know if I can add a stylesheet link in my php mail : [CODE] $subject="Subject"; $header="From: \"$email\" <contact@sssss.com>\r\n"; $header.= "Reply-To: contact@sssss.com \r\n"; $header.= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $message= "<html> <link href='style.css' rel='stylesheet' type='text/css' /> <body> <p>lorem lipsum ...</p> </body> </html>"; mail($mail,$subject,$message,$header);[/CODE] Thanks. | |
First of all hello to everyone, this is my first thread!! Second, i face a problem with a website i am trying to create! I wanna use a font i downloaded by myself but noone gonna have it! So what should i inlude in my Css or Html code in … | |
Hi Im trying to make a script which when I click on the list element... it will replace a big image with anotehr picture. The list element is a thumbnail... and I want to swop the big image with the big version of the thumbnail. Each <li> has a rel … | |
I got the HTMl code to work behind a flash file for an iphone to browser. But ever time we check it on firefox it breaks but works everywhere else! Is my code correct? [CODE=html]<body> <p align="center"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-4… width="650" height="80" id="FlashID"> [B]<param name="wmode" value="transparent" /[/B]> <param name="movie" value="home.swf" /> … | |
Hi, I am writing code for a webserver and am trying to send a html file called index.html over a TCP socket. How would I do this? At the moment I am trying to read the contents of the file and then send them over the connection. However, the page … | |
On a pretty basic page (starting from a Dreamweaver one column elastic template), I am trying to put a CSS driven menu, based on one of the tutorials on Lynda.com. When I preview in browsers, the menu jumps up when rolled over, which is very distracting. you can take a … | |
$select_query2 = "SELECT * FROM EmployeeBirthdayDetails Order By E_ID"; $employeedetails = mysql_query($select_query2); $emp_details = array(); $j =0; while($row2 = mysql_fetch_array($employeedetails)) { $emp_details[$j] = $row2; $j++; } echo "<table border='1' width='100%'> <tr> <th>Employee ID</th> <th>Employee Name</th> <th>Date Of Birth</th> <th>Edit</th> <th>Delete</th> </tr>"; for($i=0;$i<sizeof($emp_details);$i++) { $empId=$emp_details[$i]['E_ID']; echo "<tr>"; echo "<td>" . $empId … | |
Hi all, My problem is i've got this form that submits fine but when i try to redirect it i keep getting an error. I want to redirect to another page so the user can't refresh the page and submit the form multiple of times. I've been using 'header' to … | |
HI, I am currently working on a project to develop a webpage using jsp. I need to include some css properties in the jsp file. But it doesnt work even though I am not getting any errors. My jsp code is [CODE] <% String captcha = (String) session.getAttribute("captcha"); String code … | |
Hi, I have read that strict xhtml is better than transitional xhtml for viewing the web for the visually impaired but can anyone tell me what the difference is? How is strict xhtml better than transitional xhtml. Thanks inadvance. | |
hey, I have two pages index1.html and index2.html. In index1.html i have 54 links and in index2.html i have a iframe. "When i click on a link on index1.html ........... i want index2.html to load.... and the iframe in index2.html to have The link I clicked" | |
Hi guys, i'm working on a newsletter that i will be sending out to clients, it works like a charm if i preview it in the website, however it doesn't look good in the email. to make it clearer, i attached 2 jpg files, good and bad please take a … | |
Hi all I have made a small mailer that I would like to send out to our clients. Previously we have sent images in a mail, but that, I think, is not the way it should be done :P So now I have made this mailer, and it displays in … | |
Hello, I'm a newer web developer and I was working on a small project for myself. I defined a class called "garnish" and made a div that class. Then I placed a table in the div that contains my text. When I place text in the div, it is properly … | |
how to right a text inside an image please.what is the tags? thanks... | |
This is what I want my outcome to look like [url]http://teh-shepherd.webege.com/[/url] Tried changing to css, but i cant get positioning done right [CODE] <div id="nofade" align="center"> <b>block 1</b> </div> <div id="fade80"> </div> <div id="nofade" align="center"> <b>block 2</b> </div> <div id="fade40"> </div> [/CODE] [CODE]#nofade { position:static; background-color:transparent; position:absolute; z-index:3; } #fade40 … | |
I am trying to convert a rtf file to html file in php. The below code is not working, not giving any error also. <?php $handle = popen("/usr/bin/abiword --plugin AbiCommand 2>&1", "w"); fputs($handle, "server"); fputs($handle, "load /var/www/abiword/test.rtf"); fputs($handle, "save /var/www/abiword/test.html"); ?> when i do this conversion through terminal with the … | |
Hi there, I'm completely new to styling in wordpress, so any help is greatly appreciated. Basically, I'm working on the following website: [URL="http://www.rjt-online.com/home.php"]www.rjt-online.com/home.php[/URL] And for it's Blog page I wanted to style Wordpress to look and function the same as the site. Is it possible to incorporate all the functionality … | |
Hi all, Sorry if this is a common thread. I did a search but couldn't find a solution I was looking for... You know the popup that appears if you're not logged in about joining Daniweb, I need to put together one very similar for a forum I'm working on. … | |
I'm a AJAX newbie, I was wondering if I can use the .responseText method, to load the text from other website? For example, how can I download the data from "[URL="http://www.weather.com/weather/today/Hong+Kong+China+CHXX0049"]http://www.weather.com/weather/today/Hong+Kong+China+CHXX0049[/URL]" and display the data in my own way? It seems that the .responseText/.responseXML does not work here...:-/ thanks for … | |
Hi all, Can someone tell me how we can dd External style sheet to our HTML document??? | |
I need a search function, but the problem is the website is a huge, HUGE static site with thousands of products. I originally designed a parallel site with Coldfusion and incorporated a database, but now he wants a similar search function that a user can type a word and find … | |
good day! when i click a button, this codes will be executed (tested, its working) var cart=document.getElementById('cart'); cart.innerHTML=cart.innerHTML + document.getElementById('name'+cartNum).innerHTML + "(" + qty + ")" + "<br>"; this is the style of my cart } #cart { overflow:auto; border:solid; height:500; margin-left:10px; margin-right:10px; margin-top:20px; margin-bottom:0; font-size: 12px; text-align: left; font-family: … | |
Hi there: The code below lays out 3 divs, the 1st. div contains a slideshow, the 2nd. div is a container for the 3rd div which contains buttons to override the slideshow and replace it with a new image in the slidshow div. All the above scenario works perfectly. Where … | |
I have implemented a feature that works in firefox and opera, but doesn't work in IE -- it is the css opacity setting. I am overlaying translucent divs over a jpg image. Do I need to use javascript to fix this for IE ? [URL]http://listenlight.net/05[/URL] is the page I'm working … | |
Hi, I have following Css where i have used back-ground image. Then i am generating Anchor and assigning css class which has image. It works fine with IE but does not work with Safari,Firefox and Chrome. Can anyone help me on how to fix it. I have given details below. … | |
Wracking my brain! I've got a fixed footer nav bar and want it to be tucked behind a small logo image on each end. I've edited the CSS so many times that I can't remember what I started with, but the problem seems to be z-index related. If container is … |
The End.