/    Sign up×
Community /Pin to ProfileBookmark

Mouseover and text

Hello All,

I’m basically trying to run a script within a script. I’ll try to explain what I’m trying to do.

I have a calendar page. At first, I had a mouseover/mouseout effect. When someone mouseover a certain day, text would change in the main text cell. When they mouseout, the offMessage text would display again. It works fine.
Like this: [url]http://www.mystic-meadows.net/calendar-no%20layer.html[/url]

Code:
<script language=”JavaScript1.2″>
offMessage = “<div class=quote>&quot;Come fill this cup and in the fire of Spring,<br>the winter garment of repentance fling&#133;&quot;<br>- Edward Fitzgerald</div>”

function boxOn(which,message){
if (document.all||document.getElementById){
which.className=’BorderOn’
if (document.getElementById) {document.getElementById(“Message”).innerHTML = message}
else {Message.innerHTML = message}
}
}
function boxOff(which){
if (document.all||document.getElementById){
which.className=’BorderOff’
if (document.getElementById) {document.getElementById(“Message”).innerHTML = offMessage}
else {Message.innerHTML = offMessage}
}
}
</script>

Now, I have the calendar pulling four external scripts. Showing information for the current month, sometimes it changes daily. It works fine, but no mouse effects.
Like this: [url]http://www.mystic-meadows.net/calendar.html[/url]

I would like it to display the current month/day information from the external script on mouseout, instead of the offMeasage. If possible, all of this from external scripts.

Any help will be grateful,
Hollice[COLOR=firebrick]Code:[/COLOR]

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @Hollice spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...