/    Sign up×
Community /Pin to ProfileBookmark

Ajax and Scripts not working

Hi,

I have two problems. 1 is i have two scripts in my webpage and when the script rollover.js is on the script pages.js dsnt work.

The second issue is i can get the ajax script pages.js to work in firefox but it dsnt work in IE7

please help. here is the page.. [url]www.boduashi.org/dc[/url]

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@FangApr 12.2008 — Combine the onload events:window.onload = function() {
showPreview();
initAll();
}
Copy linkTweet thisAlerts:
@dcsauthorApr 12.2008 — if i do this i have to merge the two scripts right ? i want to handle it separately so that it will be easy to work. and also my rollover images is gettin too long to load... is there a way to preload them.
Copy linkTweet thisAlerts:
@FangApr 12.2008 — if i do this i have to merge the two scripts right ?[/QUOTE] Noi want to handle it separately so that it will be easy to work.[/QUOTE]You just have to combine the onloads and also my rollover images is gettin too long to load... is there a way to preload them.[/QUOTE]Preloading Images
Copy linkTweet thisAlerts:
@dcsauthorApr 13.2008 — i have use the script to load as the way you have directed but it seems its not working. can you help me in the ajax part .. i think i have to fix the script first so that i can make them both work .. y aint the ajax not working ?
Copy linkTweet thisAlerts:
@dcsauthorApr 13.2008 — i have manage to make the ajax work .. it seems that firefox beta 2 works differently. before i had it work with xhr status 200 but it was returning 0 so i remove the validation for status. now i need the pre-load and to make two scripts to work.
×

Success!

Help @dcs 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.17,
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,
)...