10,452 Topics

Member Avatar for
Member Avatar for lisles

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" %> …

Member Avatar for kvprajapati
0
917
Member Avatar for Feenix45

[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_") …

Member Avatar for kek1205
0
132
Member Avatar for rukshilag

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?

Member Avatar for rukshilag
0
217
Member Avatar for izagaren123

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; …

Member Avatar for pclfw
0
153
Member Avatar for rukshilag

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!

Member Avatar for rukshilag
0
115
Member Avatar for thabotharshan

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 …

Member Avatar for maceman
0
36
Member Avatar for tatt727

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 …

Member Avatar for tatt727
0
169
Member Avatar for hknight

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 …

Member Avatar for hknight
0
332
Member Avatar for Chrisjj
Member Avatar for jokomamamita

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 …

Member Avatar for rajarajan2017
0
232
Member Avatar for csharp12

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

Member Avatar for kvprajapati
0
81
Member Avatar for jtkiv

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 …

Member Avatar for jtkiv
0
118
Member Avatar for jbennet

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 …

0
106
Member Avatar for codebeastmode

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 …

Member Avatar for colweb
0
198
Member Avatar for qazplm114477

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.

Member Avatar for mackone
0
30
Member Avatar for Romber

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 …

Member Avatar for Hummdis
0
641
Member Avatar for Romber

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 …

Member Avatar for Hummdis
0
142
Member Avatar for qazplm114477

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 …

Member Avatar for qazplm114477
0
123
Member Avatar for spaniel

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. …

Member Avatar for moutanna
0
107
Member Avatar for noplagiarism

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 …

Member Avatar for noplagiarism
0
184
Member Avatar for fruitgum

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 …

Member Avatar for colweb
0
120
Member Avatar for SpaceCake1987

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 …

0
27
Member Avatar for rukshilag

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 …

Member Avatar for vitana
0
160
Member Avatar for tsachin1

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.

Member Avatar for vitana
0
168
Member Avatar for Coleman0610

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 …

Member Avatar for jephthah
0
248
Member Avatar for oggiemc

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 …

Member Avatar for oggiemc
0
105
Member Avatar for pwindsor

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 …

Member Avatar for Airshow
0
292
Member Avatar for Elemen7s

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 …

Member Avatar for Elemen7s
0
329
Member Avatar for agr8lemon

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 { …

Member Avatar for agr8lemon
0
80
Member Avatar for alokas88

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 …

Member Avatar for rajarajan2017
0
122
Member Avatar for mikehaddad

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 …

Member Avatar for kvprajapati
0
118
Member Avatar for adsegzy

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 …

Member Avatar for rajarajan2017
0
160
Member Avatar for cybergrace7

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)

Member Avatar for cybergrace77
0
112
Member Avatar for Atomika3000

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> …

Member Avatar for fxm
0
84
Member Avatar for bondzerg

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, …

Member Avatar for bondzerg
0
385
Member Avatar for hmortensen

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 …

Member Avatar for hmortensen
0
138
Member Avatar for bears38

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 …

0
50
Member Avatar for sainiweb

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 &nbsp; and <br /> I want programatic way to fix it with css or java script <!DOCTYPE html …

Member Avatar for fxm
0
260
Member Avatar for sainiweb

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; …

Member Avatar for sainiweb
0
231
Member Avatar for mohanrajit.88

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

Member Avatar for fxm
0
280
Member Avatar for WebspoonUK

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 …

Member Avatar for WebspoonUK
0
158
Member Avatar for nevergone

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 …

Member Avatar for nevergone
0
123
Member Avatar for gear26926

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 …

Member Avatar for Airshow
0
176
Member Avatar for nonshatter

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 …

Member Avatar for nonshatter
0
160
Member Avatar for vitroblue

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 …

Member Avatar for Airshow
0
142
Member Avatar for Roses89

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" …

Member Avatar for Roses89
0
104
Member Avatar for Atomika3000

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 …

Member Avatar for Airshow
0
110
Member Avatar for rukshilag

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 …

Member Avatar for Airshow
0
154
Member Avatar for Ruko

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]

Member Avatar for Ruko
0
58
Member Avatar for ZackPollard

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 …

0
54

The End.