10,325 Topics

Member Avatar for
Member Avatar for ilikepaste

import urllib.request page = urllib.request.urlopen("http://www.randompickupline.com/") text = page.read().decode("utf8") where = text.find('<p id="pickupline">') start_of_line = where + 18 end_of_line = start_of_line + 150 line = (text[start_of_line:end_of_line]) print (line) This is a basic html import for a text based game I'm writing for fun, and I'm making a dynamic string. However, the …

Member Avatar for ilikepaste
0
203
Member Avatar for ans2007kumar

Guys i am trying to create a shopping cart in php + mysql. I have a page with product and one input button for each one of them. I want that when ever the product button is clicked it stores the data of product and amount in the database "cart". …

Member Avatar for chrishea
0
167
Member Avatar for soft_coder

Hi! I have created a modal dialog using Jquery and I am opening an aspx page inside the modal dialog. The code is as follows: ASPX Page: [CODE]<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, …

Member Avatar for soft_coder
0
151
Member Avatar for Reliable

Hey everyone, Quick question..why would I use the text transform property when I could just type it how I want it? Thanks for your time.

Member Avatar for maryparker
0
79
Member Avatar for Enders_Game

If I have example code: [CODE]url = "someurl" values = {"username" : USERNAME, "password" : PASSWORD} data = urllib.parse.urlencode(values) req = urllib.request.Request(url, data) urllib.request.urlopen(req)[/CODE] it passes username and password to the url that you request. So I want to post a thread in a forum. When I look at the …

Member Avatar for snippsat
0
224
Member Avatar for tanoru

Hi I'm build a custom tab interface. When each tab is clicked a webpage is loaded into an iframe. There are multiple tabs so I've created multiple tab object that have a url parameter stored in them. However I want each tab to remember the last page that it was …

0
82
Member Avatar for h20

Hi all, I have trouble in updating my data using update query in which i need to update the a particular student id.Currently in my database table, I have the attendance table below and i need to update it using php update statement. ID Date 143 1/1/10 143 2/1/10 143 …

Member Avatar for diafol
0
207
Member Avatar for VichuTheWizard

Hi, I am currently doing a project on remote object communication between Flex 4.1 SDK and Java using Flerry API.I need a Java program that can capture the user keystrokes while the user enter's text in the action-script text-area. i.e I need Java program that captures the keystrokes as user …

Member Avatar for VichuTheWizard
0
197
Member Avatar for denmarkstan

please i need someone to give me a simple step by step tutorial on how to develop Css menu dropdownlist in ASp.net i am a newbie in asp.net. i have tried so many tutorial but i could not still achieve what i want. steps of doing that i want: 1.i …

Member Avatar for jugosoft
0
140
Member Avatar for sean6219

Hi there,I have been looking for solutions but no one seems to be able to help me.Days ago,I created a blogger blot at this url [url]http://wshienrun.blogspot.com/[/url] However,when I tried to add the code for drop down menu from [url}http://www.bloggerhome.net/2010/04/how-to-add-horizontal-dropdown-menu.html[/url] original content slider in the blog suddenly disappeared and it dropped …

Member Avatar for Arkinder
0
320
Member Avatar for omokop

<label class="leftlabel">Name:</label> <div> Steve Peters </div> how towrite REGEX pattern to search Name and its value Steve Peters please help

Member Avatar for kvprajapati
0
58
Member Avatar for Emzielou90

I have a site hosted by zymic and everying has been running fine until the file manager went down so i've bin trying the FTP and i edited my site and when i re uploaded it i found this message Parse error: syntax error, unexpected ',' in /www/zzl.org/a/b/s/absolutelydoctorwho/htdocs/index.php on line …

Member Avatar for Emzielou90
0
470
Member Avatar for Eric Cute

I have a bit of a problem here. The situation. 1. I have created a Dynamic Web Project. (good) 2. I have created a logon JSP (good) 3. I have created a css (good) 4. I have created a JS file (good) JSP, CSS are located in WebContent/WEB-INF/ JS located …

Member Avatar for peter_budo
0
888
Member Avatar for brynFlew

