Mar
04
2010FBJS Quick Jump Menu for a FBML Facebook Platform App
Tags: Facebook Apps | FBJS | FBMLIn a FBML Facebook App, your quick jump menu will require a little tweak to work in FBJS properly.
Just change your standard js jump menu from:
<select onchange="goto(this.options[this.selectedIndex].value)"> <option value="page.php?id=1">Page1</option> <option value="page.php?id=2">Page2</option> <option value="page.php?id=3">Page3</option> </select>
To this:
<select onchange="document.setLocation(this.getValue());"> <option value="page.php?id=1">Page1</option> <option value="page.php?id=2">Page2</option> <option value="page.php?id=3">Page3</option> </select>
Cheers.
Related posts:
- Redirect Users from Old Facebook App to other FB Application URL using FBML
- Facebook Platform – Secure Page Tab URL will be required on October 1, 2011.
- Fix Facebook Application Error in FBML Canvas Apps: Empty Response Received
- Resolve Facebook “App temporarily unavailable Runtime errors” & FBJS Errors
- What is Facebook Third Party ID and How to Get it using Graph API
Recent Comments
(3 days ago)
(1 weeks ago)
(1 weeks ago)
(1 weeks ago)
(1 weeks ago)
(1 weeks ago)
(1 weeks ago)
(1 weeks ago)
(2 weeks ago)
(2 weeks ago)