I got this link:
<a href='#' class='osx'>Demo</a>
How can I load that class instantly if the page loads?
Now I need to hit the link....
Thanks in advance!
Posted 21 January 2012 - 09:58 AM
Posted 21 January 2012 - 10:08 AM
<html>
<head>
<style type="text/css">
.osx {
/*Here are the styles for the link */
}
/* or you could do */
a .osx {
/* styles here */
}
</style>
</head>
<body>
<a href='#' class='osx'>Demo</a>
</body>
</html>
<link href="styles.css" rel="stylesheet" type="text/css" />
Posted 21 January 2012 - 10:48 AM
xxxjj18, on 21 January 2012 - 10:08 AM, said:
<html>
<head>
<style type="text/css">
.osx {
/*Here are the styles for the link */
}
/* or you could do */
a .osx {
/* styles here */
}
</style>
</head>
<body>
<a href='#' class='osx'>Demo</a>
</body>
</html>
<link href="styles.css" rel="stylesheet" type="text/css" />
<link type='text/css' href='css/osx.css' rel='stylesheet' media='screen' /> <script type='text/javascript' src='js/jquery2.js'></script> <script type='text/javascript' src='js/jquery.simplemodal.js'></script> <script type='text/javascript' src='js/osx.js'></script> <input type='button' name='osx' value='Demo' id='osx' class='osx demo'/> <div id="osx-modal-content"> <div id="osx-modal-title">Welcome!</div> <div class="close"><a href="#" class="simplemodal-close">close</a></div> <div id="osx-modal-data"> <button class="simplemodal-close">Close</button> <span>(or ESC)</span></p> </div> </div> </div>