Hello, and thank you for youre time, I have a problem with my jsp application, when i try to get the values from the html form on the jsp page process.jsp, it sets the values of each element but then does not return them to the java page. It keeps …

Member Avatar for peter_budo
0
242
Member Avatar for omokop

[code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- saved from url=(0233)[url]http://employer.dice.com/talentmatch/servlet/TalentmatchSearch?op=201&dockey=xml/5/8/588dc5c2940163a08ac76fd58199497b@endecaindex&cskr=1&ranking=0&FREE_TEXT=oracle%2Boracles%2B&DESIRED_POSITION=%2B&RECENT_EMPLOYER=%2B&SCHOOL_NAME=%2B[/url] --> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>About Steve Peters </title> <style type="text/css"> #wrapper { width: 318px; } #btnHeader { background-image: url( /assets/images/notes_head.gif ); width: 318px; height: 36px; padding: 0; margin: 0; font-size: 11px; font-family: Arial, Helvetica, sans-serif; …

-4
85
Member Avatar for Statoeo

Hello, I have a program that displays a frame that uses a canvas to display few rectangles and some images. While executing the program with Eclipse IDE everything seems to work appropriately, when I compile and execute the program using windows command line the images are not displayed. With eclipse, …

Member Avatar for Statoeo
0
279
Member Avatar for kevindougans

Hi guys, Sorry for the simple question but can anyone tell me how to make my drop down links appear above everything else on the page. Thanks, [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style type="text/css"> <!-- #header_container { …

Member Avatar for Arkinder
0
125
Member Avatar for cavpollo

Hi there, I got the following problem with my code (which its just an extract): 1. When it loads on Firefox it looks just like I want it to look, everything ordered and in its place, BUT when I visualize the same code on Internet Explorer it shows about half …

Member Avatar for Arkinder
0
251
Member Avatar for gabrielmusa

I have a newsletter whicvh i send to people through email.one of the articles in the newsletter comes direct from an asp page using the iframe. i have just discovered that iframes are bloked on webmails e.g. yahoo and gmail therefore the article is not dispyed. so i'm thinking of …

Member Avatar for jugosoft
-1
105
Member Avatar for bbinais

i need to validate my username and must not be blank.. i use this code.. but its not working... i'm getting this error.. [COLOR="Red"]'Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the …

Member Avatar for diafol
0
231
Member Avatar for adnank

Hello. I have some problem with a hanging text. Site is powered by Joomla, custom template. Long text should be enclosed in fixed height div, but it actually is there and also duplicated on top of a page. Here is sample [URL="http://trueenterprisesinc.com/terms-of-use.html"]http://trueenterprisesinc.com/terms-of-use.html[/URL]. I hope somebody has some idea how to …

Member Avatar for adnank
0
113
Member Avatar for waniejjang

Hi, I'm really new to PHP and programming I can say. I really need your help. Basically I'm doing a dynamic dropdown menu using PHP and MySQL and when user select the company name at dropdown, then email address will be populated at new textfield. The company table consists of …

Member Avatar for waniejjang
0
4K
Member Avatar for f_atencia

Say I have an XML file as such: <contacts> <contact id="1"> <name>Steven</name> <address>Here</address> <phone>11111111</phone> </contact> <contact id="2"> <name>John</name> <address>There</address> <phone>22222222</phone> </contact> </contacts> ...etc. How can I transform that to HTML with XSLT so that it can be a collapsable/expandable tree? For example, If I click a button that shows contact{@id="1"] …

0
92
Member Avatar for tutorim

Hi, I have a website is php+mysql and i would like to do some changes on css. Ex. To add H1 and H2 tags. Here is the css where i want to add the h2 and i dont have idea how. If you need a more detailed description let me …

Member Avatar for tutorim
0
243
Member Avatar for samsons17

Hi, i've tried to design a page here,but why my [B]float:bottom[/B] does not working, instead the text within the container still appear on the top of the page. Before this,i always using margin to drag the desired tags down to the bottom,or left,right etc,but i guess it is not the …

Member Avatar for teedoff
0
105
Member Avatar for bg1976

Hi there I have a .net (3.5) user location dropdown menu (System.Web.UI.WebControls.DropDownList) called ddlLocation, that when the user selects a location menu item that item is saved in a database table, so that the next time the user accesses the page the selection is pulled from the db table. The …

Member Avatar for bg1976
0
182
Member Avatar for cmills83

Has anyone had success changing a users print settings to landscape when printing a specific page using either CSS or JS? I see a lot of the same solutions repeated when searching but none seem to work so please only post something if you have had cross-browser success and can …

Member Avatar for codewall
0
63
Member Avatar for Hakarune

So I got help from here earlier with one problem and a few more have arisen, the biggest is for some reason my checkbox and dropdown array won't store the data and when it's supposed to check to verify there is at least 1 selected of each nothing happens... To …

0
97
Member Avatar for Tracie-marie

I'm completely self taught - and probably wrongly have learned by trial and error so I have absolutely no idea where I have gone wrong here, I think something in my CSS gets read differently by Chrome than other browsers. I'm redoing my website [URL="http://www.acrodancer.com/Test_Site/completed/AcroDancer.html"]http://www.acrodancer.com/Test_Site/completed/AcroDancer.html[/URL] In IE the sizing is …

Member Avatar for teedoff
0
152
Member Avatar for Thisisnotanid

Hi everyone, I'm working on a website and need some help. I'm really not experienced with this stuff and I'm using wix with some borrowed html snippets. I wanted to use a vectorized image as a background that would scale to fit the browser on any screen as best as …

Member Avatar for teedoff
0
604
Member Avatar for PRYMA

Hello there guys. Have a bit of a dilema here. have been working on this website for about a week now. I have came to what i want up to this point but ran into some problems. If you go to [url]http://1staarifles.clanservers.com[/url] you will see taht the website itself is …

Member Avatar for teedoff
0
187
Member Avatar for DoctorGiraffe

I am trying to figure out a way to to make a webbrowser scroll to an html element and center the element, i don't have any code to show as i have desperatly looked everywhere after a solution but havent found anything.

Member Avatar for DoctorGiraffe
0
98
Member Avatar for jain4

Hi there, I have a prob. I am trying to build a form in Html and when submitted it should go to other URl and to Asp.net file. Can anyone help me with this. In ASP.net i am using the following code [CODE] protected void Page_Load(object sender, EventArgs e) { …

Member Avatar for kvprajapati
0
166
Member Avatar for vivek4020

Hello Everybody, I have run into a bit of a trouble here I wish to set the background image of a button I have written this XAML [CODE]<Button.Background> <ImageBrush ImageSource="/UIDesign;component/Images/Settings.png" /> </Button.Background>[/CODE] but when i run the application and hover the mouse over the button, the background goes away and …

Member Avatar for gandora
0
2K
Member Avatar for pcchella

Hi all, In this program I want to display row one by one in table format. Please help me Regards, chelladurai P.C. [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Revaluation : Sona College of Technology</title> <link rel="stylesheet" type="text/css" href="stylesheet.css" /> <link rel="stylesheet" href="print.css" type="text/css" media="print" /> …

Member Avatar for TySkby
0
96
Member Avatar for felix001

I currently have a table within my page at : [url]http://www.fir3net.com/Firewalls/Juniper-Netscreen/juniper-commands.html[/url] The first 2 tables have been assigned a class of X1. My aim is to do the following : [LIST=1] [*]Set the table to a width of 85% [*]Set the first column to a set width [*]Set a black …

Member Avatar for shaya4207
0
126
Member Avatar for scottpink

Hi can anyone please help, I am doing a ffeebie for a local school and trying to get Spry Menu working and its pretty much okay, except the drop downs seem to be at the top of the page. Using CS4 and i.e.8. Test site URL is: [url]http://www.trustsystems.co.uk/Test_Sites/watermoor/[/url] SpryMenuBarHorizontal.css code …

Member Avatar for shaya4207
0
138
Member Avatar for t3chpr0digy

I have a help desk system in which I specified some default sort settings and what not. I've recently added drop down boxes to this, in hopes that a user can change the view settings for themselves. The assigned to: works fine, but I'm not sure how the person prior …

Member Avatar for sutt0n
0
150
Member Avatar for DoctorGiraffe

Hello, so i'm having problem with Regex. I'm trying to use to put names in a checkboxlist. But the page where i want the names from have to be accesed by login in on the website. But the regex doesnt read from the VB WebBrowser it reads from... the internet(?) …

Member Avatar for DoctorGiraffe
0
632
Member Avatar for AdriftUniform

Hi, I am trying to create a group of html links that are dependant on two arrays. The data of the arrays is populated from a mysql database, here is my code: [code=php] <?php include_once 'title.php'; include_once 'checkuser.php'; if (isset($_GET['view'])) $view = sanitizeString($_GET['view']); else $view = $user; $sql = "SELECT …

Member Avatar for AdriftUniform
0
251
Member Avatar for feoperro

Hi, I was wondering if there are any scripts out there that work similar to a normal windows browser. I'm not looking for a folder tree type of view though (as you would see in windows explorer) but more of a "single folder at a time" type of view. I …

Member Avatar for pritaeas
0
114
Member Avatar for soft_coder

Hi! I have successfully implemented a modal dialog using jquery with the help of Daniweb forum but I am facing one more problem. Well, I have to intregrate it with a sharepoint page. 1. It is running fine in a normal web application. 2. It is running in a webpart. …

Member Avatar for soft_coder
0
662
Member Avatar for minimogul

I am having trouble with my inputs. I set a border for them one class has a 1px border the other has a 2 px border. It looks fine in Chrome and I have checked everything and I don't understand because someother elements show up with a border. Is this …

Member Avatar for minimogul
0
185
Member Avatar for sampson

Friend dropped this off for a helping hand. Computer after clean ups is still very sluggish but it seems pop ups and IE registry pop up(virus i assume) have stopped. Mba-m log: Malwarebytes' Anti-Malware 1.50.1.1100 [url]www.malwarebytes.org[/url] Database version: 5481 Windows 5.1.2600 Service Pack 3 Internet Explorer 8.0.6001.18702 1/7/2011 8:06:19 PM …

Member Avatar for sampson
0
319
Member Avatar for BelgianQueen

[CODE][COLOR="Green"]I have the following rule for a static BG image and other attributes for the entire site: #header{ width: 1014px; margin: 0 auto; height: 274px; background: url(images/imagename.JPG) no-repeat top; } However, this no longer works for me. What I need to do is to include a different background image for …

Member Avatar for MidiMagic
0
148
Member Avatar for bmj1474

I am trying to set up a Contact form on my website that will: [LIST=1] [*]Gather the user's info [*]Validate that none of the required fields are empty, if they are, then redirect the user back to the contact form page to fill in the empty field [*]Send it to …

Member Avatar for diafol
0
153
Member Avatar for Kligham

Hi, I have a html file Top.htm: [CODE]<form action="" method="post"> <fieldset> <input id="searchbox" type="text" name="zoekfunctie" value="Zoek..." /> <input type="submit" name="zoekbutton" value="Zoek" /> </fieldset> </form>[/CODE] I then include this page in my index page (and in many more pages to come): [CODE]<div id="top"> <?php include("Top.htm"); ?> </div>[/CODE] Now the problem is …

Member Avatar for Kligham
0
187
Member Avatar for Lanor

hi...I am running rhel5.4. I have enable UserDir in apache and get the forbidden error while trying to access [url]http://localhost/~lanor[/url] I have set set permission for user Lanor 711 for home dir "lanor" and 755 for "public_html" Is it that I have to set the above permission for the user …

Member Avatar for Lanor
0
213
Member Avatar for edoscope

Hi guys, I am having a problem getting my footer div tag to fill the remaining 100% of the page height. I have content above this div that will be an unknown height. i would like the footer to aso be a minimum height of 20px (if the content causes …

Member Avatar for MidiMagic
0
151
Member Avatar for yopirates

hey everyone.! i have a n application where i have a color picker (jquery) i will get the value the user choosen color . then i will put that into to session variable. Now i want the contents of the external stylesheet to be modified based on the color which …

Member Avatar for jpietrangelo
0
100

The End.