10,452 Topics
![]() | |
I would like to use the front end to send info to a program built in python 2.7/3.2(not sure which yet but most likely 2.7). That program would then send data back over to the front end and create new buttons (the number of buttons will be arbitrary). I have … | |
Hi all, I just started learning Python and Beautiful Soup. I am developing a script to look for particular text "Running" in the HTML. If that text "Running" exits, I would like to print out the keyword "QSAJK". Please see the attached image to visualize. If there is one or … | |
hi, i'm trying to add a background color to a element which is positioned before the identified tag. for example, i know the class of one elment and i have a list like below. [CODE] <ul id="one"> <li><a href='#'>text0</a></li> <li><a href='#'>text1</a> <ul> <li><a href='#'>text2</a></li> <li><a href='#'>text3</a> <ul> <li class="item-1"><a href='#' … | |
i need to have Total of price displayed in webgrid. from the code below. [CODE] @{ var db = Database.Open("SmallBakery") ; var selectQueryString = "SELECT * FROM Product ORDER BY Id"; var data = db.Query(selectQueryString); var grid = new WebGrid(source: data, defaultSort: "Name", rowPerPage: 3); } <!DOCTYPE html> <html> <head> … | |
Hello all, I am new to both HTML and CSS i am using a code where u can drag and drop elements from left into the grid. i want to put the images in the left with same effect as the one where I am dropping the image. Also on … | |
Hi All, I'm copying a long text from word and pasting into a html textarea and from here I send it to MySQL database. If the submited text is too long nothing happens. Any ideas on how to submit a large amount of text from a webpage to a MySQL … | |
Hey, I was about to get started just making a simple text game and was wondering how to make it so the game came up in a different window other than the CMD? Like how can I make it come up in say.. A 400x200 Window? Where I could customize … | |
Hi guys We have been asked to create a sudoku game using some type of CSS grid framework. I can't find any good explanations as to what a grid framework is. Someone please explain or direct me to an explanation. Regards | |
page-about.php [CODE] <div id="AboutNav"> <h3>About</h3> <p style="border-bottom: 1px dotted #787878; width: 200px;"></p><br /> <a href="https://localhost/wordpress/about/about-vision.php">Vision & Mission</a><br /> <a href="https://localhost/wordpress/about/about-history.php">History</a><br /> <a href="https://localhost/wordpress/about/about-client.php">Client</a><br /> <a href="https://localhost/wordpress/about/about-people.php">People</a><br /> </ul> <br> </div><br /> [/CODE] style.css [CODE] #AboutNav h3 { margin: 20px 0 0 0; } #AboutNav a:link{ background: url('images/About/AboutNav2.png') 0 0; width: … | |
this is my code please find the error and reply me. thanks <?php session_start(); ob_start(); //print_r($_REQUEST); //print_r($_SESSION); error_reporting(0); include("includes/conn.php"); header('Content-Language: en-us'); header('Content-Type: text/html; charset=utf-8'); if($_POST['opt']=='logout'){ $_SESSION['username'] == ""; session_unset(); session_destroy(); //require_once("login.php"); } // echo $_FILES["logo"]['name']; //if($opt=='Create') include("includes/conn.php"); /* $opt_multiple = $_REQUEST['opt_multiple']; foreach($opt_multiple as $key => $value){ $b.= $value . ","; … | |
Hi, I created an XML file that will hold the latest news and stories, and trying to display it now in my HTML file using Javscript (I scrapped XSLT, as it altered the CSS styling and alignments compared to the other pages and couldn't work my way around that). So, … | |
Hi, I am trying to have my landing page center in the browser when it resizes, with css yet and I'm confused. Right now its all flush left and i want it to center in any browser if possible. Maybe could someone please add the code in red so i … | |
<html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="Raphael.js"></script> <script type="text/javascript"> <?php include("class.logger.php"); //path to class.logger.php file $log = new logger(); //Instentiate the class $log->dbconnect(); //connect to database //pass the name of the table as the parameter. I.e. 'logger" $log->createtable('logger'); //set date and year text for the info bubble that appears … | |
Hey guys! i appreciate all the help ive been getting from you around here. I have a problem that isnt being solved by google D: i like the frames in html its exactly what i need however i want to make a dropdown menu bar on the header frame and … | |
I have a simple JavaScript question. I want a drop down selection so that when you select a certain option is shows the value of the option in a div. So for example: [CODE]<select> <option value="select-1">One</option> <option value="select-2">Two</option> <option value="select-3">Three</option> </select>[/CODE] So lets say that option one is selected, then … | |
I am not a javascript coder, but I wanted to make pop windows on my webpage, without a separate window. I followed the instructions I found here:[URL="http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/"]http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/[/URL] It worked well. However, I want to make more than one popup on my webpage- I have thumbnail images that I want to … | |
Hi, I need to create an html page to export some information. Currently, by using java, i've exported information to excel. But now, I need to export the information in HTML page using java.Is there any APIs I can use? Thanks. | |
I developped a cms system to upload images with php to a mysql database and a upload folder on the server. Firefox version 5.0.1 for MAC and earlier have no problems with file uploading through the script. But after that version it is impossible to upload images bigger then 250kb. … | |
hello, i would like to know the code to redirect my site to another page once i have submitted information to a registration page, the code i have is this: require_once('extensions/register.php'); ?> <link rel="stylesheet" href="stylee.css" type="text/css" /> <form name="register" id="register" method="post" action="<?php echo $_SERVER['PHP_SELF'];?>" style="display:inline;"> <table width="100%" border="1" cellspacing="0" cellpadding="5"> … ![]() | |
It is supposed to list out all records of roomID 57, but the record is duplicate. <?php require '../../source/authentication.inc'; session_start(); sessionAuthenticate(); require_once('../../config/conn.php'); ?> <?php require_once('../../config/conn.php'); $roomID=$_GET['roomID']; $sql="SELECT * FROM roomBooking where roomID = '$roomID'"; $rs=mysql_query($sql,$conn); $row_rs = mysql_fetch_assoc($rs); $count=mysql_num_rows($rs); $roomID=$row_rs['roomID']; $bookingDate=$row_rs['bookingDate']; $startTime=$row_rs['startTime']; $endTime=$row_rs['endTime']; $numberOfPeople=$row_rs['numberOfPeople']; ?> <!DOCTYPE HTML> <html> <head> <meta … | |
Hi ^^ sorry, iframe! I am able to load an external website into an inline iframe I have on page1.php by adding target name to the hyperlink. However, what I can't seem to get working is making the URL load into the iframe through simply adding the link to the … | |
Hi, This is my version of a user script. panel.php (Logged in Page) [CODE=PHP]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <? session_start(); if(!session_is_registered(myusername)){ header("location:index.php"); } ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>C&C-Relived Control Panel</title> </head> <body> <span style="color: #FFF">Login Successful</span> <form name="form1" method="post" action="logout.php"> <input type="submit" … ![]() | |
Hi, I try to create a menu for the website of my friend. But I have a probleme with the reaction of event. My submenu close when i quit the section div. Someone can help me please? my code: [CODE] <html> <head> <title>test menu</title> <script language="javascript"> function ouvrir_menu(cible){ liens_cible="liens"+cible; document.getElementById(liens_cible).style.visibility="visible"; … | |
Hi, I'm building a design for a website as a practice, but it seems i'm missing sthg as every time i try to add <h> tag of any size, the div shifts down leaving a blank space above, but it works fine if i replaced the <h> with a large … | |
ok so, I have a webpage that I am making for me and there is a link that is interfering with the hover part of the nav bar to show..it's this link "http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" that's at the bottom of the html page that I have set up..when I take it away..the … | |
start_session() after <html> tags generates error, Can it be used there somehow? If so, then how ? If not then what are the alternatives cause I have a function that generates some part of my <head></head> in my themes. So the session_start() definately has to saty in that function (e.g … ![]() | |
Hello, I'm trying to insert values from a form to a table (employee) on my database using prepared statements. From what I can tell the connections are fine, am able to query the database (as shown in the code to check the user type of the current logged in user). … | |
[url]http://www.healthviewone.com/PHP/Meds/med-update.php[/url] The URL above takes me to the following URL which is coming out blank. Can someone review my code below and tell me why I am getting this blank page? P.S. the patient information is bogus, not real. So no HIPPA concerns at all. [url]http://www.healthviewone.com/PHP/Meds/meds-change-form.php[/url] <html><head><title>Change Record form</title> <style … | |
page-about.php [CODE] <div id="AboutNav"> <h3>About</h3> <p style="border-bottom: 1px dotted #787878; width: 200px;"></p><br /> <ul> <li><a href="https://localhost/wordpress/about/">Vision & Mission</a><br /></li> <li><a href="https://localhost/wordpress/about/">History</a><br /></li> <li><a href="https://localhost/wordpress/about/">Client</a><br /></li> <li><a href="https://localhost/wordpress/about/">People</a><br /></li> </ul> <br> </div><br /> [/CODE] style.css [CODE] #AboutNav li a:link{ background: url(images/About/AboutNav2.png) 0 20px ; width: 100px; text-decoration: none; color: black; Arial, … | |
Hi, I'm trying to extract certain things from a web page. The website is TVRage.com, and the example I'm using at the moment is [URL="http://www.tvrage.com/Warehouse_13/episode_list"]the Warehouse 13 episode list[/URL]. So far I've managed to get the title of the show using this code: [CODE]#!/usr/bin/env python import urllib def save_page(site="http://www.tvrage.com/Warehouse_13/episode_list"): mypath … | |
![]() | Hey everyone, I am having some trouble positioning a div in the top right corner of another div. This is what I would like to have. [ATTACH]23723[/ATTACH] But I cannot get it to work. I tried [CODE] #edit { position: absolute; top: 0; right: 0; } [/CODE] This is the … |
How to use macros in html . I do not want to re-write a part of html code in many pages. any way to use modular kind of programming in html. Thx in advance. | |
The situations: I have text in a var, that I am assigning to the innerhtml of a 'p' tag . The text has whitespace at the end. The problem: The last whitespace isn't rendered, by p tags. IT is ignored. Is there a tag other than the pre tag, that … | |
Hi, I am generating a table for use as a revision form. The following line: [CODE] printf("<td><input type='text' name='%s' onfocus='showDisplayName($v[1], $v[2]);' id='%s' value='%s'></input></td></tr>\n", strtolower($key), strtolower($key), $value);[/CODE] has the php function showDisplayName() embedded in it. This function will not work. If I write the identical line in a pure HTML page … | |
I am trying to get a database created as per html5 web sql specs. [CODE]h**p://www.w3.org/TR/webdatabase/#sql[/CODE] I am using jquery/javascript to accomplish this. Here is a bit of simplified problem that i am facing. 1. User enters two fields on a html form 2. In background, i create a websql database … | |
I have a table in my database and i would like to bring up all the details where the datafield "votes" is the largest. i cannot get the fuctionality i desire. i would like a user to make a choice from the selection then have all the datafield where "votes" … | |
Hi, I am using query string in my page. It is working fine for only characters for example [B]javascript[/B] showing all the post related to javascript if i use [B]Html & css[/B]its not working. Query not execute because of & symbol. any solution | |
Hi, what is the best replacement for session_is_registered? Here is my code Main Page [CODE=PHP]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <? session_start(); if(!session_is_registered(myusername)){ header("location:index.php"); } ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>C&C-Relived Control Panel</title> </head> <body> <span>Login Successful</span> <form name="form1" method="post" action="logout.php"> <input type="submit" name="Submit" … | |
Hello all! I am new to JavaScript and was hoping someone could help me with a jQuery assignment. My page is online here: [URL="http://baileyjumper.aisites.com/JavaScript/Homework3/marcum-loren-hw2-jquery.html"]http://baileyjumper.aisites.com/JavaScript/Homework3/marcum-loren-hw2-jquery.html[/URL] What I currently have is a to do list, where you enter text into a textarea, and what you type is appended as a list item … | |
Hello, How can I make a menu for the following code [CODE=HTML] <div id="sidebar"> <ul> <li><a href="#">Master link</a> <ul> <li><a href="#">Link to be revealed</a></li> </ul> </li> <li><a href="">Master Link 2</a> <ul> <li><a href="#">Sublink</a></li> </ul> </ul> </div> [/CODE] Wit this CSS, I m hiding the second level of the menu, that … | |
Hi There; I try to design a web site. There are many pages in my web site and I linked them altogether. But there are constant buttons must be existed in different pages. I mean there are buttons namely, "Home" , "About" .. vs in different HTML pages . I … | |
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="modalwindow._Default" %> <!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 runat="server"> <title>arun</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" type="text/javascript"></script> </head> <body> <form id="form1" runat="server"> <!-- Begin modal window --> <div class="boxes"> <!-- Container Div --> <div style="height:auto !important;padding-bottom:50px;margin-top:25px" id="test" class="window"> … | |
Hi guys I'm new to html and css and would like to know how to create something like the picture. Basically I need to create any image and add a number to the top right corner via a function. If there are examples please do share. Note: this is not … | |
Hello, I would consider myself a decent python programmer (this may or may not be true). In the past, I have had a few small python contracts and have been screwing around with the language for a few years (I also have experience with c++, java/html/css/javascript/etc). What I would really … | |
I want to have an iframe expand and center on the screen when a button is clicked. This would be similar to creating a lightbox for it but I dont want to have the content in the iframe reload. I have found solutions that can resize an element but it … | |
Dear all, I've been working on this template for a an non-profit society. Everything seems fine with me I edited like tons of the code, sadly, one thing annoyed me a lot and couldn't be able to solve it yet. The problem is in the top menu, when you hover … | |
Hello everybody, I'm trying to make a simple page, build from several div's. I have a Header-div (yellow), a Navigation-div (green), a Content-div (pink), a Socialmedia-div (grey) and a Footer-div (red). All div's have a fixed height except for the content-div, I'd like this div to auto size itself. This … | |
How can i get selected text in web page and put it on textbox? This is the text that i want to copy. [URL="http://i1059.photobucket.com/albums/t432/doomhades666/1-1.png"]http://i1059.photobucket.com/albums/t432/doomhades666/1-1.png[/URL] This the page source of the web page [CODE]<div class="output"> <h1 class="titlebar">Calculator Output</h1> <div style="padding: 1.2ex;"> <pre>Simplifying -2x + 3y = 8 Solving -2x + 3y … | |
style.css [CODE] #AboutNav a:link{ background: url(images/About/AboutNav.png); width: 100px; text-decoration: none; color: black Arial, Helvetica, sans-serif; font-size: 12px; padding: 10px; } #AboutNav a:hover{ background: url(images/About/AboutNavHover.png); width: 100px; text-decoration: none; color: black Arial, Helvetica, sans-serif; font-size: 12px; } [/CODE] page-about.php [CODE] <div id="AboutNav"> <h3>About</h3> <p style="border-bottom: 1px dotted #787878; width: 230px;"></p><br /> … | |
Hy all, I am still newbie in web developing here my problem, I using .htacces to change the url of my website the url have changed but the problem the css file is not loaded here is my .htacces file [CODE] RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond … |
The End.