Forum: PHP 4 Days Ago |
| Replies: 6 Views: 196 If you want to do it that way(a tidy, browser independent, way to do it ) $url = $_SERVER['PHP_SELF']; |
Forum: PHP 5 Days Ago |
| Replies: 6 Views: 196 dunno, but style the input.submit
input.submit {background:none;border:0;color:#ff0000; }<input type='submit' style="background:none;border:0;color:#ff0000;" value='something'>(untested) |
Forum: Graphics and Multimedia 15 Days Ago |
| Replies: 6 Views: 634 Good point
large corporates, many of who use flash in their websites block flash from being installed on pc on the lan
the big dollar customers won't see the fancy work
and may block the site... |
Forum: Graphics and Multimedia 16 Days Ago |
| Replies: 6 Views: 634 Flash sucks
flash intros penalise in search, annoy your customers
anything that makes the page load longer, kills customer retention |
Forum: HTML and CSS 23 Days Ago |
| Replies: 9 Views: 532 sames as IE6/png, conditional css with eot fonts for IE
or wait till IE supports css3 properly (looks out window, watching for Hell to freeze over)<!--[if IE]>
@font-face { font-family:... |
Forum: HTML and CSS 23 Days Ago |
| Replies: 9 Views: 532 local is the local pc font store, I think, from the web server, even a web server installed locally it requires a url
something like@font-face {
font-family: GraublauWeb;
src: local("Lucida... |
Forum: MySQL 29 Days Ago |
| Replies: 6 Views: 548 my db is simple, numeric data only, but i went here, MYSQL Charsets (http://dev.mysql.com/doc/refman/5.1/en/charset-syntax.html) to find out how to display other character sets, it was complicated,... |
Forum: JavaScript / DHTML / AJAX 31 Days Ago |
| Replies: 13 Views: 889 <html><head></head><body>This is a popup window,<br>
which may not open on any random system thanks to popup blockers<br>
on the chance that it does open, I want to close it 5 seconds later... |
Forum: HTML and CSS 32 Days Ago |
| Replies: 4 Views: 413 <button type='submit' name='thisorthat' value='whatever you want'>displayed label</button> |
Forum: HTML and CSS Oct 23rd, 2009 |
| Replies: 1 Views: 298 <%@ Page Language = "VB" aspcompat=true Explicit="True"%>
<%Dim src As String = " bet "%>you knew to quote values up there , , , but, ,<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"... |
Forum: PHP Oct 21st, 2009 |
| Replies: 4 Views: 257 limit =1 ? if you only want one pic
or if pictures in albums are number, select only number 1 in each album
hard to code without knowing the data structure |
Forum: Graphics and Multimedia Oct 20th, 2009 |
| Replies: 3 Views: 958 any time consuming bandwidth eating enhancement you make, will make no difference to the user,
If the enhancement delays the loading of the page they will leave
user click away may seriously annoy... |
Forum: HTML and CSS Oct 19th, 2009 |
| Replies: 9 Views: 704 does src="file:///c:\users\sonnydajalexa\desktop\test\smiley.jpg" work |
Forum: PHP Oct 14th, 2009 |
| Replies: 4 Views: 204 <?php
/* connect select db etc */
$flat=("SELECT C.Latitude, C.Longitude FROM Cities C JOIN Countries Co ON Co.CountryId = C.CountryId JOIN Regions R ON R.RegionId = C.RegionId WHERE C.City =... |
Forum: HTML and CSS Oct 10th, 2009 |
| Replies: 7 Views: 472 |
Forum: HTML and CSS Oct 9th, 2009 |
| Replies: 7 Views: 472 those are the actual sizes of the images, not the desired size <div id="main">
<h1>Pictures</h1>
<img width='594' height='292' alt='alt text is a requirement' src="Pictures/3DIM_poster.jpg" />... |
Forum: Graphics and Multimedia Oct 9th, 2009 |
| Replies: 5 Views: 868 WYSiWYG what you see is what you get
as in "FrontPage is a wysiwyg editor"
the code sample at the top of the prior reply should be cut and pasted into 'html view' in frontpage if you use it
the... |
Forum: Graphics and Multimedia Oct 9th, 2009 |
| Replies: 5 Views: 868 1 file autostart on page load<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<style type='text/css'>
/* css positioning for the media... |
Forum: JavaScript / DHTML / AJAX Oct 8th, 2009 |
| Replies: 6 Views: 448 dont use javascript
use css
the focus or active attributes
<style type='text/css'>
#link1 { background-image: url(Pic11.jpg); }
#link1:active { background-image: url(Pic12.jpg); }
#link1:focus... |
Forum: MySQL Oct 8th, 2009 |
| Replies: 2 Views: 384 CREATE TABLE Employee
(
Emp_Id int PRIMARY KEY IDENTITY,
LastName varchar(255) NOT NULL,
FirstName varchar(255),
Address varchar(255),
City varchar(255),
postalcode vachar(6),
/* other... |
Forum: JavaScript / DHTML / AJAX Oct 4th, 2009 |
| Replies: 16 Views: 801 the explanation of the desired function of the script is correct.
but
the script will not work as expected
rollover images are not preloaded
the first time any affected image is rolled over the... |
Forum: PHP Oct 3rd, 2009 |
| Replies: 32 Views: 1,039 so the end result is an enhaced tooltip,
specific to the region/anchor/link that is clicked
this code sample creates a layer, that embeds in any page to provide tooltips without any external file... |
Forum: PHP Oct 3rd, 2009 |
| Replies: 32 Views: 1,039 why javascript
javascript is blocked on a large proportion of the potential market
passing as a url, the page is being reloaded
best practice; prepare the page serverside, then you can be sure its... |
Forum: PHP Oct 2nd, 2009 |
| Replies: 32 Views: 1,039 <?php
if (!$text) {die('No text selected');}
elseif($text='this') {echo '<div class="topbar">anything you like, once php has processed it its just html goes here</div>'; }
elseif($text='that')... |
Forum: PHP Oct 2nd, 2009 |
| Replies: 32 Views: 1,039 using :: file.php?text=this as example
if else<?php
if (!$text) {die('No text selected');}
elseif($text='this') {echo '<div class="topbar">This Text goes here</div>'; }
elseif($text='that')... |
Forum: JavaScript / DHTML / AJAX Sep 30th, 2009 |
| Replies: 10 Views: 935 <script type="text/javascript">
<!--//
function setplay(thisfile,ww,hh) {
document.getElementById("MediaPlayer1").src=thisfile;
document.getElementById("MediaPlayer1").style.width=ww;... |
Forum: HTML and CSS Sep 30th, 2009 |
| Replies: 6 Views: 378 Item1
Item2
Item3
Item3
try styling unordered lists
not sure, but, the default style for lists has a whitespace between li elements
ul {margin:0; padding:0;}
ul li {margin:0;... |
Forum: HTML and CSS Sep 28th, 2009 |
| Replies: 4 Views: 411 cgi scripts are often self documented
if you open them as text there are often instructions in them that show the configuration options
options are often entered as hidden inputs in the form so the... |
Forum: PHP Sep 28th, 2009 |
| Replies: 15 Views: 455 Just replace the $_SESSION['color'] variable in the posts above, with your variabl
<input bla bla <?php if($variable='red') { echo "checked"; }} ?> > |
Forum: PHP Sep 28th, 2009 |
| Replies: 15 Views: 455 it can, but sessions are actually easier
returning the value from a sql query the results can be directly assigned to a variable, instead of through the session array,
the session means the... |
Forum: PHP Sep 28th, 2009 |
| Replies: 15 Views: 455 html
with clickable label<input type="radio" name="color" id='red' value="Red" <?php if ($_SESSION['color'] == 'Red') {echo 'checked';}?>><label for='red'> Red</label><br>
<input type="radio"... |
Forum: PHP Sep 25th, 2009 |
| Replies: 8 Views: 287 Unlimited? bandwidth diskspace,
unlimited is syonymic for infinite,
not really possible but in
scaleable hosting
second vote for rackspace
on price try theplanet |
Forum: PHP Sep 24th, 2009 |
| Replies: 2 Views: 260 <?php
$dropdown_data = explode(",", $row_rsAppare['Item_Dark_Colors']);
echo '<select name="DarkColor" id ="DarkColor>';
echo '<option selected="selected" value="">Choose Color</option>';... |
Forum: HTML and CSS Sep 24th, 2009 |
| Replies: 4 Views: 411 1 comes before 2
11 (one one) also comes before 2
like the personal information this IS sort by alphabet order of the field name
130 questions number
001 002 003... 009 010 011... 055 056... |
Forum: Graphics and Multimedia Sep 23rd, 2009 |
| Replies: 2 Views: 486 easy fix, dont use flash
there is nothing in that flash menu that can't be done smaller faster simpler in css |
Forum: JavaScript / DHTML / AJAX Sep 21st, 2009 |
| Replies: 10 Views: 558 <img src="images/bg.jpg" name="mainimage" width="419" height="282">
Should be <img src="images/bg.jpg" id="mainimage" width="419" height="282"> and as previously written by mathewmaxwell
function... |
Forum: JavaScript / DHTML / AJAX Sep 20th, 2009 |
| Replies: 2 Views: 299 The alert box stops subsequent processing
comment out the alert box as it is in the prior script and it will work
or place the alert box after the function and it will work |
Forum: PHP Sep 18th, 2009 |
| Replies: 6 Views: 804 without even a database, used this code when analysing small sites
stats.php<?php //stats.php
// Get the user stats.
$getdate = date( 'd-m-Y, H:i:s' );// Get the date time, trhis is a human... |
Forum: PHP Sep 17th, 2009 |
| Replies: 5 Views: 297 I think I understand
the target attribute of a link should do it
consider a frameset with left and right panes
the left pane includes the menu
the right frame is the display page
index htmldtd... |
Forum: PHP Sep 14th, 2009 |
| Replies: 21 Views: 585 you are trying to run php from the local file system /C:/Documents and Settings/rEd_xiii21/Desktop/programming/ERDI Website Final/Duplicate of Edited Site/
that wont work, even if it is the same... |