iWeb Conflict with Jquery - Solution

Tagged:  

Jquery is probably the easiest way to add fancy javascript functions to your website. Also, iWeb is also the fanciest tool to build your web in Mac.

It's a good idea to use both in your web development. However, they are not compatible by default, since the iWeb output source code contains many javascript files that might conflict with the jquery syntax.

However, jquery has provided a solution to solve the conflict between Jquery and other javascript library.

You can simply add
jQuery.noConflict();
and the conflict is solved and you can successfully use the jquery functions in iWeb output source code.

Further details can be found in the following link:
Using jQuery with Other Libraries

FileMerge - Merge your Files in Mac

Tagged:  

Have you ever tried to copy some files from one folder to another folder with the same name but without overwriting the original folder's content? It's quite common for developer, like you need to add a series of files to your original folder. I encounter this situation in my Drupal development when I want to add a language to my site.

And I found that it is impossible to directly drag the new folders into the old one, this will replace all the old content. In my situation, i need to add extra translation folders in each modules.

And Mac OS come with a good tool for merging the folders into one. It's called FileMerge. It come along with the developer tool, if you can't find this in your machine, you probably need to install the developer tools from the Disc or download it from apple developer page.

Using FileMerge is easy,
1. Open the Software
2. Select the folders to be merged as left and right
3. Click Compare

Capture Me - Software to Capture Screen Video and Image

Free software to screen capture in MAC, not only static image, but also video. Good for making tutorial for your website or any other usages.

But the video is limited to 60 seconds only. Though the limit, it is still a good free software to do so.

Website for DIY Tote Bags

Tagged:  

This web allow users to upload their designs and share them to public. If designs were being purchased by anyone from the web, profit can be shared.

This is a beta version, and purchase can only be made in Hong Kong.

It is a good way to design a unique Tote Bag for yourself, a special gift, your classmates or your company.

Strange Behaviour for Microsoft Messenger for Mac

Tagged:  

Using D-Link DWA-140 USB Network Adapter in Mac OS

Tagged:  

Recently, my built-in airport in my macbook (about 3 years old) is not working well, the signal received is low. Probably due to it's age. So I bought a D-link Wireless Adapter for my network access.

However, making the adapter works in my mac is not as easy as in the windows environment. But don't worry, it's not that difficult to make it works. With the help of the Google, I found that there is a manufacturer worked an interface and driver for connecting the wireless in Mac Environment. Here is the link to the manufacturer. http://www.ralinktech.com/ralink/Home/Support/Macintosh.html
Download the USB (RT2870/RT2779/RT307X) if you are also using D-link DWA-140, (dont know if the others work, but worth trying). Install the pkg after you download and extract.

Retrieve IP Location Free with 3rd Party Service

Have you ever think of getting your websites users' location? You may want to show different languages for different locations users, or you may want to block some functions to the specify location.

This web provide a 3rd party service, which means you don't have to host any database related to the ip -> location, this website do all the conversion job for you.

You can simply follow the API provided and follow the instruction, the location of the users ip would be easily obtained.

Beware of the query limit, however, it is hardly used up the limit, unless you made 3 queries per second

Jquery File Type Input .change() Behaviour

Tagged:  

Jquery .change() function is commonly used in detecting the event on any change of the input. However, when you are handling the file type input, the .change() may not work as you expected.


$("input[name=fileTypeInput]").change(function(){  
        //do something
 });

In the above code, the file type input is work for the first time only (from blank to first selection of file), if you further change your input by selecting other files, it just wont work. This is probably due to jquery treat the file type input differently with the normal text input or other reason that I dont know.

To make the .change() works as you expected, everytime you choose the file, then do somethings. I will make use of the first time behaviour. Here is the solution,
1. Enclose the input with a div with an ID
2. Every time you change the file type input (choose the file), empty the div and fill with a new file input with the same name.

Gmail Bcc Contact Not Hidden From Drupal_mail or PHP Mail

Tagged:  

Recently, i sent out a mass email to users using drupal mail function, more concisely, using the mass_contact module in the drupal, and found out that the Bcc contacts were not hidden in Gmail and live mail. But the yahoo mail and other mail client software (mac Mail App) work fine with the bcc field hidden for the same mail generated.

The problem is only stick to php generated mails, for the mails sent from my mac Mail Application, the bcc works fine.

The problem is frustrating and I received complains from users about leaking their email address.

Here is the screen-cap from gmail,

Is there any solution for this situation?

Sony Ericsson G705 Using Wifi in the Applications (gmail, MSN.....)

Tagged:  

This is my first SE mobile and i am not quite familiar with the interface, I spent about 1 day to figure out how to use the wifi in the application.

"Currently Unavailable" - in the Internet Settings of the Application
Thanks to the friendly interface, it's not difficult to setup your wifi network, it's straight forward. So you shouldn't be having problem with joining your wifi network. However, once you connected to your wifi network, you should be able to use the wifi signal to browse the internet and get the internet data in your application (like the gmail, MSN, google map, etc.).
Browsing the internet is fine, but the second part seems not so easy. If the application you are using need to use data connection, it will prompt you to the internet settings (you can also set this in Menu -> Settings -> Connectivity tab -> Internet Settings), and it has two options, 1 Connect Using: and 2. Allow local conn.

Syndicate content