473,320 Members | 1,991 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

changing font in this java script ? (c/with webpage reference)

Could someone be kind enough to tell me how I could change the coding (see
below) if I want to change the font and the sixe of the font of the
description, which appears after mouse-over event (replacing "SchoolSpace)?
I would like comicsans (because it can be read by primary students.)

Here is the link to my website: http://www.members.shaw.ca./SchoolSpace/

Thanks

P.
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Danny Mc Neill (da***@mc-neill.co.uk) -->
<!-- Web Site: http://www.mc-neill.co.uk -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var description = new Array();
description[0] = "Text shown when visitors mouse over the first link.";
description[1] = "You can even embed <b>HTML</b> into the link
description.";
description[2] = "<i>Text shown when visitors mouse over the third
link.</i>";
// End -->
</script>
</HEAD>

<!-- STEP TWO: Copy this code into the BODY of your HTML document -->

<BODY>

<center>
<table border="0">
<tr>
<td valign=top width="160">
<ul>
<li><a onMouseOver="Words.innerHTML = description[0];"
href="link1.htm">First Link</a>
<li><a onMouseOver="Words.innerHTML = description[1];"
href="link2.htm">Second Link</a>
<li><a onMouseOver="Words.innerHTML = description[2];"
href="link3.htm">Third Link</a>
</ul>
</td>
<td width="600">
<!-- Cell with the descriptions -->
<a id="Words">This will be the info that visiters will see first it is
changed when they mouseover the links. It returns when the page is
reloaded.</a>
</td>
</tr>
</table>
</center>

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size: 1.51 KB -->
Apr 8 '06 #1
2 1393

Could someone be kind enough to tell me how I could change the coding (see
below) if I want to change the font and the sixe of the font of the
description, which appears after mouse-over event (replacing "SchoolSpace)? I would like comicsans (because it can be read by primary students.)

Here is the link to my website: http://www.members.shaw.ca./SchoolSpace/

Thanks

P.
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Danny Mc Neill (da***@mc-neill.co.uk) -->
<!-- Web Site: http://www.mc-neill.co.uk -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var description = new Array();
description[0] = "Text shown when visitors mouse over the first link.";
description[1] = "You can even embed <b>HTML</b> into the link
description.";
description[2] = "<i>Text shown when visitors mouse over the third
link.</i>";
// End -->
</script>
</HEAD>

<!-- STEP TWO: Copy this code into the BODY of your HTML document -->

<BODY>

<center>
<table border="0">
<tr>
<td valign=top width="160">
<ul>
<li><a onMouseOver="Words.innerHTML = description[0];"
href="link1.htm">First Link</a>
<li><a onMouseOver="Words.innerHTML = description[1];"
href="link2.htm">Second Link</a>
<li><a onMouseOver="Words.innerHTML = description[2];"
href="link3.htm">Third Link</a>
</ul>
</td>
<td width="600">
<!-- Cell with the descriptions -->
<a id="Words">This will be the info that visiters will see first it is
changed when they mouseover the links. It returns when the page is
reloaded.</a>
</td>
</tr>
</table>
</center>

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size: 1.51 KB -->

Apr 8 '06 #2

news:nrTZf.9751$gO.3172@pd7tw3no...
Could someone be kind enough to tell me how I could change the coding (see
below) if I want to change the font and the sixe of the font of the
description, which appears after mouse-over event (replacing "SchoolSpace)? I would like comicsans (because it can be read by primary students.)

Here is the link to my website: http://www.members.shaw.ca./SchoolSpace/

Thanks

P.
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Danny Mc Neill (da***@mc-neill.co.uk) -->
<!-- Web Site: http://www.mc-neill.co.uk -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var description = new Array();
description[0] = "Text shown when visitors mouse over the first link.";
description[1] = "You can even embed <b>HTML</b> into the link
description.";
description[2] = "<i>Text shown when visitors mouse over the third
link.</i>";
// End -->
</script>
</HEAD>

<!-- STEP TWO: Copy this code into the BODY of your HTML document -->

<BODY>

<center>
<table border="0">
<tr>
<td valign=top width="160">
<ul>
<li><a onMouseOver="Words.innerHTML = description[0];"
href="link1.htm">First Link</a>
<li><a onMouseOver="Words.innerHTML = description[1];"
href="link2.htm">Second Link</a>
<li><a onMouseOver="Words.innerHTML = description[2];"
href="link3.htm">Third Link</a>
</ul>
</td>
<td width="600">
<!-- Cell with the descriptions -->
<a id="Words">This will be the info that visiters will see first it is
changed when they mouseover the links. It returns when the page is
reloaded.</a>
</td>
</tr>
</table>
</center>

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size: 1.51 KB -->

Apr 8 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jeff | last post by:
Hi, Are there anyone can help me? My questions are as following: Because I have a tools bar which coding with javascript, it will reuse very often. So I want to separate the client-side java...
2
by: Alex Smith | last post by:
Hi Friends, I want to know, how we can write java script in .net window application ?? In Web application we can write java script with use OnClientClick. and we can also defila...
2
by: Paul | last post by:
Hi I have some code and java script, when the page initially loads I want it to have focus on dr_tx_names. This works. The page loads a second time with a dropdown selection and in the code...
7
by: GS | last post by:
we are using the following script for cursor to goto default position, is this script is java script or not?. can somebody tell me. I got this script from Internet, our client told us not to use...
3
by: tikepatel | last post by:
Hello, I want to use javascript to insert data in sql server so anybody can help me how can it be possible....??? Thanks.
1
by: Nitinkcv | last post by:
Hi, i have my button actually inside a repeater and it validates info from textboxes and ddl inside the repeater.. The prob is that i have "SELECT VALUE" chosen as the default value in my ddl. so...
4
by: karthiknd | last post by:
hi everyone , i need a script which copy folder from one system and has to be replaced in server folder which is in another system. This java script has to be called in asp.net...
2
by: poornimanithya76 | last post by:
Hi, I am having grid view an my page which is having template fields(text box, check box and drop down).If user clicks on check box i need to consider text box and drop down as a required fields.i...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.