Search:
Type: Posts; User: PBertie
Search:
Search took 0.04 seconds.
-
Have you tried outputting $("#category p") using console.log() to see if html is the attribute you need? I don't know if that's specific to jQuery but isn't it normally innerHTML?
Depending what...
-
Sorry for a late reply but if anyone else is having trouble like this the problem seems to be with the message content. It could be lots of things so without seeing what the message is I couldn't...
-
Thanks for the comments, I think its pretty safe to say we'll be taking the Dojo route. Thats not to say its the answer for everyone but for our requirements and future plans the boxes get bigger...
-
The application this is for will be over SSL so I was thinking js files served over https weren't cached but been looking into that and if you send the right cache control headers it will be (and the...
-
Looking at the file sizes I've run a few tests and they more or less come out the same. The problem is that for Dojo the "UI" part doesn't come as a bulk module. Depending on what type of UI controls...
-
The issue is that the documentation is from different sources and varries in quality, how much of an issue this is I'm not sure. I agree with you on the syntax of jQuery though.
I wasn't saying...
-
I know the answer is different depending on the project but I'm trying to find out the differences between these two JavaScript frameworks.
I've only just started to look at them but from what I...
-
Yea you would send the EHLO command and if the response doesn't start with 250 you'll then need to use HELO.
-
Its would be the mailserver software running on mail.mydomian.com and its setup. If your confident this wouldn't be changing then yea you can just test and see what works. I can't remember staight...
-
Crawlers work by analysing the page for links and adding them to its list of pages to visit. You can specify noindex/nofollow as instructions to crawlers (e.g. robots.txt) but you can't rely on them...
-
Also if for some reason you needed it publicly accessing, for example if passing a particular parameter in showed debug info, then just giving it a random name would be fine. If no pages link to it...
-
I've actually just noticed the code I posted for the CronJob relies on a slightly newer version of the function, mainly that it passes in a flag which switches the MIME type between Plain or HTML....
-
Behind the scenes they’ll do more or less the same thing but the libraries will be able to cope with different situations this code wont. To use something like this is a lot better if you want to...
-
Depends on the usage, if you want you can just ignore it and only check the SUCCESS element to check it worked. In debug mode I would check if it was successful and if not print the array to the...
-
I personally would have stored the dates as datetime fields rather than int but you could also use the php mktime() function.
$query .= "WHERE `date` BETWEEN ". mktime(0,0,0,8,21,2011) ." AND "....
-
Showed 1 (true) and updated the file twice or just once? If twice then it suggests the url was not correct the other times.
-
What happening with this code?
Id expect it will either output true and write to the file twice or false and not write only once.
If you get false there is something wrong with the input string....
-
How about:
<?php
$s = 'Vital';
$shout_file = $s.'.php';
file_put_contents($shout_file, $chat_line, FILE_APPEND);
?>
If that works then I'm thinking your input isn't strictly "Vital". Try...
-
Try:
<?php
$s = $_GET['s'];
$shout_file = $s.'.php';
file_put_contents($shout_file, $chat_line, FILE_APPEND);
?>
There wasn't a ; on the end of the line too but I'm guessing that was a typo...
-
Yea that GeSHi is really good, had to change the PHP syntax file a bit but not much. They had the <?php tag grouped with Function & Global, but ?> was in with symbols :confused: So I put the <?php in...
-
Thanks,
I had found an example that was pretty buggy and was working through it to do something similar. The idea was pretty simple behind it, parsed the code in blocks. So for html you would treat...
-
I've been looking at ways to highlight code on my website. I've sorted the php using the built in highlight_string() function.
Now I'm looking to do HTML, CSS & JavaScript. I looked at the PEAR...
-
Cheers thats sorted it. I did see a post mentioning something similar about using the onmousedown event but didn't try it. Bit weird how the focus doesn't matter when there's at least one character...
-
Hi,
I've done the following code to place formatting tags around code in a textarea. It works perfect in Firefox but in IE it only works if some text is selected.
How do I get the positon of the...
-
Interesting read, found myself nearly half way down the examples.
That Sitepoint looks good, unfortunetly W3Schools has such good search engine ratings its too easy to get straight to the page you...
-
Just as a side note, you cant use target="_blank" in XHTML Strict (Well you can but its not valid). The target attribute is still in the DOM so you have to set the value using javascript.
-
Am I write assuming you want something like this:
<?php
abc1(false);
echo "HELLO";
abc1(true);
echo "WORLD";
function abc1($doIt)
-
The RegEx that I use is below, it copes with most common email addresses and pretty safe for all personal addresses. It allows all domains which are 2 characters then another 2 characters, but for...
-
It looks like the problem is that your facebook app is the page:
<FRAMESET rows="24%, 80%" frameborder="0">
<FRAME name="f_top" src="top.php">
<FRAME name="f_bottom"...
-
-
The two red text need to be changed to match your site as you know. The Green text I've changed the values to false as status means it tries to check the users access straight away but you are only...
-
Channel.html should only contain 1 line:
<script src="http://connect.facebook.net/en_US/all.js"></script>
To add a timer that resises the window after 100ms and then does it again after 1 second...
-
Use @fsockopen, it will suppress the error and then your already evaluating $open so change return false; for your error message.
-
Did you replace "YOUR APP ID" with your App ID? Also the "http://WWW.MYDOMAIN.COM/channel.html" should be a html file on your website that includes the follwoing code:
<script...
-
Sorry my mistake. Out of interest what sort of situations do you use your calendar in?
-
Haven't used my site for a while but just uploaded this example to it: http://www.etaxibooker.co.uk/CalendarDemo.htm
-
Are you using the javascript SDK? If so check out the very bottom of this page:
https://developers.facebook.com/docs/reference/javascript/
Use the FB.Canvas.setSize if you know what size you need....
-
I think your xml file should be structured with description, weight, class, rate and charges as children of the typeCharge, like:
<typeCharge name="FS">
<description>LTL FUEL SURCHARGE OF...
-
I've uploaded a zip with all the files needed (.js, .css and .png's) also there is a html file which demonstrates it. Should give you a good start.
The html file should explain its self quite well...
-
What do you have so far?
I did one that uses a div positioned absolutley then I rewrite the days in a table each time you move through the months, screen shot included:
|
Click Here to Expand Forum to Full Width
|