Add a Skype call link in HTML

Standard

We can use <a href=”skype:theacidfrog”>Call the acid frog Web Design Leeds on Skype</a> to create a link to Skype. In order for this link to work correctly the user must have Skype installed on their machine.

Examples

Call a skype user

1
<a href="skype:theacidfrog?call">call theacidfrog with Skype</a>
<a href="skype:theacidfrog?call">call theacidfrog with Skype</a>

Send an Skype IM message to a Skype user

1
<a href="skype:theacidfrog?chat">Chat with theacidfrog</a>
<a href="skype:theacidfrog?chat">Chat with theacidfrog</a>

Send a voicemail to a Skype user

1
<a href="skype:theacidfrog?voicemail">Send voicemail to theacidfrog</a>
<a href="skype:theacidfrog?voicemail">Send voicemail to theacidfrog</a>

Create a Skype conference call with multiple users

1
<a href="skype:theacidfrog;anothercontact?call">conference call with theacidfrog and anothercontact</a>
<a href="skype:theacidfrog;anothercontact?call">conference call with theacidfrog and anothercontact</a>

Create a conference chat with multiple users

1
<a href="skype:theacidfrog;anothercontact?call">conference call with theacidfrog and anothercontact</a>
<a href="skype:theacidfrog;anothercontact?call">conference call with theacidfrog and anothercontact</a>

Search Enginge Optimisation and Copywriting in Leeds

Standard

What is Search Engine Optimisation?

Search Engine Optimisation (SEO) is to increase the ranking of websites in search engines. We incorporate a range of elements to promote your business on the web. We will adjust elements of your website to ensure the site foundation is search engine friendly.

Search engines are constantly changing their criteria to improve the accuracy of their searches. This means we have to keep working hard to maintain high positions for your website. To maintain a high ranking, we monitor search engine activity, perform ongoing tests and trial new techniques constantly.

SEO Copywriting

Once you’ve got your shiny new website, you need to populate it with engaging and effective content in order to capture your audience and generate sales. Our professional copywriting services will ensure that your website is delivering the right message to your visitors, helping them to understand your offering, the benefits of using your company and anticipating the questions that they’re most likely to ask.

Copywriting Pricing

Each copywriting project is quoted for individually, in order to represent best value and respond to each client’s specific needs.

We offer a wide range of copywriting services, so that you can pick and choose the elements you require according to the level of service you’re looking for. We can provide the following copywriting and SEO content services:

  • Website copywriting
  • SEO copywriting
  • Editing existing content
  • SEO copywriting for existing content

We can also proofread any content that you want to use, just to give it that final polish. Whatever your SEO or copywriting requirements, our professional copywriter and SEO expert is on hand to help.

Copywriting services your way

Whether you want a complete SEO and copywriting service, or would rather create your own content and then pass it to us to tweak, it’s entirely up to you. Our priority is to give you a website that you can be proud of, however you want it – so why not contact us now to find out more about our SEO copywriting solutions.

Web & Application Development in Leeds

Standard

Mobile Applications

We produce multiplatform apps – for iPhone, iPad, Android and Blackberry, at a highly competitive pricing structure. Our application prices start from only £995. Find out more.

Our Web Development Team

Our web development team has many web development skills covering:

  • ASP.NET Development
  • .NET WPF + Silverlight Development, WCF (Windows Communication Foundation)
  • Sharepoint, BizTalk Development
  • SQL Server, MySql, MS Access
  • Java EE Development
  • PHP Scripting
  • jQuery JavaScript
  • BlackBerry Applications
  • Android Applications
  • iPhone, Mac & iPad Application’s
  • C / C++ Programming
  • CMS (Content Management Systems including Drupal, WordPress, Joomla and many more…)
  • HTML 5 Design & Development
  • API’s, Parsing XML (Application Programming Interface’s)
  • Facebook Application’s
  • FBML (Facebook Markup Language)
  • Payment Gateways – PayPal, WorldPay, Barclays EPQD etc.

Contact us on 0113 287 1781 for more information on Web & Application Development.

jQuery sortable images – PHP display images in correct order

Standard

By using jQuery, PHP and MySQL you can create a clever an image sort script to allow users to choose the order of images in their advert for example.

Once you have your jQuery Sortable plug-in installed (available here: http://jqueryui.com/demos/sortable/) and it is successfully posting the image order to MySQL you can load that order and display the images in that order.

Step 1

First of all you need to find all images that match the id of the record you are currently looking at e.g. example.com/advert.php?cid=17 and call this ‘a’.

1
2
3
4
5
6
7
8
9
10
11
// Find all images relating to this item
$querya = "SELECT * FROM images WHERE cid ='$cid'";
$resulta = mysql_query($querya) or die(mysql_error());
 
$a = array(); // Define an Array
$i=0; // Start the image count at 0 so the first result equals 1
 
while($rowa=mysql_fetch_array($resulta)){ 
    $keya=$i++;
    $a[$keya] = $rowa['imgdata'];
}
// Find all images relating to this item
$querya = "SELECT * FROM images WHERE cid ='$cid'";
$resulta = mysql_query($querya) or die(mysql_error());

$a = array(); // Define an Array
$i=0; // Start the image count at 0 so the first result equals 1

while($rowa=mysql_fetch_array($resulta)){ 
    $keya=$i++;
    $a[$keya] = $rowa['imgdata'];
}

This will produce an array of image file names stored in the MySQL table with a corresponding number starting with 1.

Step 2

Next we need to find the image order for the current id of the record we are looking at. The image order should be saved in the MySQL table a comma separate list e.g. 3,1,4,2,5 so we must also explode this list too and call it ‘b’.

1
2
3
4
5
6
7
8
9
// Find order of images relating to this item
$queryb = "SELECT * FROM images_order WHERE cid = $cid";
$resultb = mysql_query($queryb) or die(mysql_error());
 
while($rowb = mysql_fetch_array($resultb)){
    $b = $rowb['order'];
}
 
$b = explode(',', $b);
// Find order of images relating to this item
$queryb = "SELECT * FROM images_order WHERE cid = $cid";
$resultb = mysql_query($queryb) or die(mysql_error());

while($rowb = mysql_fetch_array($resultb)){
	$b = $rowb['order'];
}

$b = explode(',', $b);

Step 3

Next we need to match the order of the images to the actual images for this item. So we first define a new array called ‘c’. Then we link the image order ‘b’ with the list of images in ‘a’. This will then display the images ‘a’ in the order specified in ‘b’.

1
2
3
4
5
6
// Match order of images to the actual images for this item
$c = array(); // Define an Array
 
foreach($b as $index) {
    $c[$index] = $a[$index];
}
// Match order of images to the actual images for this item
$c = array(); // Define an Array

foreach($b as $index) {
    $c[$index] = $a[$index];
}

Step 4

Now we have the images in the correct order ‘c’. We now need to display this to the user.

1
2
3
4
5
6
7
8
9
echo("<ul>");
 
foreach($b as $index) {
 
    echo("<li><img src='image-uploads/$a[$index]' /></li>");
 
}
 
echo("</ul>");
echo("<ul>");

foreach($b as $index) {

    echo("<li><img src='image-uploads/$a[$index]' /></li>");

}

echo("</ul>");

This will then display the images on the page in the correct order in a <ul> list.

If you have any questions about this script then please feel free to comment below.