[成功案例]幻想曲通讯2011年改版VGOOO.COM

2011年3月1日 管理员 没有评论

vgooo幻想曲通讯,广州最大的专业手机导航网站。

幻想曲通讯提供最新手机报价、手机大全,以及最新最热门产品的手机靓图,手机模特,和手机视频,手机论坛!

网站地址:http://www.vgooo.com

[成功案例]爱家网AII.CN

2011年5月14日 管理员 没有评论

爱家网Aii.CN – 用家庭日记、家庭相册、家庭视频记录宝宝成长过程的家庭社会化网络(FNS)平台

爱家网是大型家庭社区网站,让每个家庭都有属于自己的个性家庭网站,10G超大空间上传家庭相册,家庭日记,家庭成员共同维护更新,见证家庭的成长,特别是记录宝宝的整个成长记录过程,在线家庭邻居交流等服务

网站地址:http://www.aii.cn

aii

[解决方案]专业承接广州以及珠三角B2C电子商务网站建设

2011年3月1日 管理员 没有评论

广州萌芽工作室专业承接广州以及珠三角B2C电子商务网站建设。

网站后台截图:

center1

center2

center3

[成功案例]启智网QEEZEE.COM

2010年10月29日 管理员 没有评论

启智网:启发智慧,陪伴成长!——专营品牌益智玩具、早教与幼教用品、图书、音像等…

网站地址:http://www.qeezee.com

qeezee

分类: 成功案例 标签: ,

[成功案例]青岛万色品尚VANCELLE.NET

2010年4月30日 biaoest 没有评论

万色品尚 – 享受个性,时尚,快乐网购新生活!时尚女包, 家居鞋,精品配饰,礼品,家纺用品,家居女装等购物商城
网站地址:http://www.vancelle.net

vancelle

vancelle_sub

[成功案例]唯色通讯520UP.COM.CN

2010年4月30日 biaoest 1 条评论

唯色通讯—专业服务 为你做到

网站地址:http://www.520up.com.cn

520up

520up_news

分类: 成功案例 标签: ,

extjs 最好理解类和控件的监听触发和拦截,小实例一只

2010年3月26日 crosstime 没有评论

Person = function(name){
 this.name = name;
 this.addEvents(’walk’, ‘eat’, ’sleep’);
}
Ext.extend(Person, Ext.util.Observable, {
 info: function(event){
  return this.name + “is” + event + ‘ing’;
 }
});

var person = new Person(’Ziv’);
person.on(’walk’, function(){
 Ext.Msg.alert(’event’, this.name + ‘在走啊走啊’);
});
person.on(’eat’, function(){
 Ext.Msg.alert(’event’, this.name + ‘在吃东西呢’);
});

//————– 第二章 ——————————-

Ext.onReady(function(){
 Ext.get(’test’).on({
 ’click’: {
  fn:  fn
 },
 ’mouseover’:{
  fn:  fn,
  delay: 100,
  single: true
 }
 });
 
 Ext.get(’link1′).on(’click’, function(){
  Ext.util.Observable.capture(person, function(){
   alert(’capture1′);
   return false;
  });
 });
 
 Ext.get(’link2′).on(’click’, function(){
  Ext.util.Observable.releaseCapture(person);
 });
});

var fn = function(e, el, args){
 person.fireEvent(’walk’);
}

 

//继承Observable  目的, 在于实现一个支持事件的对象。Observable 位于Ext组件的最顶端,为组件的事件处理提供最基础功能

分类: PHP+MYSQL 标签:

解决ie6png格式bug

2009年11月29日 hongsite 没有评论

    PNG(Portable Network Graphics)格式图片可以表现更为绚丽多彩的颜色,常见的一些具有矢量效果的图片、图标都采用png格式,但是具有透明背景的png格式图片在IE6中却不是背景透明的,透明背景部分会显示出#DBEAED的淡灰色,表现效果很糟糕,为了使用透明背景图片只有采用gif格式了,但是gif格式会出现明显的锯齿效果,所以只有设法修复IE6的这个问题。解决的办法就是使用IE的Microsoft.AlphaImageLoader滤镜。

    如果希望使用png格式图片作为DOM元素的背景,那么就可以使用滤镜来加载png图片:
    css代码:.png{background: url(images/angel.png) no-repeat !important;_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=”images/angel.png”);background:none;  width:100px;height:100px;}
    HTML代码:<div class=”png”>背景PNG透明</div>

    如果png格式的图片不是用来做元素背景,而是直接引入的img图像,那么此时可以把此img标签的src属性替换为一张空的透明gif图像,然后再把png图片加载为元素的背景就可以了。首先要准备一张空白透明的gif图片,一般命名为blank.gif(可自己另起名字),然后就可以替换png图像了。但是手工替换不太现实,最好一段代码就解决问题:
    css代码:
    .mypng img {
      azimuth: expression(
         this.pngSet?this.pngSet=true:
       (this.nodeName == “IMG” &&  this.src.toLowerCase().indexOf(’.png’)>-1?
      (this.runtimeStyle.backgroundImage = “none”,
      this.runtimeStyle.filter = “progid:DXImageTransform.Microsoft.AlphaImageLoader(src=’” + this.src + “‘,sizingMethod=’image’)”,
      this.src = “blank.gif”)
      :  (this.origBg = this.origBg?
      this.origBg
      :this.currentStyle.backgroundImage.toString().replace(’url(”‘,”).replace(’”)’,”),
      this.runtimeStyle.filter = “progid:DXImageTransform.Microsoft.AlphaImageLoader(src=’” + this.origBg + “‘, sizingMethod=’crop’)”,
      this.runtimeStyle.backgroundImage = “none”)),
      this.pngSet=true);
    }
    html代码:<div class=”mypng”><img src=”图片路径” /></div>

