Dec 5, 2020

好好纪念一下今天 - sports-wear.com.my

 今天是值得纪念的!!

因为我终于把最新的boostrap 网站呈现给顾客了。。。

旧的设计


新的设计

还有就是可以大大声和google 老大讲。。 
我已经是mobile friendly 啦!!





May 23, 2020

Integrate Paypal button with custom value

Successfully integrate with Paypal button with pass over different amount based on the selection.




paypal.Buttons({
createOrder: function(data, actions) {
// This function sets up the details of the transaction, including the amount and line item details.
mySelectedVal = document.getElementById("abc");
return actions.order.create({
purchase_units: [{
amount: {
value: mySelectedVal.options[mySelectedVal.selectedIndex].value
}
}]
});
},
onApprove: function(data, actions) {
// This function captures the funds from the transaction.
return actions.order.capture().then(function(details) {
// This function shows a transaction success message to your buyer.
alert('Transaction completed by ' + details.payer.name.given_name);
});
}
}).render('#paypal-button-container');
//This function displays Smart Payment Buttons on your web page.

Mar 31, 2020

香脆家乡韭菜虾饼食谱

香脆家乡韭菜虾饼食谱:
材料(A):
软壳小中虾
韭菜 1颗,切颗粒
洋葱 1大粒,切丁
芹菜叶 1颗,剁碎
红萝卜 半条,切丝
材料(B):
粘米粉 2大汤匙(让虾饼脆的)
面粉 3大汤匙
水大概半碗
胡椒粉 少许
盐 小半汤匙 (自己试味道)
做法:
1。材料(B)是面糊,所有材料(B)搅拌均匀。
2。将材料(A)放入面糊内(B)
3。用汤匙一汤匙一汤匙的慢慢放入韭菜面糊进入油锅内炸至金黄就可以了

Mar 28, 2020

Website Upload Photo progressing

I need to improve website's coding and website's UI; so that my website will NOT out of date.  From normal coding, until JQuery, until booststrap;   I need to keep on improve it. 

Example, upload photo progress update. 

At first, the UI as below diagram.  Very old fashion design. 


Then I improve it to this (below diagram).

Found out some issue on the second upload photo design.  Every time I need to upload all the photo again.  OR I can't just upload the specify number of photo which I want.  Example, In order to change third photo, then I need to upload all THREE photo again. 

In order to solve that, then I come out this. 


So that I can delete OR change which specify number of  photo I want. 

Mar 22, 2020

封城下的故事


韵律操老师在whatsapp群里, 叫学生们做一些有意义的事。  就比如,体操练习, 画画。。。

女儿知道后, 就马上着手画了这幅画。 文字是以彩虹的颜色排序而成,红橙黄绿蓝靛紫。

在基督里, 彩虹有着另外一个深沉的意义。

創9:11-13 「我與你們立約,凡有血肉的,不再被洪水滅絕,也不再有洪水毀壞地了。」神說:「我與你們並你們這裡的各樣活物所立的永約是有記號的。我把虹放在雲彩中,這就可作我與地立約的記號了。」


当大家都在担心 COVID-19 病毒的侵略的时候, 这个信息带给了我们, 神和我们有约。我们尽管放心, 把一切交付于。 

Jan 15, 2020

最后的晚餐



俗语说:
上帝每关上一扇门,就会打开一扇窗。

As what boss said, "The very, very, very last WNS MY dinner".

See you all soon!!!