Worked perfectly! Thanks a ton!
Type: Posts; User: M2com; Keyword(s):
Worked perfectly! Thanks a ton!
Hi!
I've been racking my brain to find a way to do this but with no luck.
I have a string that contains items with corresponding percentages:
$string="item1.20|item2.60|item3.20";
I need...
Hi!
On my page, a user will click on an image which sends data to an ajax script which in turn sends a variable to a PHP script on another page. Ajax gets the response and replaces a DIV's...
Hi,
I've searching for quite a while and all the search results are not very helpful and anything that seems remotely helpful (node.js) doesn't work. I am looking for a simple JS script that will...
I'm wondering how to do that. Like could you give me a code snippet to put html/javascript/etc code onto a page without clearing the whole page.
I'm trying to create a javascript script that will will insert links and other javascript scripts into the page without overwriting the page. The main script will be in a bookmarlet (a bookmark with...
Worked like a charm! Thanks very much for the snippet and full explanation, very helpful!
Thanks for the reply, the second line in your code looks about what I want.
#word -> <a href='website.com/page.php?h=$word'>#word</a>
I want to create a script that will read a string and whenever the hashtag symbol (#) appears, it replaces it with a link. How could I do this?
I've only found scripts that just replace the # and...
Thanks for the reply!
I mean if it was changed at any time, past year or the past couple seconds. The folder that is filled with text files Is located in the same directory that this script I'm...
I would like to know how/where to start to get an a ajax or JavaScript script to check if a folder filled with text files was changed and then display them according to a php File. Let me know what I...
Never mind I got it to work! Thank you so much!
Thanks!
So here's my code, but it's not working. I'm pretty sure I'm missing something but I don't know what.
Where do I put the first.js or is there something that needs to be combined? I'm...
Thanks for the quick reply!
So let me get this straight, the client would place this: document.write('<script type="text/javascript" src="http://www.yourdomain.com/script.php?url=' +...
Yeah, I got the share part but will this code also allow me to display the number of shares? Everything is in a frame so it can connect to my website. My script will get the page URL and find the...
Thank you!
Yes but is there a way for the button to find the URL of the Iframe holder that's not on the same domain or in a text file?
Thanks again!
I'm creating a share button for my own little social network. This button can be placed anywhere without having people type a URL into a button creator. They just simply put the code on their page...
I need a script will reload the page every 10 minutes unless the user is typing. This also means even though the javascript function is in the middle of counting down, the script will restart the...
Thanks for your help! Some data from a few of the files: 0,1,2,3 (that's basically what the files will look like they're text files by the way). Sorting:
The data will be sorted by greatest to...
Okay thanks very much! Now I just ventured into the cmp thing:
<?php
function cmp($array, $b)
{
if ($array == $b) {
return 0;
}
return ($array < $b) ? -1 : 1;
}
Thanks! I got the opening up the directory and everything but the array and sorting part is what I'm having a problem with, I really don't know how to that. If you could help set me straight that...
I've been working on this for a while but I can't wrap my head around doing this and making it work! I'm trying to get PHP to all the text files in a directory and based on the contents it would sort...
The Cron Job seems to be too messy for me unless you know a simpler way to do it. I thought I heard that you could do that using the userabort. Thanks!
I am trying to create a script that will keep checking the time and if it's the desired time lets say 17:01 o'clock, it will commit the action. Once it's not that time, the scripts stop and goes back...
Yes it is like a pie chart but only square and I only need it to be over an image so it might use CSS for the opacity part. But besides that all I need is a square pie chart. If you want an image...