10,452 Topics
![]() | |
im working with asp.net 2.0 and im using master pages.i have a link to a pdf file...when i click on the link i want the pdf to open within the contentplaceholder.im using iframe within the content placeholder.my master page code is below: [code] <%@ Master Language="C#" AutoEventWireup="true" CodeFile="jm.master.cs" Inherits="jm" %> … | |
[CODE]<?php //redirect the user to login if session is invalid include("validate_session.php"); $alert =0; $userid=$_SESSION["userid"]; //Connecting to database include("db_connect.php"); foreach ($_POST as $key => $value) if (substr($key,0,8) =="txt_chk_") { $alert =1; $itemid=substr($key,8,3); $purtime=substr($key,11,8); $purdate=substr($key,19,10); $itemdate=substr($key,8); foreach ($_POST as $key1 => $value1) if ($key<>$key1) { $tempstr= substr($key1,0,strlen($key1)-strlen($itemdate)); if (substr($key1,strlen($tempstr))==$itemdate) { if ($tempstr=="txt_qty_") … | |
i have downloaded and extracted fpdf into my root folder site folder.. i want to know how i can generate a pdf file when i press a button called print. please help? and wehre do i put this fpdf code? is it in the script that contains the output? | |
hey i need some helpn with some conversion the link currently links the item id to the shopping basket i currently have a submit button on my site which looks like this <!--<input type="button" value="Add to Cart" onclick="addtocart(<?=$row['itemid']?>)" />--> and is linked to this script <!--<script language="javascript"> function addtocart(pid){ document.form1.productid.value=pid; … | |
Hi i have downloaded a php class from a website. and i want to know how i am to integrate it with my system??? i mean do i unzip the file to where? please help! | |
Hi thabotharshan here from SriLanka (one of very dangerous country in the world and also one of the beautiful country in the world). i think some of you heard about the srilankan confilct.My Nationality iS Srilankan Tamil. Ok I am a MIS student . Language: small knowladge about C,C++,J2SE,J2EE javascript,html,css … | |
Hi, I have created a mock site for a shop which has a registration form which is validated and then, if all the items pass the validation it should move on to the next page. The validation of the individual form feilds work well, I just can't get the redirecting … | |
I want to place all opening tags in an array. In the example below, the following array should be created: [code] var tagsOpen=new Array(); tagsOpen[]='<h1 class="h">'; tagsOpen[]='<p>'; tagsOpen[]='<strong class="w">'; tagsOpen[]='<p>'; tagsOpen[]='<span style="color: red">'; tagsOpen[]='<span style="color: blue">'; tagsOpen[]='<span style="color: green">'; [/code] That array should be dynamically created from this: [code] <!DOCTYPE … | |
TagLib Sharp seems to have no support for WMA. Anyone know for sure? Thanks. | |
Greetings all, Me and my friend are doing a group project and we encountered a problem lately. If you check out the site : [URL="http://www.meteor-idea.com"]www.meteor-idea.com[/URL] And you click on Login -> Signup -> Put everything blank and hit submit, you will notice an error message saying "Please insert userid." We … ![]() | |
Hello I want to parse html in treeview. I haven't made it because some html tags <br> not close. How can I load html content with parsing in a treeview | |
I've got a table in an html document im writing, and i have two separate cells which need to pull parallel information. For example, a book title and a summary. The book title and book summary need to be from the same book... Ok, so i have one array with … | |
Just baught a new domain (finally took the plunge lol), gonna host my software on it (I design windows mobile apps). But im not too great at css, i can work it, its just ive not really got the mindset of web developer you know? every site i make comes … | |
I really need help, I have a client who likes the design I helped them with but its not compatible with IE6. I am posting some screenshots. The site to the left is the IE6 browser shot, and the one to the right is IE7/8. I don't know what to … | |
Greetings, Originally from the philippines but now staying in canada. Language: PHP, MYSQL and a little javascript/html/css. hope I can learn more here. | |
Hi everyone, This is my first time here, so if I don't do everything up to how it should be done, bear with me. Anyways, for a project in my python class I am having trouble generating a webpage with clickable links. I am using Python 2.6.5 and will be … | |
So what I am trying to do is give a user 4 links of stories that are relating to the topic. (In my specific case, they choose microsoft and I return them 4 top stories about the company). My problem is pairing the description with the link. So far, this … | |
Hi, I'm not an expert when it comes too designing. so i was wondering if anyone could help me. I have a page that generates A LOT of data from the database via php and puts it in a table so I can never determine the current height of the … | |
Hi, I'm trying to develop a linkchecker, the HTML text I'm using it on though has a few lines such as this: [CODE] <li><a href="PhD/refs.html"> <b> References </b> </a> section of PhD <li><a href="WWM/refs.html"> <b> References </b> </a> section of WWM proposal[/CODE] which aren't being picked up by my linkchecker. … | |
I have to make an audio player in java applet so that it can be used on websites. It will browse files on the computer, make its playlist and will play them one by one. I have compiled the .jar file and done everything correctly in the <applet> tag in … | |
I have finally managed a page with CSS layout BUT ... While header text fonts are exactly the same in IE and Firefox, all the <p> text is much smaller in Firefox than IE. It's messing up my layout, the difference is quite large. My text size is set as … | |
I am displaying a web page using the .NET WebBrowser control. I am then using the IHTMLDocument2 to capture the text that the user has highlighted as shown below: [code] IHTMLDocument2 htmlDocument = webBrowser.Document.DomDocument as IHTMLDocument2; IHTMLSelectionObject currentSelection = htmlDocument.selection; if (currentSelection != null) { IHTMLTxtRange range = currentSelection.createRange() as … | |
working on a form to update particular user details if required. as you can see there is also a print button. i want to know how i can print out the div=formData if print button is clicked. according to my current code when print is pressed the whole form itself … | |
Hi all, I need to know this one. I have web application and i need functionality like client have certain pdf file on his/her local system. I want to use html/javascrpit to print these pdf files without opening. Thanks in advance. | |
I'm graduating from the University of the Cumberlands in May and I have put together a resume and would really like some input. Attached is a doc format and pdf format. I've also posted the text version within the forum. Thanks in advance. Travis Coleman ---------------------------------------------- Travis Coleman 402 Leonard … | |
Hi everyone, i want to output the results of the select statement in the code below, to a html table as opposed to just a list of out.println statemants..Can someone tell me how to go about doing this please?? Thanks oggiemc [code=java] import java.io.*; import java.lang.*; import java.sql.*; public void … | |
Hi Having a problem with iframe resizing when the iframe body is a jsp file which contains a dynmically built ajax table. Users select different options from a drop down. All but 1 is a standard static jsp file. The other is a jsp file with a dynamic ajax table … | |
![]() | Hi all, I am doing a website which will have a large amount of files uploaded to it which only the admin will upload files to it, users can't. I split the template in parts, the banner in its own .php file, the navigation bar in its own and so … ![]() |
I think this one is simple. I've checked Google but could not find the exact answer so I thought maybe someone here could help. I have a Div that I would like to float 3 other elements in. So let's say [CODE]<style type="text/css"> .alignleft { float: left; } .alignright { … | |
Hii, I am working on a php-mysql GUI..MY problem is iam asking the user to input the number of fields he wants on his new table.According to the number inputted dat many number of text boxes should come on the screen .How can i do this ?Is there any way … ![]() | |
hi i'm new to asp.net and i have create a simple asp.net pages loging page and registration page with simple access database. and i have HTML page that has left frame where the links in it are one will open the loging page and the other one will open the … | |
Hello friends, I have a html form saved as join.html as below [code] <form id="form1" name="form1" method="post" action="check.php"> Name: <label> <input name="name" type="text" id="name" /> </label> <p>Email: <label> <input name="email" type="text" id="email" /> </label> </p> <p> <label> <input type="submit" name="Submit" value="Submit" /> </label> </p> </form> [/code] and a php file … ![]() | |
Hello, I've made a website and have images in a sidebar. Everything's good in IE. In Firefox it is transparent. The sidebar consists of PNG images with transparent backgrounds and rounded edges. I've used code for style: #sidebar { margin:0; padding:0; background-color:transparent; } Any suggestions appreciated! (URL is: http://www.humanrightsfirst.org/index-bkup-4-21-10.aspx) | |
I have a small javascript app that lets the user enter in a name and a mark, then store it in a cookie. This works fine. I need it to now take the numbers from the cookie and calculate the mean and standard deviation. Code is this [CODE] <html> <head> … | |
HTML files use tags enclosed in angle brackets to denote formatting instructions. For example, <B> indicates bold and <I> indicates italic. If a web browser is displaying an HTML document that contain < or >, it may mistake these symbols for tags. This is a common problem with C++ files, … | |
hi all, I'm new to PHP and Java script, but would like to get som experience with em'. Im trying to make a search for a dropdown list, but it doesnt work? It is based heavily on this code [url]http://www.rgagnon.com/jsdetails/js-0089.html[/url] (wich works fine?) I have testet to see if the … | |
Hi, I am trying to update fields in my database through the use of textboxes in which when information is typed into them it will update the fields in the database. In addition I would like to use a combo box to select the appropriate field to update when I … | |
Hi I have problem with span tag padding paroblem can I do fix it with css or javascript here is code which hard coded for left and right padding I have ad and <br /> I want programatic way to fix it with css or java script <!DOCTYPE html … | |
Hi I ahve this code which is working on Chrome, Firefox and Safari But Its not working on IE Can any one help me <html> <script type="text/javascript" language="javascript"> function set_padd(){ var tt = document.getElementById("span_padding").innerHTML; var txt = new Array(); txt = tt.split("<br>"); var atxt = ''; for(var i = 1; … | |
Hi Guys, I'm in need of regular expression for validating the html tags that are closed properly, say for example <i>test content <b>see this </i> .. it should show an alert "tag is incorrect". Plz help me....Guys-:)-:) Thanks in advance | |
At the top of my classic asp page, I have a the following code to select the relevant stylesheet depending on which browser is being used: - [CODE]<!--[if IE 6]><link rel="stylesheet" type="text/css" href="../styles/main-ie6.css" /><![endif]--> <!--[if gt IE 6]><link href="../styles/main.css" rel="stylesheet" type="text/css" /> <!--[else]><link href="../styles/main.css" type="text/css" rel="stylesheet" /><![endif]-->[/CODE] The problem is … | |
Hi, I have a website called [url]www.site.com[/url] I have a product.php file and a categories.php file that generate the URL's and content dinamically. In .htaccess I have the following rule. [CODE]RewriteRule (.*)_(.*)\.html product.php?category=$1&name=$2 RewriteRule (.*)\.html categories.php?category=$1[/CODE] Everything is ok by now. When I try to change the rewritting rule to … | |
The following javascript code does not work .Not able to figure out the reason.Cud anyone help plz [code=html] <html> <head> <title>AJAX RSS Reader</title> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <script language="javascript" type="text/javascript"> var RSSRequestObject = false; // XMLHttpRequest Object var Backend = 'http://www.google.fr/news?hl=en&ned=en&q=ajax&ie=UTF-8&output=rss'; // Backend url window.setInterval("update_timer()", 1200000); // update … | |
Hey guys, I have reached my wits end with this..! This code works on two of the servers that I have tested, but doesn't want to work on the third server that I need it on! It displays fine, but when the form data is posted back itself to be … | |
i'm driving insane right now i have a form wich has a lot of stuff in it as you fill it, javascript generates the OPTIONS[] for four SELECT objects at the end of the form. they are generated right and i have no troubles up to this point until... i … | |
Hey guys, im making a website with strihttp://www.daniweb.com/forums/newthread.php?do=newthread&f=143ct xhtml design and everytime i upload an image, it just wont validate when i try the w3schools validator. It keeps giving me an error message: " 1. Error Line 14, Column 36: document type does not allow element "img" here <img src="banner.jpg" … | |
i've got a program that gets input from a user, and then stores it in a cookie. That bit is fine, what is a problem is that its just overwriting the data each time a new entry is made, i believed this to be something do do with it not … | |
i have used the below function to open a separate page for search results to open up in - althoug it seems that the css seems to get messy what must be the problem? is anyone willing to help? if so please let me know ur skype add so i … | |
Take a look at this: [url]http://flash-planet.co.cc/ViewGame.php?gid=93823[/url] The navlist is pushing all my content down. How do I avoid that?? conflicting CSS: [CODE] #conTOP { background-image:url('images/contop.png'); background-repeat: no-repeat; position:relative; width: 800px; height: 320px; top:170px; } .navlist { background-image:url('images/navlist.png'); background-repeat: no-repeat; position:relative; width: 250px; height: 600px; top:170px; left:730px; }[/CODE] | |
Well hello there everyone! My name, as you can tell by my name on here, is Zack Pollard. I'm 18, and studying towards a doctorate in IT, I consider myself to be able to answer most IT Hardware and windows related problems, and am also VB.NET and W3C trained, Plus … |
The End.