10,325 Topics
![]() | |
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 … | |
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". … | |
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, … | |
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. | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
<label class="leftlabel">Name:</label> <div> Steve Peters </div> how towrite REGEX pattern to search Name and its value Steve Peters please help | |
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 … | |
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 … | |
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 … | |
[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; … | |
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, … | |
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 { … | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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"] … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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) { … | |
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 … | |
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" /> … | |
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 … | |
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 … | |
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 … | |
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(?) … | |
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 … | |
![]() | 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 … |
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. … | |
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 … | |
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 … | |
[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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
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 … |
The End.