Reputation: 3925
This is the first time I have seen this code:
<div id="extruderLeft" class="{title:'Our network ', url:'parts/extruderLeft.html'}"></div>
<div id="extruderLeft1" class="a {title:'Leyenda', url:'parts/extruderLeft1.html'}"></div>
Is a jquery Plugin, I´m sure that is a HTML constructor, the plugin is called here:
<script>
$("#extruderLeft1").buildMbExtruder({
position:"left",
width:300,
extruderOpacity:.8,
onExtOpen:function(){},
onExtContentLoad:function(){},
onExtClose:function(){}
});
</script>
Is it good practice?
Thank you very much!
Upvotes: 3
Views: 106
Reputation: 133403
As you are specifying an example of jquery.mb.extruder plugin, You should go through its official docs, it is HTML constructor.
Upvotes: 1