|
|
|
รบกวนสอบถามเรื่อง Sothink DHTML Menu อยากให้เป็นแบบ onClick ครับ |
|
|
|
|
|
|
|
ไม่เอาโค้ดที่เขียนมาวางล่ะครับ คนอื่นจะได้ช่วยได้ครับ
|
|
|
|
|
Date :
2013-12-23 14:50:07 |
By :
WiTT |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
โทษทีครับ นี่เป็นโค้ดคับ
Code
<script id=\"sothink_widgets:dwwidget_dhtmlmenu10_7_2013.pgt\" type=\"text/javascript\">
<!--
stm_bm([\"menu636a\",960,\"\",\"images/blank.gif\",0,\"\",\"\",0,0,250,0,1000,1,0,0,\"\",\"\",0,0,1,2,\"default\",\"hand\",\"\",1,25],this);
stm_bp(\"p0\",[0,4,0,0,0,0,0,0,100,\"\",-2,\"\",-2,50,0,0,\"#999999\",\"transparent\",\"\",3,0,0,\"#000000\"]);
stm_ai(\"p0i0\",[2,\"\",\"images/menu01_01.png\",\"images/menu01_02.png\",61,88,0,\"\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#E6EFF9\",1,\"#FFD602\",1,\"\",\"\",3,3,0,0,\"#E6EFF9\",\"#000000\",\"#000000\",\"#000000\",\"8pt Verdana\",\"8pt Verdana\",0,0,\"\",\"\",\"\",\"\",0,0,0]);
stm_bpx(\"p1\",\"p0\",[1,4,0,0,0,0,80]);
stm_aix(\"p1i0\",\"p0i0\",[0,\""._CATE_01."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=1\",\"_self\",\"\",\"\",\"images/bullet01.png\",\"images/bullet01.png\",80,65,0,\"\",\"\",0,0,0,0,1,\"#E6EFF9\",0,\"#FFD602\",1,\"images/sub01.png\",\"images/sub02.png\",3,3,0,0,\"#E6EFF9\",\"#000000\",\"#FFFFFF\",\"#00FFFF\",\"25pt Tahoma\",\"25pt Tahoma\"],500,0);
stm_aix(\"p1i1\",\"p1i0\",[0,\""._CATE_02." \",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=2\",\"_self\",\"\",\"\",\"images/bullet02.png\",\"images/bullet02.png\",80,65,0,\"\",\"\",0,0,0,0,1,\"#E6EFF9\",0,\"#FFD602\",0]);
stm_aix(\"p1i2\",\"p1i1\",[0,\""._CATE_03."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=3\",\"_self\",\"\",\"\",\"images/bullet03.png\",\"images/bullet03.png\"]);
stm_aix(\"p1i3\",\"p1i1\",[0,\""._CATE_04."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=4\",\"_self\",\"\",\"\",\"images/bullet04.png\",\"images/bullet04.png\"]);
stm_aix(\"p1i4\",\"p1i1\",[0,\""._CATE_05."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=5\",\"_self\",\"\",\"\",\"images/bullet05.png\",\"images/bullet05.png\"]);
stm_aix(\"p1i5\",\"p1i1\",[0,\""._CATE_06."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=6\",\"_self\",\"\",\"\",\"images/bullet06.png\",\"images/bullet06.png\"]);
stm_aix(\"p1i6\",\"p1i1\",[0,\""._CATE_07."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=7\",\"_self\",\"\",\"\",\"images/bullet07.png\",\"images/bullet07.png\"]);
stm_aix(\"p1i7\",\"p1i1\",[0,\""._CATE_08."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=8\",\"_self\",\"\",\"\",\"images/bullet08.png\",\"images/bullet08.png\"]);
stm_aix(\"p1i8\",\"p1i1\",[0,\""._CATE_09."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=9\",\"_self\",\"\",\"\",\"images/bullet09.png\",\"images/bullet09.png\"]);
stm_aix(\"p1i9\",\"p1i1\",[0,\""._CATE_10."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=10\",\"_self\",\"\",\"\",\"images/bullet10.png\",\"images/bullet10.png\"]);
stm_aix(\"p1i10\",\"p1i1\",[0,\""._CATE_11."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=11\",\"_self\",\"\",\"\",\"images/bullet11.png\",\"images/bullet11.png\"]);
stm_aix(\"p1i11\",\"p1i1\",[0,\""._CATE_12."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=12\",\"_self\",\"\",\"\",\"images/bullet12.png\",\"images/bullet12.png\"]);
stm_aix(\"p1i12\",\"p1i1\",[0,\""._CATE_13."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=13\",\"_self\",\"\",\"\",\"images/bullet13.png\",\"images/bullet13.png\"]);
stm_aix(\"p1i13\",\"p1i1\",[0,\""._CATE_14."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=14\",\"_self\",\"\",\"\",\"images/bullet14.png\",\"images/bullet14.png\"]);
stm_aix(\"p1i14\",\"p1i1\",[0,\""._CATE_15."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=15\",\"_self\",\"\",\"\",\"images/bullet15.png\",\"images/bullet15.png\"]);
stm_aix(\"p1i15\",\"p1i1\",[0,\""._CATE_16."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=16\",\"_self\",\"\",\"\",\"images/bullet16.png\",\"images/bullet16.png\"]);
stm_aix(\"p1i16\",\"p1i1\",[0,\""._CATE_17."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=17\",\"_self\",\"\",\"\",\"images/bullet17.png\",\"images/bullet17.png\"]);
stm_aix(\"p1i17\",\"p1i1\",[0,\""._CATE_18."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&cate=18\",\"_self\",\"\",\"\",\"images/bullet18.png\",\"images/bullet18.png\"]);
stm_aix(\"p1i18\",\"p1i1\",[0,\""._PROFILE."\",\"\",\"\",-1,-1,0,\"index.php?op=frmUser&lang=$lang&cate=$cate&module=$module\",\"_self\",\"\",\"\",\"images/bullet19.png\",\"images/bullet19.png\"]);
stm_aix(\"p1i19\",\"p1i1\",[0,\""._FAVORITE."\",\"\",\"\",-1,-1,0,\"index.php?op=showListContent&lang=$lang&module=fav\",\"_self\",\"\",\"\",\"images/bullet21.png\",\"images/bullet21.png\"]);
stm_aix(\"p1i20\",\"p1i1\",[0,\""._LOGOUT."\",\"\",\"\",-1,-1,0,\"index.php?op=chkLogout\",\"_self\",\"\",\"\",\"images/bullet20.png\",\"images/bullet20.png\"]);
stm_ep();
stm_ep();
stm_em();
//-->
</script>
|
|
|
|
|
Date :
2013-12-23 14:52:33 |
By :
Praphus Vannkaow |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
โทษทีนะครับ ดูไม่เข้าใจเลยครับ ผมไม่รู้จริงๆว่าต้องเอาใส่ตรงไหน พอดีกับ sothink ยี้ผมพึ่งเริ่มอ่ะครับ รบกวนด้วยนะครับ
|
|
|
|
|
Date :
2013-12-23 15:45:58 |
By :
Praphus Vannkaow |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ตาม คห. 3 ก็มีตัวอย่างในตัวเลยหน่ะครับ
คลิ๊ก onClick="showFloatMenuAt(menuName, x, y)"
เอาเมาส์วางบน onMouseOver=showFloatMenuAt(menuName, x, y) onMouseOut=hideMenu('menuName');
|
|
|
|
|
Date :
2013-12-23 15:55:22 |
By :
WiTT |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 05
|