gwt anchor tag not anchoring -


ब्राउज़र एंकर को क्यों स्क्रॉल नहीं करता?
url:

  this.anchor1.setName ( "myAnchor1"); this.add (this.anchor1); this.anchor2.setName ( "myAnchor2"); this.add (this.anchor2); this.anchor3.setName ( "myAnchor3"); this.add (this.anchor3);  

क्या ऐसा इसलिए है क्योंकि पेज लदान समाप्त होने के बाद एंकर बनाया गया है, इसलिए ब्राउज़र एंकर को तब तक नहीं देखता है जब इसे स्क्रॉल करने का प्रयास होता है?

इसे आज़माएं:

  this.anchor.setName ("myAnchor"); this.add (this.anchor); Location.hash = '#myAnchor';  

और हाँ, आप सही हैं, पेज लोड के बाद आपका लंगर बनाया गया / डाला गया था, ठीक है .....


Comments

Popular posts from this blog

MySql variables and php -

php - Laravel - Overriding a resource route into a different route filter group -

url rewriting - How to implement the returnurl like SO in PHP? -