Syndicate content

index

Setting up an array of JavaScript functions in jQuery

Today I worked a bit with jQuery to create an advanced form. Advanced just because it is tabbed and appears in a pop-up, nothing too major really. Maybe later I'll add some tests to validate the data being entered before someone can submit the form...

In any event, I ran in a problem which was to create a set of click callback functions (event handlers) and each of which should make use of a different index. So... I have 4 tabs and each one has a number: 1, 2, 3, and 4.

Say I call each one of these numbers #tab1, #tab2, #tab3, and #tab4. Now I want to create a click function on each one ...

Drupal paths that won't work!

As I created a new site to list all of my accounts on the Internet, I thought the folder where those accounts appear should be called profiles. But somehow autopath did not generate the URL Alias as expected.

http://www.alexiswilke.me/profiles/

I tried several times and each time it returned an empty alias. Then I tried adding the alias by hand and that was accepted by Drupal, but when I then tried to go to that page it failed with an Apache error which at first I found odd. Then I recalled that there was a folder named profiles in the top directory of Drupal. The Drupal code (from the

Taxonomy error generated from invalid nodes

Today I ran in an error that looked like this:

Invalid argument supplied for foreach() in <path>/modules/taxonomy/taxonomy.module on line 1214.

The line number may vary depending on the version you are using. At the time, I had Drupal 6.14 and the line number was 1214.

The problem is with a node that has an invalid definition of its taxonomy field. In other words, the $node->taxonomy is not defined. If it were an empty array, the function would not fail.

[toc hidden:1]

IrfanView

I created this page to have a place to save my copy of IrfanView.

I have to say that the author has made his download so complicated (at least last time I tried it was deadly complex!) that I have to just keep my own copy somewhere. Maybe it's illegal, but the software is freeware anyway.

You can find the original (and most certainly more advanced version) on his website: http://www.irfanview.com

There other tools one can use to work on images as follow:

Changing the Width or Height affects the other

Problem

I had a problem with my CuteMenu1 module and tried many times to fix it but just could not find the problem with Internet Explorer.

The fact is that I created dropdowns that are supposed to be full width, but that did not work, somehow.

I wanted each item to have a pre-defined height. So in the style for my DIV I wrote this:

[toc hidden:1]
  • 1. This is a Drupal module. You happen to have Drupal? Download CuteMenu now then!
Syndicate content Syndicate content

     

Terms of Site Index

Find the page/content you are looking for with our index.

  • alternative
  • HTTPS

    Hyper Text Transfer Protocol Secure—The protocol used by browsers to communicate to web servers securely. The security is done with similarly to SSH. The transfer uses FTP like commands, but only one connection. Since HTTP 1.1 it is also possible to reuse the same connection for multiple files (pages, images, videos, etc.)

  • preferences
  • SSL

    Secure Socket Layer, this is a protocol used to transmit secure data between two computers. Both computers will first agree on an encryption secret code, then all the data sent back and forth will be encoded using that code. In order to make it secure, you generate two set of numbers (called keys) one that is public and one that is private. The public key sole purpose is to encrypt the data. The private key sole purpose is to decrypt the data.

  • WYSIWYG

    What You See Is What You Get--editors that are used to create content and are capable of showing you how it will look like in the final document are called WYSIWYG editors.