Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- width:expression(document.body.clientWidth > 800? "800px": "auto" );
- body {
- behavior:url(script.htc);
- }
- <PUBLIC:COMPONENT TAGNAME="xss">
- <PUBLIC:ATTACH EVENT="ondocumentready" ONEVENT="main()" LITERALCONTENT="false"/>
- </PUBLIC:COMPONENT>
- <SCRIPT>
- function main()
- {
- alert("HTC script executed.");
- }
- </SCRIPT>
- body {
- -moz-binding: url(script.xml#mycode);
- }
- <?xml version="1.0"?>
- <bindings xmlns="http://www.mozilla.org/xbl" xmlns:html="http://www.w3.org/1999/xhtml">
- <binding id="mycode">
- <implementation>
- <constructor>
- alert("XBL script executed.");
- </constructor>
- </implementation>
- </binding>
- </bindings>
- document.getElementById("myp").style.color = "#336699";
- <p id="myp">This is my story. This is my song.</p>
- $("p#myp").css("color","#336699");
- width:expression(document.body.clientWidth > 955 ? "955px": "100%" );
- body
- {
- margin: 0px;
- font-family: Verdana;
- background-color: #cccccc;
- background-image: url('<?php
- echo 'images/flag_bg/' . $user_country . '.png';
- ?>');
- }
- body
- {
- background-color: <?php echo $user_theme['BG_COLOR']; ?>;
- color: <?php echo $user_theme['COLOR']; ?>;
- font-family: <?php echo $user_theme['FONT']; ?>;
- }
- #panel
- {
- font-size: <?php echo $user_theme['FONT_SIZE']; ?>;
- background-image: <?php echo $user_theme['PANEL_BG']; ?>;
- }
Add Comment
Please, Sign In to add comment