My new thoughts about jQuery in Magento
Today, I have two new thoughts about jQuery in Magento. Firstly, I will stop using a jQuery plugin called jQuery corner. It is a great plugin though. The reason of withdraw is jQuery corner plugin...
View ArticleLack of jQuery menu UI
I started coding for jqol – thoughts from last week. But I ran into some dilemma. A very important UI of an eshop is the menu. However, I do not have a mature jQuery UI menu (jQuery menu) widget to...
View ArticleFeed ThemeRoller with current theme parameters
If you are working on jQuery UI site to roll your own theme, you can always load your theme parameters by copying and pasting a long string into address bar, such as:...
View ArticleLearned something basic
今天又长知识了。 首先,最简单的,更正了长久以来的想当然,php 下 explode(‘,’, ”) != array(),而是得到长度为 1 的数组,key 是数值 0,value 是空字符串。天哪,我有多少个程序是基于 explode(‘,’, ”) == array() 写下去的,这下影响大了,得好好查一查。 其次,发现一个不晓得是 sshfs 的 bug 还是 gedit 的...
View ArticlejQuery dialog widget moves dialog DOM to the very end of body
我在 checkout page 上使用 jQuery dialog widget 来显示 terms and conditions。Terms and conditions 的内容不随 checkout 页面加载(因为大部分顾客不会去读它),而在首次点击 Read terms and conditions 链接后以 ajax 获取内容后用 jQuery dialog 展示。再次点击则不必再用...
View ArticleMagento datetime picker is not picking up time value
Magento 用了 dynarch.com 的 calendar 1.0 javascript,有个 bug:无法得到 time 的值。 dynarch.com calendar 已经是 2.0 了,单独使用的话,能显示和修改 time 的值。 我暂时没想好该怎么办:我倾向于用 jQuery 去增强 Magento(prototype 我也用不好,其他的就更不要说了),但 jQuery...
View ArticleActivate Magento ajax loading graphic using jQuery
I extend Magento js using jQuery. I need ajax loading mask and grahpic for jQuery ajax request. I want to achieve consistent look and feel. I want to activate Magento ajax loading graphic initially...
View ArticleReinstate thumbnails in jQuery UI theme switcher
You might have noticed, some tools from jQuery are not fully functional recently. That could be caused by jQuery disabling hotlinks. jQuery UI theme switcher is affected. I call it a bug because jQuery...
View ArticleUsing Nivo Slider with Prototype
我想要一个 jQuery slider plugin 用在 Magento 上。jQuery slider 类不乏优秀的程序。我不及精挑细选,用了 Nivo Slider。 虽然 slider 能运行,但 FireBug 停止响应。查错发现 too much recursion occured in prototype.js 1132 行。自然想到了 jQuery 和 Prototype 的...
View Article