2,295 Posted Topics
Re: this non-link(copy n paste with appropriate editing of the yoursite string) may assist in developing for mobile without paying data charges on the mobile [noparse]http://demo.opera-mini.net/demo.html?www.yoursite.com[/noparse] there are any number of user-agent detector scripts that can be used to redirect to a subdomain for mobile browsers, iconized images to display on … | |
Re: what graphics said, in the code of your OP, you can see the color changes in the text, perchance consider a code highlighting editor, notepad++ notepad2 or similar that offer code hints when some goes wrong | |
Re: [icode]background-position:center;[/icode] is irrelevant when the image is set to repeat in both directions which is not going to solve the problem, but makes the code prettier If you are using a footer 200px as a height is wrong, text size on different monitors etc, better is to set the top … | |
Re: Follow the logic(? or not) of the OP[INDENT][LIST][*]Only accept links from sites higher than yours[*] do not link to sites lower than yours[/LIST]If the premise were valid Nobody that you want a link from would link to you Nobody that wants to link to you would be accepted by you.[/INDENT] … | |
Re: px are a poor choice, the menu will work on Your pcs, but not on anyone elses with a different screen resolution window size basefont 0(zero) is dimensionless and will cause compliant browsers to throw the css definition away if it represented as 0px[code=css]#menu ul { margin:0 0 0 10px; … | |
Re: to Ardav yeah, ::- in as much as the google maps page is usually accessed from a html form, and the most reasonable cause is the OP has leftout or misspelled a required hidden input field its about as much html as anything else, ) To the OP post your … | |
Re: line numbers in executing php scripts are not the same as line numbers in the source. executing scripts that contain any include(); statements, the included file's line count is counted in the executing file check line counts in includes and the missing brace will likely be that many lines before … | |
Re: stop using pixels | |
Re: have you considered hotscripts phpscripts sourceforge to download prewritten user access control scripts if you do not use them in their premade form, as a code sample will provide valuable, easily developed insight into how the problem of redirectiog users based on stored information can be approached possible examples in … | |
Re: the school board own the database of their schools and have designed it with a geocaching system, google maps has similar functionality RTFM | |
Re: each table has a reference that links to other tables the user table has a sequential id, not nul the language table has its own sequential id not nul and a column that links to the id of the user table user id,name,address,town,state 000, fred, 123 four street, five town, … ![]() | |
Re: [code=css]body {background:pink; width:100%; } .content { background:green; width:80%; margin-left:10%; }[/code] table 21 lines, css 2 lines If I understand the question, | |
It hasnt taken much to push me over the edge today first time posters who ask for the world without any effort at all have decided to push my buttons its not my bad temper of course [noparse]http://lmgtfy.com/?q=and+do+you+want+me+to+wipe+your+***+for+you+as+well[/noparse] | |
Re: sql/mysql/mssql/postgresql now() php date() functions already exist text format dates are stupid | |
Re: from memory only repeat-x repeat-y no-repeat are neccessary. repeat does not exist default(blank) is repeat both : repeat keyword is for javascript footer 100% not 1020px width, so it fills the screen at all resolutions, fixed width = horizontal scroll bars or empty space consider font sizes in em, px … | |
Re: [url=http://lmgtfy.com/?q=link+to+external+css+file+in+asp.net]how lazy are you[/url] | |
Re: [I]for each[/I] through the $_POST $_GET $_REQUEST arrays (however the form is sent) the form will have valid name=>value pairs in its submitted data, that will match rows in the database, regardless of how they are generated [code=php]<?php echo "<tr><td>".$id."</td><td>".$type."</td> <td>".$item."</td><td>".$description."</td> <td>".$price."</td> <td><input type=checkbox name=".$id." value='serving'></td></tr>"; /* when processing form … | |
Re: [url]http://www.daniweb.com/forums/faq.php?faq=daniweb_policies[/url] | |
Re: [code=html]<head><script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script></head> <a href="skype:skype_username?call" onclick="return skypeCheck();"> Call me on Skype </a>[/code]page 9999999 on the howtos, no-one is ever likely to find it, it was linked as "how to offer skype me calls from my website" but no longer is | |
Re: [url=http://lmgtfy.com/?q=php+database+for+dummies] google [/url] it is said there are no stupid questions don't have to try this hard to prove em wrong ![]() | |
Re: [QUOTE=pritaeas;1284721]Just so you know, this is not true. On apache you can use any extension you want and treat it as a php file.[/QUOTE]Just so you know, this is often [U]functionally[/U] true. apache server is configurable, however, many servers, particularly low end hosting packs, are locked down /* addhandler server-parsed … | |
Re: Your post is very unclear you cant change the source of an image after page load in php the image will only be different each page load, will not cycle through images while the page is open What do you want to accomplish | |
Re: [code=html]<script type="text/javascript"> <!--// function shrink(){ document.getElementById("MediaPlayer1").style.width=384; document.getElementById("MediaPlayer1").style.height=300; } function enLarge(){ document.getElementById("MediaPlayer1").style.width=480; document.getElementById("MediaPlayer1").style.height=402; } //--> </script> <button onclick="enLarge()">large</button> <button onclick="shrink()">small</button> <a href="http://www.microsoft.com/windows/windowsmedia/player/download/"><img alt="Get Windows Media Player" src="http://www.microsoft.com/windows/windowsmedia/images/logos/getwm/mp11_88x31_static.gif" width="88" height="31" border="0"></A><br> <object id="MediaPlayer1" width=384 height=300 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject"> <param name="fileName" value="your FILE"><!-- FULL PATH TO YOUR … | |
Re: likely not a perfect solution, ruminate while we illuminate, the possibilities styles belong in the stylesheet so[code=html]<ul> <li id='menu1')>Menu1</ul> <li id='menu2')>Menu2</ul> <li id='menu3')>Menu3</ul> </ul>[/code]which Could be css-ed[code=css]li#menu1 { height:/*height of image*/; width:/* width of image*/;background-image:url('menu1.png');color:black } li#menu2 { height:/*height of image*/; width:/* width of image*/;background-image:url('menu2.png');color:black } li#menu3 { height:/*height of … | |
Re: pixels for font sizes ?? welcome to the 80s each generation of monitor, pixels get smaller, 17inch monitors [U]were[/U] 800 600px, 17inch monitors [U]are[/U] 1900 1420 12px fonts are 3x smaller, approaching too small to be readable. W3C reccommendations are, and have been for years, ems % for layout, px … | |
Re: set the z-index of the footer div to a higher value and it will slide over the top of other content on resize, and the other content will slide under it on navgation, something like[code=html]<style type='text/css'> .footer { bottom:0; top:auto; width:100%; z-index:10; background:grey; position:fixed; } ul { margin: 0; padding: … | |
Re: remove the dot underscore, and read the acceptible charset notes | |
Re: look at the documentation for .htaccess mod_rewrite for your apache server it is easy in .htaccess to change the displayed url of [icode] /mysite.com/profile.php?user=XXX[/icode] to [icode] /mysite/profiles/XXX.html [/icode] (or anything else) everyony can see /profiles/ben.html but session/login set that only someone properly logging in as Ben can [U]modify[/U] /profiles/ben.html there … | |
Re: [url=http://lmgtfy.com/?q=how+do+search+engines+work]search[/url] [url=http://lmgtfy.com/?q=how+do+php+includes+work]search[/url] [url=http://lmgtfy.com/?q=how+to+get+a+file+that+contain+pictures+like+headers+that+contain+pictures+and+javascript+to+my+php+page]search[/url] [url=http://lmgtfy.com/?q=Do+you+want+me+to+wipe+your+arse+for+you+as+well]search[/url] | |
Re: [url=http://lmgtfy.com/?q=four+state+image+button+scripts+with+sound]let me google that for you[/url] Sounds in web pages are annoying, sounds on buttons provide feedback | |
Re: [code=php]<?php if(isset($_POST['field1')){ if(isset($_POST['field2'])) { /* validate field values if values acceptible connect to database update database set disabled flag ($disabled = true ) to prevent resubmission */ } } ?> <form action='<?php echo $_server['PHP_SELF']; ?>' method='post'> <input type='text' name='field1' value='<?php if(isset($_POST['field1'] {echo $_POST['field1'];} ?>' /><br /> <input type='text' name='field2' value='<?php … | |
Re: swf is not java swf is not javascript java is not javascript swf is ShockWave Flash the best place for basic scripts is adobe.com, the maker this Q&D page [url]http://www.w3schools.com/flash/flash_inhtml.asp[/url] will get you running, the .swf is already made, start at number 4 flash does not work if the plugin … | |
Re: [code=css].footer { bottom:0; top:auto; width:100% position:fixed; z-index:10; text-align:center; }[/code]usually works the element given class='footer' sticks in position at the bottom of the page at z-index 10 (above the default 0) other content slides under it as the page moves up or down [code=html]<div class='footer'> [copyright] [contactus] [hi mum] [spaghetti recipes][cat … | |
Re: font selection is css3. CSS3 is not complete and only partially implemented, no browser yet released supports all of css3 and what support there is is buggy as the standard is not complete absolutely pointless to include something that will NOT work in 90%+ browsers, so google have on the … | |
Re: post the actual code, the error message is not sufficient the code shown in the posted message is invalid; the file name is not quoted | |
Re: more patches, compliant(? somewhat less so) browsers [I]spit it[/I] over 0px 0em 0% 0pt 0in 0cm, zero is dimensionless [I]spit it[/I] over calculated absolute positions unless told to calculate need to be told to fill the screen width[code=css]#footer{ position:fixed; bottom:0; top:auto; width:100% z-index:10; } [/code] | |
Re: No, the content of the iframe is generally stolen from an external site so has that site's scripts and css and copyright notice contact the other site owner to request a copy of the content to include in your site with appropriate attribution, or write your own content all site … | |
Re: users may submit without filling in either password input so[code=html]<form id="form1" name="form1" method="post" action="pcq.php" onsubmit='validate();'>[/code] yes you can use a lightbox popup instructions are in the lightbox docs, RTFM | |
Re: [icode] <form action='/login.php' method='post'> [/icode] relative link on your site work? | |
Re: javscript is so [i]passe[/i], so blockable, so insecure -=resides on the user browser [code=css]input.submit {background: bla bla bla; color: bla bla bla; width:bla; height;bla; /* any other css bla bla bla */ } input.submit:hover {background: otherbla bla bla; color: otherbla bla bla; width:bla; height;bla} input.submit:active {background: otherotherbla bla bla; color: … | |
Re: ASP.net is limited in the number of sites it will work on as it is Microsoft - Specific and there are relatively few MS servers, However MS asp.net servers are often large sites and MS products ASP.net needs a [U]lot[/U] of maintainence, and pay very well for that maintainence. getting … | |
Re: useless crap, top of page links do not need javascript, and are a single line of html [code=html]<a name="top"></a><a style="background:transparent; color:#000000; text-align:right; font-size:85%; top:auto; left:auto; bottom:1px; right:1px; position:fixed;" name="gototop" href="#top">↑Top</a>[/code](inline css added for clarity, css belongs in the stylesheet) | |
Re: current best practice for layout dimensioning is ems and %, relative dimensions that auto adjust to window size, screen resolution, and user preference enabling a single site layout to work in everything from a handheld device to a widescreen monitor, and permitting disabilty friendly display. All fixed sizing is outdated | |
Re: ID can only refer to a single element you cant have two elements id='cbmessage' thats why your script is failing you can foreach on getelementbyname | |
Re: further to pwinfrey's reply, answer to the expected follow up question Yes the link [noparse]http://www.mysite.com/mypage.html#top[/noparse] works as expected it moves the page to the anchor defined by [icode]name='top'[/icode] when the page is opened | |
Re: style the buttons you can do anything in css [code=css]input.print {background:src(bla bla bla)}[/code][code=html]<input class='print'>[/code]has the appropriate image, you dont really need the image you can style the button itself, images take size, extra http calls, time |
The End.