RayT
-
Posts
7 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by RayT
-
-
Thanks, but I've trawled the websites and textbooks but cannot find what an external script file looks like! Does it have HTML headers etc?I've tried saving raw javascript code as a .js file and calling from the web page but with no functionality!RayTCan you put javascript in css? noyou could put the javascript in an external script file. -
Working from 'JavaScript for Dummies' I have modified the listing 4-5 to change the font-sizes of a large page of text to small, medium and large. It works well but uses several lines of <script>.....</script> within the header:function changeTheme() { switch(document.myForm.themes.selectedIndex) { case 0: document.getElementById("graf1").style.fontSize="small"; break; case 1: document.getElementById("graf1").style.fontSize="medium"; break; case 2: document.getElementById("graf1").style.fontSize="large"; break; }}Question: can I safely embed this routine within my CSS file? - and if so how? please.
-
DATE capture
in CSS
I'm trying to capture the current date on a form to an e-mail data-export. Obviously end-users can input the date as in the example below - but that is not always reliable and is another task for them to complete. I'm told that it's just a case of defining the variable as with any other form-fields.request=Updatedate=16/04/06title=Mrfirstname=fredsurname=bloggsany help most appreciated,Ray TThanks, help much appreciated - it works!Rt -
DATE capture
in CSS
I'm trying to capture the current date on a form to an e-mail data-export. Obviously end-users can input the date as in the example below - but that is not always reliable and is another task for them to complete. I'm told that it's just a case of defining the variable as with any other form-fields.request=Updatedate=16/04/06title=Mrfirstname=fredsurname=bloggsany help most appreciated,Ray T
-
I've set up a website using FrontPage 2003 and have now decided to try using CSS!!!Obviously experts would say I'm daft but surely others have come to the same situation - Is it possible to easily convert a site to using CSS?
Using DHTML to change appearance
in JavaScript
Posted