Difference between revisions of "Demo homepage"

From evidyaloka
Jump to: navigation, search
Line 7: Line 7:
  
 
<htmltag tagname="script" type="text/javascript">
 
<htmltag tagname="script" type="text/javascript">
var comboBox = new OO.ui.ComboBoxWidget( {
+
{{Drop down list|Name=Name|Value1=[[Hello]]|Value2=[[Wikipedia|'pedia]]|Value3=[https://www.google.co.in/ Google]|Value4=|Value5=|Value6=|Value7=|Value8=|id=Example}}
label: 'ComboBoxWidget',
+
menu: {
+
items: [
+
new OO.ui.MenuOptionWidget( {
+
data: 'Option 1',
+
label: 'Option One'
+
} ),
+
new OO.ui.MenuOptionWidget( {
+
data: 'Option 2',
+
label: 'Option Two'
+
} ),
+
new OO.ui.MenuOptionWidget( {
+
data: 'Option 3',
+
label: 'Option Three'
+
} ),
+
new OO.ui.MenuOptionWidget( {
+
data: 'Option 4',
+
label: 'Option Four'
+
} ),
+
new OO.ui.MenuOptionWidget( {
+
data: 'Option 5',
+
label: 'Option Five'
+
} )
+
]
+
}
+
} );
+
$( document.body ).append( comboBox.$element );
+

Revision as of 04:43, 22 December 2022

Evidyaloka Welcomes you!!