/    Sign up×
Community /Pin to ProfileBookmark

refresh desktop

Hi

The code below works fine but… I was hoping to use it as a desktop and it falls over on the refresh (can’t find server) – so you can’t change the message blah blah. Any ideas for a fix / alternative would be much appreciated
Regards

IanI


——————————————————————

<HTML>
<HEAD>
<SCRIPT LANGUAGE=”JavaScript”>
<!– hide from old browsers
var msg = prompt(“Type tour message here”,””);

function scrollMsg(){

document.scrollerForm.welcomeMsg.value = msg
msg = msg.substring(1, msg.length) + msg.substring(0, 1)
setTimeout(“scrollMsg()”, 150)
}

function refresh()
{
window.location.reload( false );
}

//–>
</SCRIPT>
</HEAD>

<BODY ONLOAD=”scrollMsg()”>

<TABLE WIDTH=”100%” HEIGHT=”100%” BGCOLOR=”#99CCFF”>
<TR><TD ALIGN=”RIGHT” VALIGN=”TOP”>
<FORM NAME=”scrollerForm”>
<INPUT TYPE=”text” NAME=”welcomeMsg” VALUE=”” size=75>

<a href=”javascript:refresh()”>Change the message</a>

</TD>
</TR>
</TABLE>

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@videopoetauthorJan 24.2003 — Actually it does work, but only if you refresh the desktop by right clicking. Thanks anyway.....

IanI
×

Success!

Help @videopoet 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 5.18,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...