/    Sign up×
Community /Pin to ProfileBookmark

Javascript #@$&*#% up my site!

I have a poll on a website I created. I commissioned someone to create the poll for me. It is cgi-perl based. I did want a pop up window to open when someone took the poll to thank them or tell them they can’t vote more than once. In order to do all that the person who made it gave me a javascript to insert the poll into my web pages.

<script src=”/cgi-bin/poll.cgi?disp” type=”text/javascript”></script>

Now this script is making my pages wait to appear until everything is loaded, all pictures and everything. I see a blank white page for seconds then the entire web page pops up complete.

Why? What can be done about it?

The person who created the poll suggests server-side-includes to remedy this situation, but I am skeptical at this point.

Could someone help me with this?

Thanks,
Denise

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@AdamGundryMay 24.2004 — Server-side includes or some other server-based method of including the content would be a much better solution. It doesn't require the user to have Javascript and should avoid the delay.

You can find out how to use PHP or SSI for includes [url=http://webdevfaqs.com/php.php#include]here[/url].

Adam
Copy linkTweet thisAlerts:
@DeniseHauthorMay 24.2004 — Thanks for the help.

Denise
×

Success!

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