推 darkk6:為什麼 start 一定寫在裡面呢? 10/28 16:42
推 terrybob:同意1樓,start寫在外面,然後在ready裡面去呼叫start(); 10/28 17:06
→ robinnpca:因為裡面有一堆jquery function想等載入後再執行funtion 10/28 17:13
→ robinnpca:所以放在裡面...因為放在外面的話就怕jquery尚未載入就 10/28 17:14
→ robinnpca:執行 10/28 17:14
推 elliot79313:不用擔心=),他會載入完才執行ready內的內容 10/28 17:16
※ 編輯: robinnpca 來自: 118.233.4.123 (10/28 21:05)
→ robinnpca:我要先執行ready再執行外面的程式..順序剛好不一樣勒! 10/28 21:06
※ 編輯: robinnpca 來自: 118.233.4.123 (10/28 23:27)
※ 編輯: robinnpca 來自: 118.233.4.123 (10/28 23:28)
推 darkk6:所以你的目的是不要 top.inner() 能夠執行這個 function ? 10/29 00:01
→ robinnpca:1.子頁想用top.inner去操控ready內的inner 但是不行 10/29 19:00
→ robinnpca:2退而求其次top.out1()可以,然後out1()想去啟動inner() 10/29 19:01
→ robinnpca:後面這out1()去啟動inner()不知怎麼做 10/29 19:01