/    Sign up×
Community /Pin to ProfileBookmark

Help! Rollover problems

Hi,

I’ve designed a site containing rollovers (the left hand menu bar on [url]www.tcrsearch.co.uk)[/url]. They work fine offline and uploaded on my server space, but not unfortunately not on the server space of my client. Can anybody help – unfortunately I was unable to upload the site myself as, owing to security, I wasn’t allowed the ftp details. Does it suggest a problem at upload?

thanks to anybody who can help

Alex

to post a comment
JavaScript

8 Comments(s)

Copy linkTweet thisAlerts:
@FangJan 10.2006 — The JavaScript is all on 1 line; the comment line. You have commented it out!
Copy linkTweet thisAlerts:
@AlmcleodauthorJan 10.2006 — Hi Fang,


thanks for your reply

I did notice the code had all gone on to 1 line - wasn't sure why. On my server it appears as it should and the rollovers work. Is this happening when the client uploads do you think as it seems odd it should appear correct on my server (and the code displays as it should) and not on the clients?


Alex
Copy linkTweet thisAlerts:
@FangJan 10.2006 — Possibly some compression tool has been used on the JavaScript.

Just remove the commenting characters from the JavaScript and get the client to upload again.
Copy linkTweet thisAlerts:
@AlmcleodauthorJan 10.2006 — thanks Fang,

Apologies, as I'm new to web design, but what is the 'commenting'?
Copy linkTweet thisAlerts:
@FangJan 10.2006 — In red:<script type="text/javascript">
[COLOR=red]<!--
-->[/COLOR]
</script>

In your case:<i>
</i>&lt;script language="JavaScript" type="text/JavaScript"&gt;[COLOR=red]&lt;!--[/COLOR]function MM_swapImgRestore() ... bla ... x.src=a[i+2];}}[COLOR=red]//--&gt;[/COLOR]&lt;/script&gt;

The JavaScript may still not work correctly because it is all on 1 line, unless it was written correctly!
Copy linkTweet thisAlerts:
@AlmcleodauthorJan 10.2006 — I can't seem to see anything in your reply.
Copy linkTweet thisAlerts:
@FangJan 10.2006 — Any clearer in red?
Copy linkTweet thisAlerts:
@AlmcleodauthorJan 10.2006 — I think it may be our old work Browser not displaying properly as I can't see any text. I'll check this at home when I get back. Thanks a lot for your help - I appreciate it.
×

Success!

Help @Almcleod 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.19,
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,
)...