(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    Is there a way to set the default java tab showing on a page load?

Return to Recent Questions


Q: When using the Deluxe-Tabs, the second tab seems to be the first selected tab when displaying tabs in a page. Is there a way to set the default tab showing on a page load?


A: You should use the following parameter:

var bselectedItem = 3;

Where 3 is the number of your menu item from the var bmenuItems parameter.
var bmenuItems =
[
["Mac Tab 1", "content1"],
["Mac Tab 2", "content2"],
["Mac Tab 3", "content3"],
["Mac Tab 4", "content4"], // selected tab

];
The ID of the item starts with 0.
Try that.





Return to Recent Questions

Top 54 Brand New jQuery Themes List 46 Fantastic CSS3 Web Page Templates Overview  |  Best 46 Fresh CSS Themes Collection  |  Top 41 Wonderful CSS3 Templates Collection  |  AMP Mobile Page Template Review  |  Perfect Responsive JS Website Templates Review  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | AI Website Builder | Best AI Website Builder | AI Website Builder | AI Website Maker