Useful HTML content
Page 1 of 1
Useful HTML content
Hello again
If you've had a look at the graphical layout included with the BMS Link project there's some HTML content at the top left.
I've used this to define a 'style' and some 'javascript', which is then used within the graphical view.
You can do the same to create all sorts of HTML content.
Javascript
tog_ctrl(id) - you can use this function within your server side scripts to toggle the visibility of your pop up controls.
<script type='text/javascript'>
<!--
function tog_ctrl(id) {
var e = document.getElementById(id);
if(e.style.display == 'block')
e.style.display = 'none';
else
e.style.display = 'block';
}
//-->
</script>
Style
Here, i define a class called 'label', which i then use to more easily to render the room names.
<style>
.label {
display: table-cell;
width:90px;
height:16px;
border:1px;
background-color:#F2F2F2;
font-size:11px;
text-align: center;
vertical-align: middle;
border: 1px solid black;
}
</style>
If you've had a look at the graphical layout included with the BMS Link project there's some HTML content at the top left.
I've used this to define a 'style' and some 'javascript', which is then used within the graphical view.
You can do the same to create all sorts of HTML content.
Javascript
tog_ctrl(id) - you can use this function within your server side scripts to toggle the visibility of your pop up controls.
<script type='text/javascript'>
<!--
function tog_ctrl(id) {
var e = document.getElementById(id);
if(e.style.display == 'block')
e.style.display = 'none';
else
e.style.display = 'block';
}
//-->
</script>
Style
Here, i define a class called 'label', which i then use to more easily to render the room names.
<style>
.label {
display: table-cell;
width:90px;
height:16px;
border:1px;
background-color:#F2F2F2;
font-size:11px;
text-align: center;
vertical-align: middle;
border: 1px solid black;
}
</style>
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|