2,295 Posted Topics
Re: If you dont set colum widths or table width at all, each column will be as wide as the largest data it contains, and the table will be as wide as the sum of the columns, creating scroll bars | |
Re: [code=javascript]search = '<form action="http://www.ututorial.net/search" id="cse-search-box"><div><input type="hidden" name="cx" value="partner-pub-3996237323979957:tenb6ft9bbh" /><input type="hidden" name="cof" value="FORID:10" /><input type="hidden" name="ie" value="ISO-8859-1" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></s ;c ;r ;i ;p ;t ;>'; /* hex has been exploded, spaces added, Daniweb does not allow the hex to sit as typed … | |
Re: in the iframe menu 'target='_top' will change the highest level url target='_parent' will change the immediate parent window url ergo menuiframe.html [code=html] <a href='home.html' target='_top'>Home</a> <a href='page1.html' target='_top'>page 1</a> <a href='page2.html' target='_top'>page 2</a> <a href='page3.html' target='_top'>page 3</a> [/code] its just a matter of [INDENT] Read The F([COLOR="Green"]ine[/COLOR]) Manual [/INDENT][url]http://www.w3schools.com/tags/tag_a.asp[/url] | |
Re: [code=css]button { color:#ff0000; background-color: #e4e0d8; } button:hover { color:#000000; background-color: #66cdaa; } button:active { color:#ff00ff; background-color: #66cdaa; } button:focus { background-color: #66cdaa; } /* or */ input[type=button] { color:#ff0000; background-color: #e4e0d8; } input[type=button]:hover { color:#000000; background-color: #66cdaa; } input[type=button]:active { color:#ff00ff; background-color: #66cdaa; } input[type=button]:focus { background-color: #66cdaa; }</style>[/code] buttons … | |
Re: this code is useless for checking this problem it does not include any of the includes or css css controls positioning the included files have content that may push the page around post a link to the faulty page, | |
Re: Iagree with midimagic, and at the other end of the scale a blackberry footer 100px high, and a header 100px high, 20px of useful data and ya cant get that **expletive deleted** off the screen, | |
Re: maker her a google calendar, and link it from the page ?? | |
Re: Its best in apache config but if your host does not allow access it can be done in php [code=php]<?php header ('content-type: text/css'); /* text/javascript text/javascript etc */ /* file data */ <?php ob_flush(); ?>[/code] can be any file type this is part of style.css.php[code=php]<?php header ('content-type: text/css'); ob_start("ob_gzhandler"); ?> … | |
Re: [code=php]<?php if(!$file) return false; /* properly verify filename as well this is just a demo script as is this is a huger security hole */ header("Content-disposition: attachment; filename=$file"); header('Content-type: application/pdf;'); /* application/octet_stream etc or pull the content type from your database as a variable or a list etc */ readfile("$file"); … | |
Re: [QUOTE]Don't set any fixed sizes. Use percentages of screen width instead.[/QUOTE] (except images) fixed images only because bitmaps dont scale well, and allow the text to flow around them. The page does not have to look the same, on every browser, every OS every screen resolution, the page just has … | |
Re: I think too many designers wnat to show what they [B][I]can[/I][/B] do, instead of just doing what they [U]should[/U] do. [INDENT]google vs yahoo search[/INDENT] | |
Re: have you tried uploading as .rtf instead of .doc or .pdf closer to html in styling, no multibyte characters, no ctrl characters, just the 128ascii set | |
Re: [code=html]<select onchange='document.smallimage.src= this.value;document.header.background.src=this.value'> <option selected='selected' value='blank.jpg'>Choose</option> <option value='1.jpg'>one</option> <option value='2.jpg'>two</option> <option value='3.jpg'>three</option> <option value='4.jpg'>four</option> <option value='5.jpg'>five</option> <option value='6.jpg'>six</option> </select><br> <img name='smallimage' id='smallimage' width='320' height='240' src='blank.jpg'>[/code] | |
Re: [url=http://www.google.ca/search?hl=en&safe=off&q=php+%22domain+lock%22+script&meta=]php domain lock google search[/url] most php obfuscators have a domain lock function you can configure, zip and disseminate the locked files in one pass | |
Re: I don't see much point in doing redirects after the wrong page is loaded to the minibrowser, If you do it on the server before the page is loaded the minibrowsers wont waste time loading a heap of pages then reloading browsers send their user_agent in http request, this works … | |
Re: php can access files anywhere you tell it to if you put the protected files outside the web root php will be able to server them, but direct access will not be available your cms should not be outputting viable url format for these files you can set up your … | |
Re: [code=html]<input type='submit' value='submit' onclick='return(confirm("Are You Sure"));'> <!-- or --> <form action='formhandler.ext' method='post' onsubmit='return(confirm("Are You Sure"));'>[/code] | |
Re: [CODE=php]$genre_id = $_GET['id']; $items = ITEMS_PER_PAGE; if(isset($_GET['page'])) { $offset = $_GET['page']; $offset *= $items; $query = 'select * from artist where genre_id = '.mysql_real_escape_string($genre_id)." limit $offset,$items"; } else { $query = 'select * from artist where genre_id = '.mysql_real_escape_string($genre_id); } $allArtists = mysql_query($query); [/CODE] [code=php] tags, syntax highlighting select * … | |
Re: dont use a popup popups are routinely blocked for security every day a larger proportion of browsers have popup blockers enabled. because popups are annoying sites that use popups get worse results than those that do not use a layer and show/hide it as necessary | |
Re: I think only IE it is a MS language javascript is better supported | |
Re: What happens to marketing emails never get read, straight to trash, even the ones people opt in for ISP blacklist the sender never heard from again. The best marketing does not look like marketing, - write your mailer in house, make it personal. blacklists are easier to get on, than … | |
| |
Re: no frames dont work in screen readers. frames arent indexed well by search engines framesets - like a timewarp back to 1990 the same effects of constant menu & layout can be better accomplished with php asp shtml includes, and css styles serverside slideshow scripts work better than html framesets, … | |
Re: [code]<!-- google_ad_section_start --> After Dani's earlier post I thought it may have been a problem in my work PC only, but I just tried on my home (32-bit) PC which runs XP SP3 with Firefox 1.90. It is also occurring for me in IE 6.0. <!-- google_ad_section_end -->[/code]the site has … | |
Re: Yes there is the specifics depend on the video card, and should be detailed in the helpscreens for the video card drivers If there isnt a menu choice for the video helpscreens, look for a folder in program files with the name of the card maker, or check the card … | |
Re: [code=php] <?php /* form processing, captcha generate etc */ ?> <form action='<?php echo $_server['php_self']; ?>' method='post'><br> bog: <input type='text' name='bog' value="<?php if(isset($_post['bog'] { echo $_post['bog']; } ?>"><br> big: <input type='text' name='big' value="<?php if(isset($_post['big'] { echo $_post['big']; } ?>"><br> <input type='text' name='captcha'><br> <input type='submit' onclick='return(confirm("Are you sure?"));' value='Submit'> </form> [/code] | |
Re: because IE and firefox/mozilla use a different DOM (document object model) there are many scripts that only work in one or the other and on the sites that offer them for download they usually state things like IE only, or "degrades gracefully in other browsers" I do not know enough … | |
Re: [LIST=1] [*]the database is not connected [*]no validation of input [*]other input fields can be left blank [INDENT]on first load this[code=php]$id=$_GET['id']; print "<form action='reply.php' method='post'>"; print "<input type='hidden' name='id' value='$id'>"; [/code] does nothing[/INDENT] [/list]there are 6 fields, and as few as 3 in $_post and calculated data wont mention using … | |
Re: hard to test without seeing the code but it is possible that the code includes the #code that generate Aumlaut in the character set displayed instead of intended character, many page scripts use [icode]& #171;[COLOR="Red"]broken[/COLOR] «[/icode] to represent goto first page and [icode]& #187;[COLOR="Red"]broken[/COLOR] »[/icode] to represent goto last page … | |
Re: [QUOTE=alimoe;817957]hi guys, I am designing a website. The site has to have 3 columns, so i floated the left bar to the left. Didn't float the main, middle content and i floated the right bar to the right. Everything looks perfect eeh? well, not really!. Its coll if the browser … | |
Re: dont reinvent the wheel there messaging boards already available for download that work, doo all you ask and you dont have to code 1000s of lines for this board runs on one Vbulletin there are literally 1000s | |
Re: [url]http://msdn.microsoft.com/en-us/library/ms143221.aspx[/url] | |
Re: once the id topics are grouped the individual id_msgs may not be available for sort perhaps what you want is [code=mysql]SELECT id_topic, subject FROM smf_messages WHERE id_board=$bolum ORDER BY id_topic, id_msg DESC[/code] | |
Re: access & asp, or php? this is the php forum, here is a php solution to the question asked, no database mentioned in the op, what are you actually looking for [code=php]<?php if($_POST){ echo 'submitted were<br>'; foreach ($_POST as $key => $value) { echo $key." value ".$value.'<br>';} } ?> <form … | |
Re: two ways(of many)[code=html] <form <!--etc-->> <input type='checkbox' name='check0' value='apple'>apple<br> <input type='checkbox' name='check1' value='banana'>banana<br> <input type='checkbox' name='check2' value='orange'>orange<br> <input type='checkbox' name='bannana' value='yes'>banana<br> <input type='checkbox' name='orange' value='yes'>orange<br> <input type='checkbox' name='apple' value='yes'>apple<br> <input type='submit' onclick="return(confirm('sure?'));"> </form>[/code] | |
Re: [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> <head> <script language="javascript" type="text/javascript"> <!-- (document.getElementById) ? dom = true : dom = false; function hideIt() { if (dom) {document.getElementById("layer1").style.visibility='hidden';} if (document.layers) {document.layers["layer1"].visibility='hide';} } //--></script> </head> <body onload='setTimeout("hideIt()",1000);'> <div id="layer1" >this is a div that will show … | |
Re: do it ANother way frameset instead of iframe this is a file 'external.php' that we use to load outside files under a little header that says external file and a menu the file takes a parameter $ext that is the file to load [code=php]<?php ob_start('ob_gzhandler'); ?> <!DOCTYPE HTML PUBLIC '-//W3C//DTD … | |
Re: the database is meant to be machine readable human readable data constructs just *expletive deleted* the data time is not a character string time is, int, numeric result from the time functions (seconds from 0.00 1 jan 1970). sql (php asp perl flex) time functions convert human readable day month … | |
Re: A good place to start is the government bureau of statistics, whatever they may be called in the region of interest, the information requested is often available for access. premade to the date of the last census, on cdrom or downloadable | |
Re: [code=php]<?php if($_POST){ echo 'submitted were<br>'; foreach ($_POST as $key => $value) { echo $key." value ".$value.'<br>';} } ?> <form action='<?php echo $_SERVER['php_self']; ?>' method='post'> choice 1<select name='1'> <option value='big'> big</option> <option value='blue'> blue</option> <option value='marble'> marble</option> </select> choice 2<select name='2'> <option value='big'> big</option> <option value='blue'> blue</option> <option value='marble'> marble</option> … | |
Re: "How to get exxed from search engine results" "How to lose customers" "How to avoid repeat visitors" alternate titles to this thread, | |
Re: [icode]<noscript>This page requires javascript</noscript>[/icode] anything between noscript tags is ignored if javascript is active, and the tags are ignored and the contents parsed if javascript is inactive Any contents | |
Re: My circumstance a number of files, changed at midnight then remain the same for 24 hours. first access after midnight script generates the files from database, then they are served from the file system, very basic cache system to reduce database calls. Read files a supplier changes their price lists, … | |
Re: download a copy of vbulletin, coppermine, et al and you can read the source of those pages and implement your own | |
Re: output into a table, and the width will adjust to the widest name, or set the td widths tables are still useful for tabular data | |
Re: [QUOTE=rouse;819387]How is a 3 digit HEX number interpreted as a color value in this example? background: #fff Do browsers double up each digit? Thanks! WBR[/QUOTE] [url]http://www.december.com/html/spec/color3hex4.html[/url] | |
Re: Before you even attempt to alter anything read the terms of service, it would be really pisspoor to be bounced for something as trivial as this, can you just walk to an active host during the time its needed | |
Re: [QUOTE=veledrom;818988]Hi, [code]INSERT INTO money (salary) VALUES ('100,000,000.00')[/code] 100,000,000.00 is stored as 100.00 in decimal (14,2). I don't know what is wrong? Thanks[/QUOTE] do not punctuate numbers in input data mysql suypports multiple data schema, language-specific and region specific in many supported schema the comma is a decimal separator, the number … | |
Re: copy and paste the error message 'something like' only tells 'almost how' to fix it |
The End.