分类: DIV+CSS 标签:

Android1.6手势识别

2009年11月26日 chrisho 没有评论

很高兴能在Android1.6的sdk看到手势识别这一功能,之前一直在想,如何在android中实现nds游戏那样用手势(准确点应该是笔势)来控制游戏角色?现在总算看到一点曙光了,不过手势要做到笔势那样随心所欲地控制游戏人物,还有很多细节问题需要处理。

    在Android1.6的模拟器里面预装了一个叫Gestures Builder的程序,这个程序就是让你创建自己的手势的(Gestures Builder的源代码在sdk问samples里面有,有兴趣可以看看)。创建的手势将被保存到/sdcard/gestures里面,把这个文件复制到你的工程/res/raw下,你就可以在你的工程里面使用这些手势了。复制到/res/raw下的手势是只读的,也就是说你不能修改或增加手势了,如果想实现增改的话,可以直接加载sd卡里面的gestures文件。

    在例子中,我创建了这样的手势:

53068318-4f51-33ef-810c-b431d066fd80

第二步:在layout里面创建GestureOverlayView,这个透明的view就是让你在上面画手势用的,可以叠在其他View上面:

 <?xml version=”1.0″ encoding=”utf-8″?>
<LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android
    android:orientation=”vertical”
    android:layout_width=”fill_parent”
    android:layout_height=”fill_parent”
    >
<TextView 
    android:layout_width=”fill_parent”
    android:layout_height=”wrap_content”
    android:text=”@string/hello”
    />
<android.gesture.GestureOverlayView
    android:id=”@+id/gestures”
    android:layout_width=”fill_parent”
    android:layout_height=”0dip”
    android:layout_weight=”1.0″
    />
</LinearLayout>

第三步:载入Gesture:

mLibrary = GestureLibraries.fromRawResource(this, R.raw.gestures);
        if (!mLibrary.load()) {
            finish();
        }

第四步:增加响应函数OnGesturePerformedListener

GestureOverlayView gestures = (GestureOverlayView) findViewById(R.id.gestures);
        gestures.addOnGesturePerformedListener(this);

以上四步就可以实现简单的Gesture识别原型了:

程序运行结果如下,书写一个a字,程序识别出,然后toast一个a出来:

 a0644667-f71b-39bf-aaeb-d76f1552c614

完整代码如下:

package com.ray.test;

import java.util.ArrayList;

import android.app.Activity;
import android.gesture.Gesture;
import android.gesture.GestureLibraries;
import android.gesture.GestureLibrary;
import android.gesture.GestureOverlayView;
import android.gesture.Prediction;
import android.gesture.GestureOverlayView.OnGesturePerformedListener;
import android.os.Bundle;
import android.widget.Toast;

public class TestGesture extends Activity implements OnGesturePerformedListener{

 GestureLibrary mLibrary;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        GestureOverlayView gestures = (GestureOverlayView) findViewById(R.id.gestures);
        gestures.addOnGesturePerformedListener(this);
        mLibrary = GestureLibraries.fromRawResource(this, R.raw.gestures);
        if (!mLibrary.load()) {
            finish();
        }
    }

 @Override
 public void onGesturePerformed(GestureOverlayView overlay, Gesture gesture) {
  ArrayList predictions = mLibrary.recognize(gesture);

     // We want at least one prediction
     if (predictions.size() > 0) {
         Prediction prediction = (Prediction) predictions.get(0);
         // We want at least some confidence in the result
         if (prediction.score > 1.0) {
             // Show the spell
             Toast.makeText(this, prediction.name, Toast.LENGTH_SHORT).show();
         }
     }
  
 }
}

文章参考了android博客上面的这篇文章: http://feedproxy.google.com/~r/blogspot/hsDu/~3/Rrgh3YnIqig/gestures-on-android-16.html

分类: 移动终端 标签:

关于工作室

2009年11月7日 管理员 1 条评论

广州萌芽工作室(Guangzhou Seed Studio)是一个专注于广州以及珠江三角洲PHP+MYSQL系统外包开发的专业团队,专业于广州PHP开发、广州网站建设、广州PHP培训、广州PHP外包、广州OA定制。

工作室业务:网站设计、程序优化、网站建设、网站设计、项目外包、服务外包、网站优化、办公系统、系统安全。

我们专注定制PHP+MYSQL高负载网络商城系统、行业门户网站、分类信息系统、B2B系统、B2C系统、企业文档管理系统、百科系统、企业门户网站………

电话:020-85524025

 手机:13480261415

 EMAIL:biaoest@gmail.com

 OICQ :190885451

 MSN:biaoest@hotmail.com

地址:广州天河工业园华翠街58号1704

网址:http://www.gzseed.com